From e2be9e8057a56bc0626da168837d81dd626d0e5c Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Wed, 6 Feb 2013 11:44:45 +0000 Subject: [PATCH] Remove Sysvinit package; to be replaced by Systemd. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10118 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 4 + chapter01/whatsnew.xml | 4 + chapter03/packages.xml | 9 -- chapter06/chapter06.xml | 1 - chapter06/sysvinit.xml | 268 --------------------------------------- chapter06/util-linux.xml | 2 +- packages.ent | 8 -- 7 files changed, 9 insertions(+), 287 deletions(-) delete mode 100644 chapter06/sysvinit.xml diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index e92342f4f..2c22ca59a 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,10 @@ 2013-02-06 + + [matthew] - Remove Sysvinit package; Systemd will be used to + boot the OS now. + [matthew] - Remove Sysvinit bootscripts and custom Udev rules, to aid with Systemd integration. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 5fa0f7637..65b551115 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -313,6 +313,10 @@ sed-4.2.1-testsuite_fixes-1.patch + + Sysvinit-2.88dsf + + diff --git a/chapter03/packages.xml b/chapter03/packages.xml index 628841aae..aa705a044 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -522,15 +522,6 @@ - - Sysvinit (&sysvinit-version;) - &sysvinit-size;: - - Home page: - Download: - MD5 sum: &sysvinit-md5; - - - Tar (&tar-version;) - &tar-size;: diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 89458bee5..295b196f7 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -68,7 +68,6 @@ - diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml deleted file mode 100644 index b1b85c6b9..000000000 --- a/chapter06/sysvinit.xml +++ /dev/null @@ -1,268 +0,0 @@ - - - %general-entities; -]> - - - - - - sysvinit - &sysvinit-version; -
&sysvinit-url;
-
- - Sysvinit-&sysvinit-version; - - - Sysvinit - - - - - - <para>The Sysvinit package contains programs for controlling the startup, - running, and shutdown of the system.</para> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&sysvinit-ch6-sbu;</seg> - <seg>&sysvinit-ch6-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of Sysvinit - - When run-levels are changed (for example, when halting the - system), init sends termination signals to those - processes that init itself started and that should - not be running in the new run-level. While doing this, - init outputs messages like Sending processes - the TERM signal which seem to imply that it is sending these - signals to all currently running processes. To avoid this - misinterpretation, modify the source so that these messages read like - Sending processes configured via /etc/inittab the TERM signal - instead: - -sed -i 's@Sending processes@& configured via /etc/inittab@g' src/init.c - - Maintained versions of the wall, - mountpoint, and utmpdump programs were - installed earlier by Util-linux. Suppress the installation of Sysvinit's - versions of these programs and their man pages: - -sed -i -e '/utmpdump/d' \ - -e '/mountpoint/d' src/Makefile - - Compile the package: - -make -C src - - This package does not come with a test suite. - - Install the package: - -make -C src install - - - - - Contents of Sysvinit - - - Installed programs - - - bootlogd, fstab-decode, halt, init, killall5, last, - lastb (link to last), mesg, pidof (link to killall5), - poweroff (link to halt), reboot (link to halt), runlevel, shutdown, - sulogin, and telinit (link to init) - - - - - Short Descriptions - - - - - bootlogd - - Logs boot messages to a log file - - bootlogd - - - - - - fstab-decode - - Run a command with fstab-encoded arguments - - fstab-decode - - - - - - halt - - Normally invokes shutdown with the - -h option, except when already in run-level 0, - then it tells the kernel to halt the system; it notes in the - file /var/log/wtmp that the system is being - brought down - - halt - - - - - - init - - The first process to be started when the kernel has initialized - the hardware which takes over the boot process and starts all the - proceses it is instructed to - - init - - - - - - killall5 - - Sends a signal to all processes, except the processes in its own - session so it will not kill the shell running the script that called - it - - killall5 - - - - - - last - - Shows which users last logged in (and out), searching back - through the /var/log/wtmp file; it also shows - system boots, shutdowns, and run-level changes - - last - - - - - - lastb - - Shows the failed login attempts, as logged in - /var/log/btmp - - lastb - - - - - - mesg - - Controls whether other users can send messages to the current - user's terminal - - mesg - - - - - - pidof - - Reports the PIDs of the given programs - - pidof - - - - - - poweroff - - Tells the kernel to halt the system and switch off the computer - (see halt) - - poweroff - - - - - - reboot - - Tells the kernel to reboot the system (see - halt) - - reboot - - - - - - runlevel - - Reports the previous and the current run-level, as noted in the - last run-level record in /var/run/utmp - - runlevel - - - - - - shutdown - - Brings the system down in a secure way, signaling all processes - and notifying all logged-in users - - shutdown - - - - - - sulogin - - Allows root to log in; - it is normally invoked by init when the system goes - into single user mode - - sulogin - - - - - - telinit - - Tells init which run-level to change to - - telinit - - - - - - - - -
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 476aa2ed5..e208623dd 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -69,7 +69,7 @@ mkdir -pv /var/lib/hwclock These switches disable building su, sulogin, and login. They duplicate the same programs provided by and . + linkend='ch-system-shadow'/>. They also require Linux-PAM which is not available in LFS. diff --git a/packages.ent b/packages.ent index f858c0c89..0344ede8d 100644 --- a/packages.ent +++ b/packages.ent @@ -487,14 +487,6 @@ - - - - - - - -