Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: cst on July 02, 2011, 02:48:39 PM
-
hi,
i think, i found a bug during startup: only a specific amount of tcz-extensions will be loaded. i attached my onboot.lst. well, everything starting at putty.tcz is not usable, because it's not copied into ram, buuuuuut listet in /usr/local/tce.installed/. i guess theres a bug?!? i did a workaround (script attachet, too), does anybody know the problem as well?
/cst
btw, i'm sorry for my horrible english.
-
If you boot with "showapps pause", is there anything interesting listed around putty?
-
it's not able to load libcap.so.2, but i used appbrowser to add packages, checked depencies, md5's and everything looks fine. maybe a photo could help: http://www.youfile.net/download.php?file=ede857f01df6eb11ed93cca47e4430bc
-
Coreutils seems broken, thanks for reporting. For time being remove coreutils.tcz from your onboot list.
-
affirmative, without coreutils it'll work.
thanks, curaga!
-
it's not able to load libcap.so.2
Was the libcap extension loaded?
-
Sorry Juanito, my initial guess was wrong. It's due to tce-setup's optimization of not doing ldconfig for every extension, coreutils is fine.
-
@juanito:
yope, i put libcap.tcz on top of list, but that didn't change anything. the message belongs defendly to coreutils' "ls" (i need ls from coreutils -> utf8). after starting with "showapps pause": everything goes fine, but when coreutils.tcz has been loaded, the error message appears... ls was not able to load shared lib libcap.so.2.
-
After loading coreutils, try:
$ sudo ldconfig
Or alternatively, load the libcap extension and then load the coreutils extension separately.
-
@juanito
i did it this way:
- removed coreutils.tcz from list
- added tce-load -i .../optional/corutils.tcz to bootlocal.sh
-
"tce-load" should not be run as root and all commands in bootlocal.sh are run as root - I'm surprised you didn't get an error message (but am not at a tc machine to test).
-
don't worry, uid 0 / root doesn't call tce-load directly. i'm using the "su tc ..." at bootlocal.sh to run tce-load as normal user.
@[any mod]
please, be nice enough to move this thread to tcb bug section - were my fault to drop it here, cos i was not sure it's a bug or not, but it's one.
-
It is important to note that the user has control of the order of loading application extensions.
So per the OP's suggested fix, the easier, temporary, fix is to move coreutils.tcz to the bottom of your onboot.lst.`
Use AppsAudit OnBoot Maintenace or your favorite text editor.
Caveat is if the extension is a dependent. Then the problem would still exist.
The fix to support the recent change in to coreutils.tcz is quite simple and will be addressed.