6.63. Sysvinit-2.88dsf

The Sysvinit package contains programs for controlling the startup, running, and shutdown of the system.

Approximate build time: less than 0.1 SBU
Required disk space: 1.4 MB

6.63.1. Installation of Sysvinit

Since LFS uses Systemd as init system, this package is needed for few utils that are not present in other packages. Compile the package:

make -C src fstab-decode
make -C src killall5
make -C src last

This package does not come with a test suite.

Install the package:

cp -v src/{fstab-decode,killall5} /sbin
ln -sv ../sbin/killall5 /bin/pidof
cp -v src/last /usr/bin
ln -sv last /usr/bin/lastb

Install manual pages for the installed programs:

cp -v man/{last,lastb}.1 /usr/share/man/man1
cp -v man/{fstab-decode,killall5,pidof}.8 /usr/share/man/man8

6.63.2. Contents of Sysvinit

Installed programs: fstab-decode, killall5, last, lastb (link to last) and pidof (link to killall5)

Short Descriptions

fstab-decode

Run a command with fstab-encoded arguments

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

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

lastb

Shows the failed login attempts, as logged in /var/log/btmp

pidof

Reports the PIDs of the given programs