From fb651b9116612e48621260008e77c17e12c935c0 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 17 Mar 2022 08:12:51 +0100 Subject: [PATCH 1/2] Fix email addresses for bug report in bootscripts --- bootscripts/lfs/init.d/rc | 2 +- bootscripts/lfs/sysconfig/rc.site | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootscripts/lfs/init.d/rc b/bootscripts/lfs/init.d/rc index 80469e952..25b48eec3 100644 --- a/bootscripts/lfs/init.d/rc +++ b/bootscripts/lfs/init.d/rc @@ -84,7 +84,7 @@ run() [ -r /etc/sysconfig/rc.site ] && source /etc/sysconfig/rc.site DISTRO=${DISTRO:-"Linux From Scratch"} -DISTRO_CONTACT=${DISTRO_CONTACT:-"lfs-dev@linuxfromscratch.org (Registration required)"} +DISTRO_CONTACT=${DISTRO_CONTACT:-"lfs-dev@lists.linuxfromscratch.org (Registration required)"} DISTRO_MINI=${DISTRO_MINI:-"LFS"} IPROMPT=${IPROMPT:-"no"} diff --git a/bootscripts/lfs/sysconfig/rc.site b/bootscripts/lfs/sysconfig/rc.site index b6a69fcfd..903aebff5 100644 --- a/bootscripts/lfs/sysconfig/rc.site +++ b/bootscripts/lfs/sysconfig/rc.site @@ -4,7 +4,7 @@ # Distro Information # These values, if specified here, override the defaults #DISTRO="Linux From Scratch" # The distro name -#DISTRO_CONTACT="lfs-dev@linuxfromscratch.org" # Bug report address +#DISTRO_CONTACT="lfs-dev@lists.linuxfromscratch.org" # Bug report address #DISTRO_MINI="LFS" # Short name used in filenames for distro config # Define custom colors used in messages printed to the screen From bb9cb3c0d8a599a8895343157477905cb3a662e8 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 18 Mar 2022 16:06:36 +0100 Subject: [PATCH 2/2] [Sysv]: /etc/inittab: respawn sulogin in runlevel 1 If run once (as it is now), the only possibility after hitting control-D is to reboot. Note that init treats the S runlevel differently: when the last daemon to be run n runlevel S exits, init switches to the default runlevel. This is not the case for other runlevels. --- chapter09/usage.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chapter09/usage.xml b/chapter09/usage.xml index a723099e4..6f8d7a03f 100644 --- a/chapter09/usage.xml +++ b/chapter09/usage.xml @@ -77,7 +77,8 @@ l6:6:wait:/etc/rc.d/init.d/rc 6 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now -su:S016:once:/sbin/sulogin +su:S06:once:/sbin/sulogin +s1:1:respawn:/sbin/sulogin 1:2345:respawn:/sbin/agetty --noclear tty1 9600 2:2345:respawn:/sbin/agetty tty2 9600