Tiny Core Base > Release Candidate Testing
Core v4.5rc1
roberts:
CorePlus items updated. Thanks!
SvOlli:
Please re-test the pxe/tftp support:
Since the the desktop is loaded as an extension, I get an error message when booting up with a different user. I looks like the loading and installing is done using the provided user account, but the account will only be created after all tczs are loaded.
Greetings,
SvOlli
curaga:
@SvOlli
see http://forum.tinycorelinux.net/index.php?topic=12722.0
SvOlli:
--- Quote from: curaga on April 14, 2012, 05:22:03 AM ---@SvOlli
see http://forum.tinycorelinux.net/index.php?topic=12722.0
--- End quote ---
Thanks for the hint, but this is only part of the problem: when I specify a user at kernel command line, booting via tftp breaks completely, because an "su $USER -c ..." is done with no existing user, so su fails before handling the tcz. And this did work prior to 4.2.
What would break if the code segment of /etc/init.d/tc-config
--- Code: ---if [ -n "$USER" ]; then
if ! grep "$USER" /etc/passwd >/dev/null; then addUser; fi
else
USER="tc"
fi
--- End code ---
is moved before
--- Code: ---# First process tftp and http entries
modprobe -q squashfs 2>/dev/null
[ -n "$TFTPLIST" ] && get_app "TFTP" $TFTPLIST
[ -n "$HTTPLIST" ] && get_app "HTTP" $HTTPLIST
--- End code ---
?
It would be a fix for the problem I mentioned.
gerald_clark:
tftp/http loading was originally written to load nfs drivers for tce directory on nfs.
It was then extended to support nbd and aoe.
Since these are system rather than user extensions user tc was used.
You want to use it to load user extensions, and that patch looks like it will work and make tftp/http loading more useful.
I suggest you test it, and submit a patch to roberts.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version