I've been reading this article, but still not sure about this situation.
Persistence for Dummies, or "Why can't I find my apps and settings after booting?"
http://wiki.tinycorelinux.net/wiki:persistence_for_dummiesSince HAproxy is not available on TCL 7.2, I've downloaded it manually from TCL 8 repo.
wget http://tinycorelinux.net/8.x/x86/tcz/haproxy.tcz
I've no issue with other apps such as tcpdump.
This is the comparison between tcpdump and haproxy.
user@box:~$ sudo slocate tcpdump
/mnt/sda1/tce/optional/tcpdump.tcz.dep
/mnt/sda1/tce/optional/tcpdump.tcz.md5.txt
/mnt/sda1/tce/optional/tcpdump.tcz
/usr/local/sbin/tcpdump.4.4.0
/usr/local/sbin/tcpdump
/usr/local/share/licences/tcpdump
/usr/local/share/licences/tcpdump/LICENSE
/usr/local/tce.installed/tcpdump
user@box:~$
user@box:~$ sudo slocate haproxy
/home/user/haproxy.tcz
/usr/local/sbin/haproxy
/usr/local/share/man/man1/haproxy.1
/usr/local/tce.installed/haproxy
user@box:~$
user@box:~$ ls -lah /mnt/sda1/tce/optional/ | egrep 'haproxy|tcpdump'
-rw-rw-r-- 1 1001 staff 272.0K Jun 12 16:28 tcpdump.tcz
-rw-rw-r-- 1 1001 staff 24 Jun 12 16:27 tcpdump.tcz.dep
-rw-rw-r-- 1 1001 staff 46 Jun 12 16:28 tcpdump.tcz.md5.txt
user@box:~$
user@box:~$ ls -lah /usr/local/sbin/ | egrep 'haproxy|tcpdump'
lrwxrwxrwx 1 root root 42 Jun 17 11:48 haproxy -> /tmp/tcloop/haproxy/usr/local/sbin/haproxy
lrwxrwxrwx 1 root root 42 Jun 17 11:43 tcpdump -> /tmp/tcloop/tcpdump/usr/local/sbin/tcpdump
lrwxrwxrwx 1 root root 48 Jun 17 11:43 tcpdump.4.4.0 -> /tmp/tcloop/tcpdump/usr/local/sbin/tcpdump.4.4.0
user@box:~$
user@box:~$ ls -lah /usr/local/share/licences/ | egrep 'haproxy|tcpdump'
drwxr-xr-x 2 root root 60 Jun 18 2013 tcpdump/
user@box:~$
user@box:~$ ls -lah /usr/local/tce.installed/ | egrep 'haproxy|tcpdump'
-rw-r--r-- 1 user staff 0 Jun 17 11:48 haproxy
-rw-r--r-- 1 1001 staff 0 Jun 17 11:43 tcpdump
user@box:~$
I notice that haproxy is not in /mnt/sda1/tce/optional/ directory as I downloaded it manually using wget to home directory. However, even if move haproxy.tcz to /mnt/sda1/tce/optional/, it still doesn't change anything.
I still can't make haproxy persistence even though it has already been listed in onboot.lst
user@box:~$ grep haproxy /mnt/sda1/tce/onboot.lst
haproxy.tcz
user@box:~$
Your advise in this matter would be highly appreciated. Thanks