-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alexander E. Patrakov wrote: > J. Greenlees wrote: >> 1) when user lfs, the locale settings are not kept from the original >> boot settings. I noticed because with hardware clock set to UTC and >> local time being Pacific time, there was a 7 hour difference in the >> clock. This will affect access and file creation times in a build. >> > > You mean timezone, not locale. However, this is because the LFS book > doesn't cope with hosts that use the TZ environment variable instead of > the /etc/localtime file, because it uses "env -i" and thus cleans the TZ > variable. LiveCD can switch to the /etc/localtime file only "TZ=EDT-4" > boot command line syntax is dropped. One more thing is that even if we > fix this, packages compiled between Chapter5 Glibc and Chapter6 Glibc > will suffer from the issue anyway - Chapter5 glibc (I suppose, but I may > be wrong) uses /tools/etc/localtime that doesn't exist. > > File creation times are kept in UTC, so the different timezone is a > non-issue.
and with user lfs time being a 7 hour difference from system time, remounting the build filesystem after a shutdown causes filesystem errors. "mounting unchecked filesystem, running e2fsck recommended" umount and run e2fsck and errors found and fixed, filesystem changed result report from e2fsck, a note for those who don't have hardware clock set to localtime to add the TZ and LANG to their bash profile to suit their particular case [ in my case: TZ=Canada/Pacific LANG="en_US.UTF-8" ] resolves the date & timestamp issue perfectly. I have tested this over the course of last night. It is only those where hardware clock and system time differ that this happens, when they match [ as when windows is on a system ] this is not an issue at all. > So: WONTFIX. > >> 2) the terminal sessions in xfce are not reading the ~/bash_profile >> so the environment isn't correctly set. by issuing source >> ~/.bash_profile the environment does come back. >> > > The environment is cleaned deliberately in the LFS book. And the shell > in the Xfce terminal is deliberately made a non-login shell, in order > for you to be able to start a new Terminal with the new environment, > completely unrelated to the bash profile. > > So: WONTFIX. >> 3) web browser home page is not the lfs book if you are not root. >> > > Indeed, such settings are copied only to the home directory of root, > while they should go to /etc/skel, too. I suppose that this can be fixed > by copying /root (instead of /lfs-livecd/root) to /etc/skel at the end > of the build, but I will fix it only when I recover from my illness. actually, if the -k /dev/null is omitted from the useradd, then the app settings do transfer to the new user, even with the clean environment. over writing the .bashrc in the userdir does not change the app defaults from working. [ again, I tested this several times last night, looking for easiest fix to implement. ] >> 4) the irc server for irc.linuxfromscratch.org settings are not >> transferred over either. >> > > See above. > >> 5) the menu logout button does not trigger the logout function, only the >> panel logout does. >> > > Unreproducible at least for root in the "kvm" virtual machine. A video > file with my actions will be mailed on request. > so a summary: by not specifying -k /dev/null or by specifying -k /etc/skel when adding the lfs user the settings for the apps transfer. When creating the .bashrc to clean the environment after this it does not interfere with the app defaults, nor does it leave a polluted build environment. when the hardware clock and system time differ, adding the TZ to the .bash_profile stops filesystem corruption from timestamp differences. far easier to add a note to the book or the livecd hint: http://www.linuxfromscratch.org/hints/downloads/files/install-lfs-from-livecd.txt than a complete change in the cd build for very few users to benefit from. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4rnsylMakk+oQ1oRAhiMAJ4pQdkwNvAPyslsf/CciVtl4IoFywCeNyEb wHTCazAM9pijxncCzohzEyo= =fmqa -----END PGP SIGNATURE----- -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
