From 4e7d6a61b5867f3d159538f49a1e9971a828aa4b Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 11 May 2014 00:58:48 +0000 Subject: Add explanations for kernel options in Section 8.3. Simplified the options due to removal of systemd. Add a sed to ksyslogd to prevent errors in some circumstances. Update to man-pages-3.66. Update to linux-3.14.3. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10558 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 19 +++++++++++++++++ chapter06/sysklogd.xml | 5 +++++ chapter08/kernel.xml | 56 +++++++++++++++++++++++++++++++++++++------------ packages.ent | 10 ++++----- 4 files changed, 72 insertions(+), 18 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b2296e860..397562d08 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -38,6 +38,25 @@ 2014-05-10 + + [bdubbs] - Add explanations for kernel options + in Section 8.3. Simplified the options due to removal + of systemd. Fixes + #3566. + + + [bdubbs] - Add a sed to ksyslogd to prevent + errors in some circumstances. Fixes + #3575. + + + [bdubbs] - Update to man-pages-3.66. Fixes + #3576. + + + [bdubbs] - Update to linux-3.14.3. Fixes + #3573. + [bdubbs] - Remove systemd and dbus. Add eudev. diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml index a5e936178..421eb18c7 100644 --- a/chapter06/sysklogd.xml +++ b/chapter06/sysklogd.xml @@ -41,6 +41,11 @@ Installation of Sysklogd + First, fix a problem that causes a segmentation fault under + some conditions in klogd: + +sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c + Compile the package: make diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index 7d9747aec..930e5a007 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -72,25 +72,55 @@ Be sure to enable or disable following features: - General setup ---> - [*] open by fhandle syscalls - [*] Control Group support -Processor type and features ---> - [*] Enable seccomp to safely compute untrusted bytecode -Networking support ---> - Networking options ---> - <*> The IPv6 protocol + Device Drivers ---> Generic Driver Options ---> () path to uevent helper [*] Maintain a devtmpfs filesystem to mount at /dev - [ ] Fallback user-helper invocation for firmware loading File systems ---> [*] Inotify support for userspace - <*> Kernel automounter version 4 support (also supports v3) - Pseudo filesystems ---> - [*] Tmpfs POSIX Access Control Lists - [*] Tmpfs extended attributes + <*> Kernel automounter version 4 support (also supports v3) + + + The rationale for the above configuration items: + + + path to uevent helper + + Having an entry in this space will interfere with device + management when using udev/eudev. + + + + + Maintain a devtmpfs + + This will create automated device nodes which are populated by the + kernel, even without udev running. Udev then runs on top of this, + managing permissions and adding symlinks. This configuration + itme is required for all users of udev/eudev. + + + + + Inotify support + + This allows monitoring of both files and directories via a single + open file descriptor. + + + + + Kernel automounter version 4 support + + This allows Desktop + Environments to automatically mount usb sticks and similar, this is + needed to work around a bug with network filesystems which are to be + mounted on boot. + + + + make LANG=<host_LANG_value> LC_ALL= menuconfig diff --git a/packages.ent b/packages.ent index 075051a4e..8e31d1eff 100644 --- a/packages.ent +++ b/packages.ent @@ -407,12 +407,12 @@ - + - +