Hi folks,

Just finished yet another LFS installation (SVN), keeping as close to the instructions as I liked. This time I also kept some notes, for some things aren't very consistent throughout the book. Here they are:


1) I believe /var/lib/locate should be created in chapter 6.19, Findutils-4.2.20


The directory /var/lib/locate is created in chapter 6.5. Creating Directories:
# install -d /var/{opt,cache,lib/{misc,locate},local}


The directory /etc/default is created in chapter 6.54. Shadow-4.0.7
# mkdir /etc/default

The directory /etc/syslog-ng is created in chapter 6.56. Syslog-ng-1.6.6
# mkdir -p /etc/syslog-ng
(the -p option is not required here)

The directory /var/lib/hwclock is created in chapter 6.60. Util-linux-2.12q
# mkdir -p /var/lib/hwclock
(again the -p option is not necessary)

So creating the directory /var/lib/locate in the Findutils chapter would be consistent.


2) The file /etc/inittab should be created somewhere in chapter 7

The /etc/inittab file contains references to the /etc/rc.d/init.d/rc script, which isn't even installed yet. Furthermore, in chapter 7. Setting Up System Bootscripts there is a link to the BSD style init hint, which would require another inittab anyway.


3) The udev rules file should not be downloaded from the website

Chapters about other packages, like syslog-ng contain example configurations, which cannot be downloaded as a file. I personally had no clue about the contents or the purpose of the /etc/udev/rules.d/25-lfs.rules file until I actually viewed it. People will only learn if they have to write the file or at least edit it. Ok, it's a lot of rules, but so there are in the syslog-ng configuration.


4) The directory /usr/share/misc must contain (a link to) the magic file

According to FHS it is required to have it there, so this would do the trick:
# ln -s ../file/magic /usr/share/misc



Well, that'll be all for now. Feel free to discuss the items above :) -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Reply via email to