On 16/10/2018 21:10, Petter Reinholdtsen wrote: > > Note, it is unlikely the problem is in initscripts. It is more likely > to be an incorrect dependency in one of the other init.d scripts > involved. When it is known which, I recommend to reassign this bug to > the correct package. > > I further recommend to have a look at the output from > /usr/share/insserv/check-initd-order, and to wrap up the output from > /usr/share/insserv/make-testsuite as an attachment to this bug to allow > anyone to try to reproduce the problem. richard@deodand:~$ /usr/share/insserv/check-initd-order richard@deodand:~$ /usr/share/insserv/make-testsuite > mt.txt
mt.txt is attached. ttfn/rjk
set +C cat <<'EOF' > $insconf $local_fs +mountall +mountall-bootclean +mountoverflowtmp +umountfs $network +networking +ifupdown $named +named +dnsmasq +lwresd +bind9 +unbound $network $remote_fs $local_fs +mountnfs +mountnfs-bootclean +umountnfs +sendsigs $syslog +rsyslog +sysklogd +syslog-ng +dsyslog +inetutils-syslogd $time +hwclock <interactive> glibc udev console-screen keymap keyboard-setup console-setup cryptdisks cryptdisks-early checkfs-loop EOF set -C addscript anacron <<'EOF' ### BEGIN INIT INFO # Provides: anacron # Required-Start: $remote_fs $syslog $time # Required-Stop: $remote_fs $syslog $time # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Run anacron jobs # Description: The first purpose of this script is to run anacron at # boot so that it can catch up with missed jobs. Note # that anacron is not a daemon. It is run here just once # and is later started by the real cron. The second # purpose of this script is that said cron job invokes # this script to start anacron at those subsequent times, # to keep the logic in one place. ### END INIT INFO EOF addscript apache2 <<'EOF' ### BEGIN INIT INFO # Provides: apache2 # Required-Start: $local_fs $remote_fs $network $syslog $named # Required-Stop: $local_fs $remote_fs $network $syslog $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Interactive: true # Short-Description: Apache2 web server # Description: Start the web server # This script will start the apache2 web server. ### END INIT INFO EOF addscript apache-htcacheclean <<'EOF' ### BEGIN INIT INFO # Provides: apache-htcacheclean # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Cache cleaner process for Apache2 web server # Description: Start the htcacheclean helper # This script will start htcacheclean which will periodically scan the # cache directory of Apache2's mod_cache_disk and remove outdated files. ### END INIT INFO EOF addscript atd <<'EOF' ### BEGIN INIT INFO # Provides: atd # Required-Start: $syslog $time $remote_fs # Required-Stop: $syslog $time $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Deferred execution scheduler # Description: Debian init script for the atd deferred executions # scheduler ### END INIT INFO EOF addscript binfmt-support <<'EOF' ### BEGIN INIT INFO # Provides: binfmt-support # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Support for extra binary formats # Description: Enable support for extra binary formats using the Linux # kernel's binfmt_misc facility. ### END INIT INFO EOF addscript bootlogs <<'EOF' ### BEGIN INIT INFO # Provides: bootlogs # Required-Start: hostname $local_fs # Required-Stop: # Should-Start: $x-display-manager gdm kdm xdm ldm sdm wdm nodm # Default-Start: 1 2 3 4 5 # Default-Stop: # Short-Description: Log file handling to be done during bootup. # Description: Various things that don't need to be done particularly # early in the boot, just before getty is run. ### END INIT INFO EOF addscript bootmisc.sh <<'EOF' ### BEGIN INIT INFO # Provides: bootmisc # Required-Start: $remote_fs # Required-Stop: # Should-Start: udev # Default-Start: S # Default-Stop: # Short-Description: Miscellaneous things to be done during bootup. # Description: Some cleanup. Note, it need to run after mountnfs-bootclean.sh. ### END INIT INFO EOF addscript checkfs.sh <<'EOF' ### BEGIN INIT INFO # Provides: checkfs # Required-Start: checkroot # Required-Stop: # Should-Start: # Default-Start: S # Default-Stop: # X-Interactive: true # Short-Description: Check all filesystems. ### END INIT INFO EOF addscript checkroot-bootclean.sh <<'EOF' ### BEGIN INIT INFO # Provides: checkroot-bootclean # Required-Start: checkroot # Required-Stop: # Default-Start: S # Default-Stop: # X-Start-Before: bootmisc # Short-Description: bootclean after checkroot. # Description: Clean temporary filesystems after # the root filesystem has been mounted. # At this point, directories which may be # masked by future mounts may be cleaned. ### END INIT INFO EOF addscript checkroot.sh <<'EOF' ### BEGIN INIT INFO # Provides: checkroot mtab # Required-Start: mountdevsubfs hostname # Required-Stop: # Should-Start: keymap hwclockfirst hdparm bootlogd # Should-stop: # Default-Start: S # Default-Stop: # X-Interactive: true # Short-Description: Check to root file system. ### END INIT INFO EOF addscript collectd <<'EOF' ### BEGIN INIT INFO # Provides: collectd # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_fs # Should-Start: $network $named $syslog $time cpufrequtils # Should-Stop: $network $named $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: manage the statistics collection daemon # Description: collectd is the statistics collection daemon. # It is a small daemon which collects system information # periodically and provides mechanisms to monitor and store # the values in a variety of ways. ### END INIT INFO EOF addscript console-setup.sh <<'EOF' ### BEGIN INIT INFO # Provides: console-setup.sh # Required-Start: $remote_fs # Required-Stop: # Should-Start: console-screen kbd # Default-Start: 2 3 4 5 # Default-Stop: # X-Interactive: true # Short-Description: Set console font and keymap ### END INIT INFO EOF addscript cron <<'EOF' ### BEGIN INIT INFO # Provides: cron # Required-Start: $remote_fs $syslog $time # Required-Stop: $remote_fs $syslog $time # Should-Start: $network $named slapd autofs ypbind nscd nslcd winbind sssd # Should-Stop: $network $named slapd autofs ypbind nscd nslcd winbind sssd # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Regular background program processing daemon # Description: cron is a standard UNIX program that runs user-specified # programs at periodic scheduled times. vixie cron adds a # number of features to the basic UNIX cron, including better # security and more powerful configuration options. ### END INIT INFO EOF addscript dbus <<'EOF' ### BEGIN INIT INFO # Provides: dbus # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: D-Bus systemwide message bus # Description: D-Bus is a simple interprocess messaging system, used # for sending messages between applications. ### END INIT INFO EOF addscript ekeyd-egd-linux <<'EOF' ### BEGIN INIT INFO # Provides: ekeyd-egd-linux # Required-Start: $remote_fs $network # Required-Stop: $remote_fs $network # Should-Start: ekeyd # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Entropy Key Manager, EGD->Linux pool stirrer ### END INIT INFO EOF addscript exim4 <<'EOF' ### BEGIN INIT INFO # Provides: exim4 # Required-Start: $remote_fs $syslog $named $network $time # Required-Stop: $remote_fs $syslog $named $network # Should-Start: postgresql mysql clamav-daemon greylist spamassassin # Should-Stop: postgresql mysql clamav-daemon greylist spamassassin # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: exim Mail Transport Agent # Description: exim is a Mail Transport agent ### END INIT INFO EOF addscript halt <<'EOF' ### BEGIN INIT INFO # Provides: halt # Required-Start: # Required-Stop: # Default-Start: # Default-Stop: 0 # Short-Description: Execute the halt command. # Description: ### END INIT INFO EOF addscript hostname.sh <<'EOF' ### BEGIN INIT INFO # Provides: hostname # Required-Start: # Required-Stop: # Should-Start: glibc # Default-Start: S # Default-Stop: # Short-Description: Set hostname based on /etc/hostname # Description: Read the machines hostname from /etc/hostname, and # update the kernel value with this value. If # /etc/hostname is empty, the current kernel value # for hostname is used. If the kernel value is # empty, the value 'localhost' is used. ### END INIT INFO EOF addscript hwclock.sh <<'EOF' ### BEGIN INIT INFO # Provides: hwclock # Required-Start: mountdevsubfs # Required-Stop: mountdevsubfs # Should-Stop: umountfs # Default-Start: S # X-Start-Before: checkroot # Default-Stop: 0 6 # Short-Description: Sync hardware and system clock time. ### END INIT INFO EOF addscript inn2 <<'EOF' ### BEGIN INIT INFO # Provides: inn2 # Required-Start: $local_fs $remote_fs $syslog # Required-Stop: $local_fs $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: INN news server # Description: The InterNetNews news server. ### END INIT INFO EOF addscript inn2~ <<'EOF' ### BEGIN INIT INFO # Provides: inn2 # Required-Start: $local_fs $remote_fs $syslog # Required-Stop: $local_fs $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: INN news server # Description: The InterNetNews news server. ### END INIT INFO EOF addscript keyboard-setup.sh <<'EOF' ### BEGIN INIT INFO # Provides: keyboard-setup.sh # Required-Start: mountkernfs # Required-Stop: # X-Start-Before: checkroot # Default-Start: S # Default-Stop: # X-Interactive: true # Short-Description: Set the console keyboard layout # Description: Set the console keyboard as early as possible # so during the file systems checks the administrator # can interact. At this stage of the boot process # only the ASCII symbols are supported. ### END INIT INFO EOF addscript killprocs <<'EOF' ### BEGIN INIT INFO # Provides: killprocs # Required-Start: $local_fs # Required-Stop: # Default-Start: 1 # Default-Stop: # Short-Description: executed by init(8) upon entering runlevel 1 (single). ### END INIT INFO EOF addscript kmod <<'EOF' ### BEGIN INIT INFO # Provides: kmod # Required-Start: # Required-Stop: # Should-Start: checkroot # Should-Stop: # Default-Start: S # Default-Stop: # Short-Description: Load the modules listed in /etc/modules. # Description: Load the modules listed in /etc/modules. ### END INIT INFO EOF addscript lvm2 <<'EOF' ### BEGIN INIT INFO # Provides: lvm2 lvm # Required-Start: mountdevsubfs # Required-Stop: # Should-Start: udev mdadm-raid cryptdisks-early multipath-tools-boot # Should-Stop: umountroot mdadm-raid # X-Start-Before: checkfs mountall # X-Stop-After: umountfs # Default-Start: S # Default-Stop: ### END INIT INFO EOF addscript lvm2-lvmetad <<'EOF' ### BEGIN INIT INFO # Provides: lvm2-lvmetad # Required-Start: $local_fs # Required-Stop: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: LVM2 metadata daemon ### END INIT INFO EOF addscript lvm2-lvmpolld <<'EOF' ### BEGIN INIT INFO # Provides: lvm2-lvmpolld # Required-Start: $local_fs # Required-Stop: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: LVM2 poll daemon ### END INIT INFO EOF addscript mdadm <<'EOF' ### BEGIN INIT INFO # Provides: mdadm # Required-Start: $local_fs $syslog # Required-Stop: $local_fs $syslog sendsigs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: MD monitoring daemon # Description: mdadm provides a monitor mode, in which it will scan for # problems with the MD devices. If a problem is found, the # administrator is alerted via email, or a custom script is # run. ### END INIT INFO EOF addscript mdadm-waitidle <<'EOF' ### BEGIN INIT INFO # Provides: mdadm-waitidle # Required-Start: # Required-Stop: # Should-Stop: halt reboot kexec # X-Stop-After: umountroot # Default-Start: # Default-Stop: 0 6 # Short-Description: Wait for MD arrays to become idle # Description: Waits until all MD arrays are in idle and synced state # before halt/reboot. ### END INIT INFO EOF addscript motd <<'EOF' ### BEGIN INIT INFO # Provides: motd # Required-Start: hostname $local_fs # Required-Stop: # Should-Start: # Default-Start: 1 2 3 4 5 # Default-Stop: # Short-Description: Create dynamic part of /etc/motd # Description: /etc/motd is user-editable and static. This script # creates the initial dynamic part, by default the # output of uname, and stores it in /var/run/motd.dynamic. # Both parts are output by pam_motd. ### END INIT INFO EOF addscript mountall-bootclean.sh <<'EOF' ### BEGIN INIT INFO # Provides: mountall-bootclean # Required-Start: mountall # Required-Stop: # Default-Start: S # Default-Stop: # X-Start-Before: bootmisc # Short-Description: bootclean after mountall. # Description: Clean temporary filesystems after # all local filesystems have been mounted. ### END INIT INFO EOF addscript mountall.sh <<'EOF' ### BEGIN INIT INFO # Provides: mountall # Required-Start: checkfs checkroot-bootclean # Required-Stop: # Default-Start: S # Default-Stop: # Short-Description: Mount all filesystems. # Description: ### END INIT INFO EOF addscript mountdevsubfs.sh <<'EOF' ### BEGIN INIT INFO # Provides: mountdevsubfs # Required-Start: mountkernfs # Required-Stop: # Should-Start: udev # Default-Start: S # Default-Stop: # Short-Description: Mount special file systems under /dev. # Description: Mount the virtual filesystems the kernel provides # that ordinarily live under the /dev filesystem. ### END INIT INFO EOF addscript mountkernfs.sh <<'EOF' ### BEGIN INIT INFO # Provides: mountkernfs # Required-Start: # Required-Stop: # Should-Start: glibc # Default-Start: S # Default-Stop: # Short-Description: Mount kernel virtual file systems. # Description: Mount initial set of virtual filesystems the kernel # provides and that are required by everything. ### END INIT INFO EOF addscript mountnfs-bootclean.sh <<'EOF' ### BEGIN INIT INFO # Provides: mountnfs-bootclean # Required-Start: $local_fs mountnfs # Required-Stop: # Default-Start: S # Default-Stop: # X-Start-Before: bootmisc # Short-Description: bootclean after mountnfs. # Description: Clean temporary filesystems after # network filesystems have been mounted. ### END INIT INFO EOF addscript mountnfs.sh <<'EOF' ### BEGIN INIT INFO # Provides: mountnfs # Required-Start: $local_fs # Required-Stop: # Should-Start: $network $portmap nfs-common udev-mtab # Default-Start: S # Default-Stop: # Short-Description: Wait for network file systems to be mounted # Description: Network file systems are mounted by # /etc/network/if-up.d/mountnfs in the background # when interfaces are brought up; this script waits # for them to be mounted before carrying on. ### END INIT INFO EOF addscript nbd-client <<'EOF' ### BEGIN INIT INFO # Provides: nbd-client # Required-Start: $network $local_fs # Required-Stop: $network # Default-Start: S # Default-Stop: 0 6 # X-Start-Before: mountnfs # Short-Description: Network Block Device client ### END INIT INFO EOF addscript networking <<'EOF' ### BEGIN INIT INFO # Provides: networking ifupdown # Required-Start: mountkernfs $local_fs urandom # Required-Stop: $local_fs # Default-Start: S # Default-Stop: 0 6 # Short-Description: Raise network interfaces. # Description: Prepare /run/network directory, ifstate file and raise network interfaces, or take them down. ### END INIT INFO EOF addscript nfs-common <<'EOF' ### BEGIN INIT INFO # Provides: nfs-common # Required-Start: $portmap $time # Required-Stop: $time # Default-Start: S # Default-Stop: 0 1 6 # Short-Description: NFS support files common to client and server # Description: NFS is a popular protocol for file sharing across # TCP/IP networks. This service provides various # support functions for NFS mounts. ### END INIT INFO EOF addscript nmbd <<'EOF' ### BEGIN INIT INFO # Provides: nmbd # Required-Start: $network $local_fs $remote_fs # Required-Stop: $network $local_fs $remote_fs # X-Start-Before: smbd # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Samba NetBIOS nameserver (nmbd) # Description: NetBIOS name server to provide NetBIOS over IP naming services # to clients ### END INIT INFO EOF addscript ntp <<'EOF' ### BEGIN INIT INFO # Provides: ntp # Required-Start: $network $remote_fs $syslog # Required-Stop: $network $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Start NTP daemon ### END INIT INFO EOF addscript pppd-dns <<'EOF' ### BEGIN INIT INFO # Provides: pppd-dns # Required-Start: $local_fs # Required-Stop: # Default-Start: S # Default-Stop: # Short-Description: Restore resolv.conf if the system crashed. # Description: Restore /etc/resolv.conf if the system crashed before the # ppp link was shut down. ### END INIT INFO EOF addscript procps <<'EOF' ### BEGIN INIT INFO # Provides: procps # Required-Start: mountkernfs $local_fs # Required-Stop: # Should-Start: udev module-init-tools # X-Start-Before: $network # Default-Start: S # Default-Stop: # Short-Description: Configure kernel parameters at boottime # Description: Loads kernel parameters that are specified in /etc/sysctl.conf ### END INIT INFO EOF addscript racoon <<'EOF' ### BEGIN INIT INFO # Provides: racoon # Required-Start: $remote_fs setkey # Required-Stop: $remote_fs # Should-Start: $portmap # Should-Stop: $portmap # Default-Start: S # Default-Stop: 0 1 6 # X-Stop-After: sendsigs # Short-Description: start the ipsec key exchange server ### END INIT INFO EOF addscript rc.local <<'EOF' ### BEGIN INIT INFO # Provides: rc.local # Required-Start: $all # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Run /etc/rc.local if it exist ### END INIT INFO EOF addscript reboot <<'EOF' ### BEGIN INIT INFO # Provides: reboot # Required-Start: # Required-Stop: # Default-Start: # Default-Stop: 6 # Short-Description: Execute the reboot command. # Description: ### END INIT INFO EOF addscript rmnologin <<'EOF' ### BEGIN INIT INFO # Provides: rmnologin # Required-Start: $remote_fs $all # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Remove /run/nologin at boot # Description: This script removes the /run/nologin file as the # last step in the boot process, if DELAYLOGIN=yes. # If DELAYLOGIN=no, /run/nologin was not created by # bootmisc earlier in the boot process. ### END INIT INFO EOF addscript rpcbind <<'EOF' ### BEGIN INIT INFO # Provides: rpcbind # Required-Start: $network $local_fs # Required-Stop: $network $local_fs # Default-Start: S # Default-Stop: 0 1 6 # Short-Description: RPC portmapper replacement # Description: rpcbind is a server that converts RPC (Remote # Procedure Call) program numbers into DARPA # protocol port numbers. It must be running in # order to make RPC calls. Services that use # RPC include NFS and NIS. ### END INIT INFO EOF addscript rsync <<'EOF' ### BEGIN INIT INFO # Provides: rsyncd # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Should-Start: $named autofs # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: fast remote file copy program daemon # Description: rsync is a program that allows files to be copied to and # from remote machines in much the same way as rcp. # This provides rsyncd daemon functionality. ### END INIT INFO EOF addscript rsyslog <<'EOF' ### BEGIN INIT INFO # Provides: rsyslog # Required-Start: $remote_fs $time # Required-Stop: umountnfs $time # X-Stop-After: sendsigs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: enhanced syslogd # Description: Rsyslog is an enhanced multi-threaded syslogd. # It is quite compatible to stock sysklogd and can be # used as a drop-in replacement. ### END INIT INFO EOF addscript samba-ad-dc <<'EOF' ### BEGIN INIT INFO # Provides: samba-ad-dc # Required-Start: $network $local_fs $remote_fs # Required-Stop: $network $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Samba daemons for the AD DC # Description: Meta-service to provide AD and SMB/CIFS services to clients ### END INIT INFO EOF addscript schroot <<'EOF' ### BEGIN INIT INFO # Provides: schroot # Required-Start: $local_fs $syslog $network $remote_fs # Required-Stop: $local_fs $syslog $network $remote_fs # Should-Start: lvm2 # Should-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Recover schroot sessions. # Description: Activate any persistent sessions after a reboot. # Setup scripts will be run to mount filesystems and # bring the chroot back to a working state. ### END INIT INFO EOF addscript sendsigs <<'EOF' ### BEGIN INIT INFO # Provides: sendsigs # Required-Start: # Required-Stop: umountnfs # Default-Start: # Default-Stop: 0 6 # Short-Description: Kill all remaining processes. # Description: ### END INIT INFO EOF addscript setkey <<'EOF' ### BEGIN INIT INFO # Provides: setkey # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: S # Default-Stop: # Short-Description: option to manually manipulate the IPsec SA/SP database ### END INIT INFO EOF addscript single <<'EOF' ### BEGIN INIT INFO # Provides: single # Required-Start: $local_fs $all killprocs # Required-Stop: # Default-Start: 1 # Default-Stop: # Short-Description: executed by init(8) upon entering runlevel 1 (single). ### END INIT INFO EOF addscript smbd <<'EOF' ### BEGIN INIT INFO # Provides: smbd # Required-Start: $network $local_fs $remote_fs # Required-Stop: $network $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Should-Start: slapd cups # Should-Stop: slapd cups # Short-Description: Samba SMB/CIFS daemon (smbd) # Description: server to provide SMB/CIFS services to clients ### END INIT INFO EOF addscript ssh <<'EOF' ### BEGIN INIT INFO # Provides: sshd # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: OpenBSD Secure Shell server ### END INIT INFO EOF addscript udev <<'EOF' ### BEGIN INIT INFO # Provides: udev # Required-Start: mountkernfs # Required-Stop: umountroot # Default-Start: S # Default-Stop: 0 6 # Short-Description: Start systemd-udevd, populate /dev and load drivers. ### END INIT INFO EOF addscript umountfs <<'EOF' ### BEGIN INIT INFO # Provides: umountfs # Required-Start: # Required-Stop: umountroot # Default-Start: # Default-Stop: 0 6 # Short-Description: Turn off swap and unmount all local file systems. # Description: ### END INIT INFO EOF addscript umountnfs.sh <<'EOF' ### BEGIN INIT INFO # Provides: umountnfs # Required-Start: # Required-Stop: umountfs # Should-Stop: $network $portmap nfs-common # Default-Start: # Default-Stop: 0 6 # Short-Description: Unmount all network filesystems except the root fs. # Description: Also unmounts all virtual filesystems (proc, # devpts, usbfs, sysfs) that are not mounted at the # top level. ### END INIT INFO EOF addscript umountroot <<'EOF' ### BEGIN INIT INFO # Provides: umountroot # Required-Start: # Required-Stop: # Should-Stop: halt reboot kexec # Default-Start: # Default-Stop: 0 6 # Short-Description: Mount the root and /usr filesystems read-only. ### END INIT INFO EOF addscript urandom <<'EOF' ### BEGIN INIT INFO # Provides: urandom # Required-Start: $local_fs $time # Required-Stop: $local_fs # Default-Start: S # Default-Stop: 0 6 # Short-Description: Save and restore random seed between restarts. # Description: This script saves the random seed between restarts. # It is called from the boot, halt and reboot scripts. ### END INIT INFO EOF addscript uuidd <<'EOF' ### BEGIN INIT INFO # Provides: uuidd # Required-Start: $time $local_fs $remote_fs # Required-Stop: $time $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: uuidd daemon # Description: Init script for the uuid generation daemon ### END INIT INFO EOF addscript x11-common <<'EOF' ### BEGIN INIT INFO # Provides: x11-common # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: S # Default-Stop: # Short-Description: set up the X server and ICE socket directories ### END INIT INFO EOF addscript xrdp <<'EOF' ### BEGIN INIT INFO # Provides: xrdp # Required-Start: $remote_fs $syslog $network # Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: xrdp (X Remote Desktop Protocol) full server # Description: The xrdp daemon uses the Remote Desktop Protocol # to present a graphical login to a remote client, # allowing connections to an xorgxrdp or VNC server # or another RDP server. The xrdp-sesman daemon # authenticates the users against PAM and starts # the session and, if necessary, X11 server. ### END INIT INFO EOF cd $tmpdir/etc mkdir rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rcS.d ln -s ../init.d/anacron rc0.d/K01anacron ln -s ../init.d/apache2 rc0.d/K01apache2 ln -s ../init.d/apache-htcacheclean rc0.d/K01apache-htcacheclean ln -s ../init.d/atd rc0.d/K01atd ln -s ../init.d/collectd rc0.d/K01collectd ln -s ../init.d/cron rc0.d/K01cron ln -s ../init.d/ekeyd-egd-linux rc0.d/K01ekeyd-egd-linux ln -s ../init.d/exim4 rc0.d/K01exim4 ln -s ../init.d/inn2 rc0.d/K01inn2 ln -s ../init.d/lvm2-lvmetad rc0.d/K01lvm2-lvmetad ln -s ../init.d/lvm2-lvmpolld rc0.d/K01lvm2-lvmpolld ln -s ../init.d/mdadm rc0.d/K01mdadm ln -s ../init.d/nbd-client rc0.d/K01nbd-client ln -s ../init.d/nmbd rc0.d/K01nmbd ln -s ../init.d/samba-ad-dc rc0.d/K01samba-ad-dc ln -s ../init.d/schroot rc0.d/K01schroot ln -s ../init.d/smbd rc0.d/K01smbd ln -s ../init.d/udev rc0.d/K01udev ln -s ../init.d/urandom rc0.d/K01urandom ln -s ../init.d/uuidd rc0.d/K01uuidd ln -s ../init.d/xrdp rc0.d/K01xrdp ln -s ../init.d/racoon rc0.d/K03racoon ln -s ../init.d/rsyslog rc0.d/K03rsyslog ln -s ../init.d/sendsigs rc0.d/K04sendsigs ln -s ../init.d/umountnfs.sh rc0.d/K04umountnfs.sh ln -s ../init.d/nfs-common rc0.d/K05nfs-common ln -s ../init.d/rpcbind rc0.d/K05rpcbind ln -s ../init.d/networking rc0.d/K06networking ln -s ../init.d/umountfs rc0.d/K07umountfs ln -s ../init.d/umountroot rc0.d/K08umountroot ln -s ../init.d/mdadm-waitidle rc0.d/K09mdadm-waitidle ln -s ../init.d/halt rc0.d/K10halt ln -s ../init.d/anacron rc1.d/K01anacron ln -s ../init.d/apache2 rc1.d/K01apache2 ln -s ../init.d/apache-htcacheclean rc1.d/K01apache-htcacheclean ln -s ../init.d/atd rc1.d/K01atd ln -s ../init.d/collectd rc1.d/K01collectd ln -s ../init.d/cron rc1.d/K01cron ln -s ../init.d/ekeyd-egd-linux rc1.d/K01ekeyd-egd-linux ln -s ../init.d/exim4 rc1.d/K01exim4 ln -s ../init.d/inn2 rc1.d/K01inn2 ln -s ../init.d/lvm2-lvmetad rc1.d/K01lvm2-lvmetad ln -s ../init.d/lvm2-lvmpolld rc1.d/K01lvm2-lvmpolld ln -s ../init.d/mdadm rc1.d/K01mdadm ln -s ../init.d/nmbd rc1.d/K01nmbd ln -s ../init.d/samba-ad-dc rc1.d/K01samba-ad-dc ln -s ../init.d/schroot rc1.d/K01schroot ln -s ../init.d/smbd rc1.d/K01smbd ln -s ../init.d/uuidd rc1.d/K01uuidd ln -s ../init.d/xrdp rc1.d/K01xrdp ln -s ../init.d/racoon rc1.d/K03racoon ln -s ../init.d/rsyslog rc1.d/K03rsyslog ln -s ../init.d/nfs-common rc1.d/K05nfs-common ln -s ../init.d/rpcbind rc1.d/K05rpcbind ln -s ../init.d/bootlogs rc1.d/S01bootlogs ln -s ../init.d/killprocs rc1.d/S01killprocs ln -s ../init.d/motd rc1.d/S01motd ln -s ../init.d/single rc1.d/S02single ln -s ../init.d/apache-htcacheclean rc2.d/K01apache-htcacheclean ln -s ../init.d/bootlogs rc2.d/S01bootlogs ln -s ../init.d/lvm2-lvmetad rc2.d/S01lvm2-lvmetad ln -s ../init.d/lvm2-lvmpolld rc2.d/S01lvm2-lvmpolld ln -s ../init.d/motd rc2.d/S01motd ln -s ../init.d/nfs-common rc2.d/S13nfs-common ln -s ../init.d/console-setup.sh rc2.d/S15console-setup.sh ln -s ../init.d/binfmt-support rc2.d/S16binfmt-support ln -s ../init.d/ekeyd-egd-linux rc2.d/S16ekeyd-egd-linux ln -s ../init.d/nmbd rc2.d/S16nmbd ln -s ../init.d/rsyslog rc2.d/S16rsyslog ln -s ../init.d/samba-ad-dc rc2.d/S16samba-ad-dc ln -s ../init.d/uuidd rc2.d/S16uuidd ln -s ../init.d/apache2 rc2.d/S17apache2 ln -s ../init.d/anacron rc2.d/S18anacron ln -s ../init.d/atd rc2.d/S18atd ln -s ../init.d/collectd rc2.d/S18collectd ln -s ../init.d/cron rc2.d/S18cron ln -s ../init.d/dbus rc2.d/S18dbus ln -s ../init.d/exim4 rc2.d/S18exim4 ln -s ../init.d/inn2 rc2.d/S18inn2 ln -s ../init.d/mdadm rc2.d/S18mdadm ln -s ../init.d/ntp rc2.d/S18ntp ln -s ../init.d/rsync rc2.d/S18rsync ln -s ../init.d/schroot rc2.d/S18schroot ln -s ../init.d/smbd rc2.d/S18smbd ln -s ../init.d/ssh rc2.d/S18ssh ln -s ../init.d/xrdp rc2.d/S18xrdp ln -s ../init.d/rc.local rc2.d/S19rc.local ln -s ../init.d/rmnologin rc2.d/S19rmnologin ln -s ../init.d/apache-htcacheclean rc3.d/K01apache-htcacheclean ln -s ../init.d/bootlogs rc3.d/S01bootlogs ln -s ../init.d/lvm2-lvmetad rc3.d/S01lvm2-lvmetad ln -s ../init.d/lvm2-lvmpolld rc3.d/S01lvm2-lvmpolld ln -s ../init.d/motd rc3.d/S01motd ln -s ../init.d/nfs-common rc3.d/S13nfs-common ln -s ../init.d/console-setup.sh rc3.d/S15console-setup.sh ln -s ../init.d/binfmt-support rc3.d/S16binfmt-support ln -s ../init.d/ekeyd-egd-linux rc3.d/S16ekeyd-egd-linux ln -s ../init.d/nmbd rc3.d/S16nmbd ln -s ../init.d/rsyslog rc3.d/S16rsyslog ln -s ../init.d/samba-ad-dc rc3.d/S16samba-ad-dc ln -s ../init.d/uuidd rc3.d/S16uuidd ln -s ../init.d/apache2 rc3.d/S17apache2 ln -s ../init.d/anacron rc3.d/S18anacron ln -s ../init.d/atd rc3.d/S18atd ln -s ../init.d/collectd rc3.d/S18collectd ln -s ../init.d/cron rc3.d/S18cron ln -s ../init.d/dbus rc3.d/S18dbus ln -s ../init.d/exim4 rc3.d/S18exim4 ln -s ../init.d/inn2 rc3.d/S18inn2 ln -s ../init.d/mdadm rc3.d/S18mdadm ln -s ../init.d/ntp rc3.d/S18ntp ln -s ../init.d/rsync rc3.d/S18rsync ln -s ../init.d/schroot rc3.d/S18schroot ln -s ../init.d/smbd rc3.d/S18smbd ln -s ../init.d/ssh rc3.d/S18ssh ln -s ../init.d/xrdp rc3.d/S18xrdp ln -s ../init.d/rc.local rc3.d/S19rc.local ln -s ../init.d/rmnologin rc3.d/S19rmnologin ln -s ../init.d/apache-htcacheclean rc4.d/K01apache-htcacheclean ln -s ../init.d/bootlogs rc4.d/S01bootlogs ln -s ../init.d/lvm2-lvmetad rc4.d/S01lvm2-lvmetad ln -s ../init.d/lvm2-lvmpolld rc4.d/S01lvm2-lvmpolld ln -s ../init.d/motd rc4.d/S01motd ln -s ../init.d/nfs-common rc4.d/S13nfs-common ln -s ../init.d/console-setup.sh rc4.d/S15console-setup.sh ln -s ../init.d/binfmt-support rc4.d/S16binfmt-support ln -s ../init.d/ekeyd-egd-linux rc4.d/S16ekeyd-egd-linux ln -s ../init.d/nmbd rc4.d/S16nmbd ln -s ../init.d/rsyslog rc4.d/S16rsyslog ln -s ../init.d/samba-ad-dc rc4.d/S16samba-ad-dc ln -s ../init.d/uuidd rc4.d/S16uuidd ln -s ../init.d/apache2 rc4.d/S17apache2 ln -s ../init.d/anacron rc4.d/S18anacron ln -s ../init.d/atd rc4.d/S18atd ln -s ../init.d/collectd rc4.d/S18collectd ln -s ../init.d/cron rc4.d/S18cron ln -s ../init.d/dbus rc4.d/S18dbus ln -s ../init.d/exim4 rc4.d/S18exim4 ln -s ../init.d/inn2 rc4.d/S18inn2 ln -s ../init.d/mdadm rc4.d/S18mdadm ln -s ../init.d/ntp rc4.d/S18ntp ln -s ../init.d/rsync rc4.d/S18rsync ln -s ../init.d/schroot rc4.d/S18schroot ln -s ../init.d/smbd rc4.d/S18smbd ln -s ../init.d/ssh rc4.d/S18ssh ln -s ../init.d/xrdp rc4.d/S18xrdp ln -s ../init.d/rc.local rc4.d/S19rc.local ln -s ../init.d/rmnologin rc4.d/S19rmnologin ln -s ../init.d/apache-htcacheclean rc5.d/K01apache-htcacheclean ln -s ../init.d/bootlogs rc5.d/S01bootlogs ln -s ../init.d/lvm2-lvmetad rc5.d/S01lvm2-lvmetad ln -s ../init.d/lvm2-lvmpolld rc5.d/S01lvm2-lvmpolld ln -s ../init.d/motd rc5.d/S01motd ln -s ../init.d/nfs-common rc5.d/S13nfs-common ln -s ../init.d/console-setup.sh rc5.d/S15console-setup.sh ln -s ../init.d/binfmt-support rc5.d/S16binfmt-support ln -s ../init.d/ekeyd-egd-linux rc5.d/S16ekeyd-egd-linux ln -s ../init.d/nmbd rc5.d/S16nmbd ln -s ../init.d/rsyslog rc5.d/S16rsyslog ln -s ../init.d/samba-ad-dc rc5.d/S16samba-ad-dc ln -s ../init.d/uuidd rc5.d/S16uuidd ln -s ../init.d/apache2 rc5.d/S17apache2 ln -s ../init.d/anacron rc5.d/S18anacron ln -s ../init.d/atd rc5.d/S18atd ln -s ../init.d/collectd rc5.d/S18collectd ln -s ../init.d/cron rc5.d/S18cron ln -s ../init.d/dbus rc5.d/S18dbus ln -s ../init.d/exim4 rc5.d/S18exim4 ln -s ../init.d/inn2 rc5.d/S18inn2 ln -s ../init.d/mdadm rc5.d/S18mdadm ln -s ../init.d/ntp rc5.d/S18ntp ln -s ../init.d/rsync rc5.d/S18rsync ln -s ../init.d/schroot rc5.d/S18schroot ln -s ../init.d/smbd rc5.d/S18smbd ln -s ../init.d/ssh rc5.d/S18ssh ln -s ../init.d/xrdp rc5.d/S18xrdp ln -s ../init.d/rc.local rc5.d/S19rc.local ln -s ../init.d/rmnologin rc5.d/S19rmnologin ln -s ../init.d/anacron rc6.d/K01anacron ln -s ../init.d/apache2 rc6.d/K01apache2 ln -s ../init.d/apache-htcacheclean rc6.d/K01apache-htcacheclean ln -s ../init.d/atd rc6.d/K01atd ln -s ../init.d/collectd rc6.d/K01collectd ln -s ../init.d/cron rc6.d/K01cron ln -s ../init.d/ekeyd-egd-linux rc6.d/K01ekeyd-egd-linux ln -s ../init.d/exim4 rc6.d/K01exim4 ln -s ../init.d/inn2 rc6.d/K01inn2 ln -s ../init.d/lvm2-lvmetad rc6.d/K01lvm2-lvmetad ln -s ../init.d/lvm2-lvmpolld rc6.d/K01lvm2-lvmpolld ln -s ../init.d/mdadm rc6.d/K01mdadm ln -s ../init.d/nbd-client rc6.d/K01nbd-client ln -s ../init.d/nmbd rc6.d/K01nmbd ln -s ../init.d/samba-ad-dc rc6.d/K01samba-ad-dc ln -s ../init.d/schroot rc6.d/K01schroot ln -s ../init.d/smbd rc6.d/K01smbd ln -s ../init.d/udev rc6.d/K01udev ln -s ../init.d/urandom rc6.d/K01urandom ln -s ../init.d/uuidd rc6.d/K01uuidd ln -s ../init.d/xrdp rc6.d/K01xrdp ln -s ../init.d/racoon rc6.d/K03racoon ln -s ../init.d/rsyslog rc6.d/K03rsyslog ln -s ../init.d/sendsigs rc6.d/K04sendsigs ln -s ../init.d/umountnfs.sh rc6.d/K04umountnfs.sh ln -s ../init.d/nfs-common rc6.d/K05nfs-common ln -s ../init.d/rpcbind rc6.d/K05rpcbind ln -s ../init.d/networking rc6.d/K06networking ln -s ../init.d/umountfs rc6.d/K07umountfs ln -s ../init.d/umountroot rc6.d/K08umountroot ln -s ../init.d/mdadm-waitidle rc6.d/K09mdadm-waitidle ln -s ../init.d/reboot rc6.d/K10reboot ln -s ../init.d/hostname.sh rcS.d/S01hostname.sh ln -s ../init.d/mountkernfs.sh rcS.d/S01mountkernfs.sh ln -s ../init.d/udev rcS.d/S02udev ln -s ../init.d/keyboard-setup.sh rcS.d/S03keyboard-setup.sh ln -s ../init.d/mountdevsubfs.sh rcS.d/S04mountdevsubfs.sh ln -s ../init.d/checkroot.sh rcS.d/S05checkroot.sh ln -s ../init.d/checkroot-bootclean.sh rcS.d/S06checkroot-bootclean.sh ln -s ../init.d/kmod rcS.d/S06kmod ln -s ../init.d/lvm2 rcS.d/S06lvm2 ln -s ../init.d/checkfs.sh rcS.d/S07checkfs.sh ln -s ../init.d/mountall.sh rcS.d/S08mountall.sh ln -s ../init.d/mountall-bootclean.sh rcS.d/S09mountall-bootclean.sh ln -s ../init.d/pppd-dns rcS.d/S10pppd-dns ln -s ../init.d/procps rcS.d/S10procps ln -s ../init.d/urandom rcS.d/S10urandom ln -s ../init.d/networking rcS.d/S11networking ln -s ../init.d/nbd-client rcS.d/S12nbd-client ln -s ../init.d/rpcbind rcS.d/S12rpcbind ln -s ../init.d/nfs-common rcS.d/S13nfs-common ln -s ../init.d/mountnfs.sh rcS.d/S14mountnfs.sh ln -s ../init.d/mountnfs-bootclean.sh rcS.d/S15mountnfs-bootclean.sh ln -s ../init.d/bootmisc.sh rcS.d/S16bootmisc.sh ln -s ../init.d/setkey rcS.d/S16setkey ln -s ../init.d/x11-common rcS.d/S16x11-common ln -s ../init.d/racoon rcS.d/S17racoon list_rclinks