This bug was fixed in the package sysvinit - 2.86.ds1-56ubuntu1 --------------- sysvinit (2.86.ds1-56ubuntu1) intrepid; urgency=low * Merge with Debian unstable (first time since Dapper!). Debian adopted most of our changes, sometimes with slight modifications. Adopt to the Debian structure as far as possible to minimize the delta. Remaining changes: - Support Cell processor: + debian/initscripts/postinst: Create spu system group and /spu mount point if we are running on a Cell processor. + debian/initscripts/etc/init.d/mountkernfs.sh: Mount spufs if Cell processor is detected. + debian/control: Add initscripts dependency 'passwd' for groupadd. (Forwarded to Debian #483399) - Use tmpfs mounts for /var/lock and /var/run: + debian/initscripts/share/default.rcS: Enable RAMRUN and RAMLOCK by default. + debian/initscripts/postinst: Enable RAMRUN and RAMLOCK in /etc/default/rcS on upgrades. This needs to be kept until the next LTS. + debian/initscripts/etc/init.d/mountkernfs.sh: Propagate files from the initramfs to our new /var/run, so that we can populate /var/run/sendsigs.omit from initramfs. - Different boot order: (to be checked if still required): + debian/initscripts/postinst: Change the rcS priorities of a bunch of init scripts. + Disable bootlogd, since it is handled by upstart in Ubuntu. - Usplash support: + debian/initscripts/etc/init.d/sendsigs: Call usplash_down on stop. (This should go away and get integrated into the existing splash API.) - Usplash fsck integration: + debian/initscripts/lib/init/usplash-fsck-functions.sh: Functions for reporting fsck progress in usplash. + debian/initscripts/etc/init.d/check{root,fs}.sh: Include usplash-fsck-functions.sh and use it if usplash is running. - debian/initscripts/etc/init.d/sendsigs: Always mount devpts, and do not touch /dev/ptmx (which is already managed by udev). - debian/initscripts/etc/init.d/checkroot.sh: If ACPI is available, load the ac module before checking the root filesystem, so that fsck can skip the check when running on battery. (LP #89752, forwarded to Debian #483394) - debian/initscripts/etc/init.d/mountkernfs.sh: Drop mounting of usbdevfs (/proc/bus/usb), it was deprecated long ago. (Forwarded to Debian #483392) - debian/patches/91_sulogin_lockedpw.dpatch: Disable "root account is locked" warning, since this is the default in Ubuntu. Document this in sulogin.8. - debian/initscripts/etc/init.d/mountall.sh: Set $LANG from /etc/default/locale, so that ntfs-3g and friends can get correct file name encodings. (LP #132357, forwarded to Debian #483396) - debian/initscripts/etc/init.d/umountroot: mkdir a few essential directories (/proc, /sys, /var/{run,lock}), right before mounting root r/o. It is a convenient (and one of the very few possible) place to ensure that the next boot will succeed. (Forwarded to Debian #483393) - debian/initscripts/preinst: Fix typo in eliminate_conffile() which broke the entire function. (Forwarded to Debian #483391) - debian/control: Do not make sysvinit essential, so that we can replace it with upstart. - debian/sysv-rc/sbin/update-rc.d: Support 'multiuser' argument for backwards compatibility. This is deprecated now, since Debian adopted a different strategy, and for getting in sync with Debian the runlevels should be specified manually. - debian/control: Previous name for sysvinit-utils was 'sysvutils' in Ubuntu, so Conflict/Replace/Provide it. Also create a dummy sysvutils package, since Hardy has reverse versioned dependencies to it. This needs to be kept until after the next LTS. - debian/initscripts/{pre,postinst}: waitnfs.sh -> mountnfs.sh renaming transition. This needs to be kept until after the next LTS. * This version from Debian now kills processes using remote file systems in a proper way. (LP: #42121) sysvinit (2.86.ds1-56) unstable; urgency=low * Avoid bashism in init.d/rc (Closes: #473694). sysvinit (2.86.ds1-55) unstable; urgency=low * Use $(MAKE) instead of make in debian/rules, to make it easier to use make -j. * Adjust debian/rules to support cross building (Closes: #466148). * Change init.d/rc to disable startpar concurrency if insserv isn't enabled and if startpar fail to run. * Adjust init.d script dependencies for bootmisc.sh, as it can run before $remote_fs and need to run after both udev and hostname. * Change update-rc.d to warn about scripts missing LSB style dependency information. * Updated all patches to make sure they apply without offset and fuzzying to the current source. sysvinit (2.86.ds1-54) unstable; urgency=low * Fix shell quoting typo in conffile removal code (Closes: #464869). * Make sure to only check for conffile removal on upgrades. * Improve displayed text when removing unused obsolete conffiles. * Update version trigger for the /etc/init.d/bootclean to this version, to make sure those left with the file because of bug #464869 get it removed on this upgrade. * Patch startpar to use the correct path to the rcX.d/ directories in "make mode". * Update LSB dependency for mountnfs.sh to make sure it is started after portmap. * Make sure init.d/sendsigs work even when /proc/cmdline is missing as it is on vserver clients (Closes: #468473). sysvinit (2.86.ds1-53) unstable; urgency=low * Correct file name in output when removing conffiles, to use the correct file ending .dpkg-old, not .dpkg-bak. * Fix typo in omitpid handling in init.d/sendsigs (Closes: #462354) * Change progress bar calculations to not divide by zero when there are no progress steps to be taken (Closes: #463504). * Fix quoting typo in initscripts.preinst (Closes: #463551) sysvinit (2.86.ds1-52) unstable; urgency=low * Rewrite conffile removal code in initscripts.preinst to use the original *.dpkg-old and not the *.dpkg-bak introduced by mistake when changing to use dpkg-query. * New patch 83_killall_manref to add references between killall5 and pidof, and mention pidof in killall5(8) (Closes: #461160). * Improve documentation for the CONCURRENCY option in /etc/init.d/rc (Closes: #408491). * New patch 93_sulogin_fallback to let sulogin fall back to the staticly linked /bin/sash if both roots shell and /bin/sh fail to execute. Add suggests for sysvinit-utils to sah, for those that want this extra level of redundancy (Closes: #43317). sysvinit (2.86.ds1-51) unstable; urgency=low * Remove debug code left by mistake in if-up.d/mountnfs when fixing bugs #460463 and 461011 (Closes: #461406). sysvinit (2.86.ds1-50) unstable; urgency=low * Rewrite conffile removal code in initscripts.preinst to use dpkg- query instead of reading /var/lib/dpkg/status directly. * Do not allow "make -C debian/startpar clean" to fail, it should work every time. * Handle both trailing space after interface names and multiple interfaces on one auto line in /etc/network/interfaces when checking if the last interface has been enabled for NFS mounting (Closes: #460463, 461011). sysvinit (2.86.ds1-49) unstable; urgency=low * Handle trailing space after interface names in /etc/network/interfaces when checking if the last interface has been enabled for NFS mounting (Closes: #460463). * New patch 27_last_usageopts to document options -adi in last usage output (Closes: #415525). sysvinit (2.86.ds1-48) unstable; urgency=low * Removed unused mountvirtfs as a dependecy provides for init.d/mountdevsubfs.sh, to avoid duplicate provides. * Removed hostname as a dependency for init.d/bootmisc.sh, as it is now a dependency of checkroot.sh and thus still will have a known order in the boot. * Removed stop dependencies in the LSB header of bootmisc.sh. Its stop operation is a no-op, and it is not run in any level to stop. * Document in stop-bootlogd-single why bootlogd has to be stopped in rcS.d/ for single user boots. * Specify that one is to read the init.d/bootlogd script in the stop-bootlogd* scripts. (Closes: #372676) * Drop libdevmapper as a dependency for init.d/checkfs.sh, as the init.d script was removed in devmapper version 2:1.02.24-1. Conflict initscripts with libdevmapper1.02.1 versions before that. * Drop modutils as a dependency for init.d/checkfs.sh, as the modutils package was removed 2007-07-04. * Drop $syslog as a dependency for init.d/rmnologin, as it seem to be redundant. * Extend waiting time of init.d/sendsigs from 0-5 seconds to 0-10 seconds, to give slow processes more time to shut down properly. * Extend init.d/sendsigs to sync before killing processes, and to detect and report as a failure if it had to use SIGKILL to terminate processes. Based on ideas from Gabor Gombas. * Drop lvm as optional depend for checkfs, mountall and umountfs, and conflict with insserv versions before 1.09.0-12 to make sure a version with the override file providing the same dependencies as reverse dependencies is used. * Extend sendsigs code to omit some pids during shutdown to also load pids from /lib/init/rw/sendsigs.omit and /lib/init/rw/sendsigs.omit.d/packagename, to make it easier for systems starting very early in the boot, or systems that need to modify the pid list at run time, to update their pid list (Closes: #459146). Based on patch from Kel Modderman. * Change init.d/bootlogd to not report failure when trying to stop an already stopped bootlogd. * Change init.d/killprocs to use the same optimization as sendsigs, to avoid having to wait 5 seconds if there is no more processes. * Document the way to list /sys/ in /etc/fstab in initscripts README.Debian (Closes: #401424). * Reduce stop dependency for mountoverflowtmp from $local_fs to umountfs, to allow it to stop later during shutdown, and to make it possible to make it part of the $local_fs dependencies. * Remove initscripts conflict on mdutils. mdutils was removed in woody. * Move optional start dependency on udev-mtab from checkfs to mountnfs, to better reflect the current ordering of these scripts. * Improve content of initscripts README.Debian, and document the new sendsigs omitpid interface there (Closes: #459425). Based on patch from Kel Modderman. * Updated the startpar source to version 0.50 from . * Optimized the startpar case of init.d/rc to only call the progress bar API once for each startpar invocation. * Drop redundant optional dependency on kdm, gdm and xdm for rmnologin, as it already depend on $all. sysvinit (2.86.ds1-47) unstable; urgency=low * Added hostname as dependency and hdparm and bootlogd as optional dependencies for checkroot, to make sure the script are run before the root file system is checked when present. * Added libdevmapper, mtab and udev-mtab as optional dependencies for checkfs to make sure the script are run after the root is writable and before the other file system is checked. * Added lvm as optional stop dependency for umountfs, to make sure LVM is available when all non-root file systems are umounted. sysvinit (2.86.ds1-46) unstable; urgency=low * Move from experimental to unstable. * Remove debug code from init.d/mountoverflowtmp that was included by mistake. * Reduce output from init.d/mountoverflowtmp when VERBOSE!=yes. * Add $all as a dependency for init.d/single, to make sure it is started last in runlevel 1. * Change runlevel setting in LSB header for init.d/rmnologin and init.d/stop-bootlogd to not start in runlevel 1 (single user). This reflect the current and correct setting specified in the postinst. * Remove redundant $local_fs dependency from init.d/bootmisc.sh, init.d/rc.local, init.d/rmnologin and init.d/skeleton * Move /lib/init/bootclean to /lib/init/bootclean.sh and source it instead of running it. sysvinit (2.86.ds1-45) experimental; urgency=low * Replace log_daemon_msg() in init.d/rc with log_action_msg() to improve visual layout when parallel booting is enabled. * Avoid using startpar for rcS.d/. It does not work properly before ptys are available. Related to bug #457896. * Correct init.d/rc progress bar calculations for the startpar option, counting each script that is started in parallel too. * Patch startpar to not print exit codes for each subprocess, to reduce the noise during boot. * Remove usplash progress bar support from initscripts and use the API hook file provided by usplash version 0.5.8-2 instead. Add conflict on earlier versions of usplash. sysvinit (2.86.ds1-44) experimental; urgency=low * Add debian/watch file pointing to ftp.cistron.nl. * Change init.d/mountnfs.sh dependencies to list nfs-common in should-start (Closes: #433359). * Change init.d/umountnfs.sh dependencies to list nfs-common in should-start too. * Mount a 1 MiB tmpfs on /tmp if /tmp is otherwise less than 1 MiB to make sure one can still log in when /tmp/ is too full (Closes: #430814). Based on patch from Ian Jackson and Ubuntu. * Rewrote ifup.d/mountnfs to wait for all 'auto' interfaces to be initialized before trying to mount network file systems (Closes: #386959, #390404, #418596, #419195, #426071, #428823, #432511, #432511, #432750, #433119, #434177). Based on patch from Phil Snowdon. sysvinit (2.86.ds1-43) experimental; urgency=low * Fix typo in /etc/network/if-up.d/mountnfs fstab option parsing used to detect kerberos v5. (Closes: #416223) * Update sysv-rc documentation based on text and suggestions from Alessandro Vesely (Closes: #382410). * Modify rules to install /lib/init/bootclean with the execute flag set (Closes: 457847). sysvinit (2.86.ds1-42) experimental; urgency=low * Change XS-Vcs-Svn to Vcs-Svn as the control flags are official now. * Add Vcs-Browser flag in debian/control, documenting the browsable source. * Change how init.d/rc call scripts, to make sure sourced scripts get the correct argument. * Reduce redundant code in init.d/rc, to make it easier to enable sourcing of *.sh scripts. It is still not possible to source scripts, as some of them use exit and terminate the boot. This is related to bug #339955. sysvinit (2.86.ds1-41) experimental; urgency=low * Update standards-version from 3.7.2 to 3.7.3. No change needed. * Remove empty /lib/ directory from the sysvinit and sysvinit-utils packages. * Remove the empty /usr/share/man/man5/ from the sysv-rc package. * Remove the registration of init.d/modutils from initscripts/postinst, as the package is removed from Debian. sysvinit (2.86.ds1-40) experimental; urgency=low [ Petter Reinholdtsen ] * Rewrite libata shutdown handling to use patch from Werner Fink at SuSe to handle each disk individually and automatically instead of guessing in the init.d script how to handle them collectively (Closes: #426224). This removes the HDDOWN variable from /etc/default/halt. * Improve usage information in update-rc.d by using the same notation as the one used in the manual page (Closes: #268713) * Implement noswap kernel boot option to stop automatic swap activation at boot time (Closes: #388525). Based on patch from Michael Prokop. * Rewrite init.d/rc to use shell features instead of calling sed (Closes: #406393). Patch from Ivan Baldo. * Fix typo in update-rc.d example code (Closes: #433378). * Fix minor typo in rc*.d/README files (Closes: #452384). * Make sure init.d/rc do not complain because the new progress bar API is unavailable (Closes: #457544). * New patch 26_last_ipv6 from Fedora to recognize more IPv6 addresses. * Extend the 68_init_quiet patch based on patch from Fedora to also suppress the "Switching to runlevel" message. This patch is currently disabled because the 'quiet' flag is removed by the kernel when init is called. * New patch 69_init_waiting from Fedora to make sure the init waiting status is preserved across re-exec. * New patch 41_utmp_64bit from Fedora to avoid writing past the utmp.ut_tv struct on 64 bit architectures. (Closes: #450543) * New patch 64_init_init_reexec_env from Fedora to fix typo. Now passes environment on to the new process when re-exec is used. sysvinit (2.86.ds1-39) experimental; urgency=low [ Petter Reinholdtsen ] * Upload to experimental to get more feedback from testers. * Change checkfs.sh dependency info, make modutils an optional dependency as it is no longer installed by default. * Move /etc/init.d/bootclean to /lib/init/bootclean, as it is not an init.d script but a library. * Acknowledge NMU. (Closes: #433386) * Make /lib/init/vars.sh usable when 'set -e' is in effect. Patch from Ubuntu. * Rename 20_pidof.dpatch to 80_killall_pidof.dpatch, to group the killall5 patches together. * New patch 82_killall_exclude_pids.dpatch adding new option -o to killall5, to omit killing the pid given on the command line. Based on patch from Ubuntu. (Closes: #453042) * Use new killall5 -o option in init.d/sendsigs, reading pids to omit from /var/run/sendsigs.omit. This make it possible to list pids there if the process is required to umount the file systems during shutdown. Make initscripts depend on sysvinit-utils (>= 2.86.ds1-39) to make sure killall5 support the -o option. Based on patch from Ubuntu. * Stop progress bar on ltsp-client-core too. The script was renamed in recent ltsp versions. Based on patch from Ubuntu. * Add linux-gnulp to debian/deps-mount, to get the correct behaviour with regard to initscripts dependencies on lpia. Patch from Adam Conrad in Ubuntu. * Add splash screen / progress bar API to initscripts in /lib/init/splash-functions-base, overridable by the splash implementations in /lib/init/splash-functions. Based on patch from David Härdeman. (Closes: #423095) Make initscripts conflict with usplash (<< 0.5) to make sure a version with PULSATE support is used. * Rewrite init.d/rc progress bar support to use new API. Move usplash calls to separate file splash-functions-usplash. This file should be moved to the usplash package. Based on patch from David Härdeman. * Do not mount gfs2 as a local file system. It is a network file system. Patch from Guido Guenther (Closes: #454468). * Modify update-rc.d to refuse to install init.d scripts with illegal characters in the names. Only accept [a-zA-Z0-9+.-] to match the limits on package names. Correct handling of init.d scripts with + in their name (Closes: #431224). [ Henrique de Moraes Holschuh ] * libata shutdown handling fixes: Check http://linux-ata.org/shutdown.html for information * init.d/halt: do not issue -h to halt(8) when the kernel supports auto-shutdown * init.d/halt, default/halt: add HDDOWN option to override initscript halt -h logic * Add halt(5) manpage, updated for HDDOWN. Thanks to Casper Gielen for the manpage. (Closes: #407211) sysvinit (2.86.ds1-38.1) unstable; urgency=low * Non-maintainer upload. * Rework starting of portmap and nfs-common to better fit the new and stricter mount.nfs; in particular, statd must be started for almost all mounts, so start nfs-common even for non-NFSv4 and non-Kerberos mounts. (Closes: #433386) sysvinit (2.86.ds1-38) unstable; urgency=medium * Medium urgency as it solve an RC bug in etch. * New upload, this time with only the files included in svn, and without the cruft included by mistake last time. No idea why svn-buildpackage didn't behave as I expected it to. sysvinit (2.86.ds1-37) unstable; urgency=medium * Medium urgency as it solve an RC bug in etch. * Replace 66_init_emerg_tty patch with one only creating a new session group when sulogin is called directly from init, and not as part of the runlevel start scripts, to avoid leaving the single user shell behind when switching runlevel. Updated patch from Samuel Thibault. (Closes:406587) * Speed up shutdown 1 second by dropping sleep 1 in init.d/halt introduced 2.86.ds1-12. sysvinit (2.86.ds1-36) unstable; urgency=medium * Medium urgency as it solve some RC bugs in etch. * Don't reset step to 0 between running Kill and Start scripts (this is why the progress bar jumps during splash down). Patch from Scott James Remnant and Ubuntu. * Also consider ltsp-client as end-point for the usplash progress bar. Patch from Scott James Remnant and Ubuntu. sysvinit (2.86.ds1-35) unstable; urgency=medium * Medium urgency as it solve some RC bugs in etch. * Make sure init.d/umountfs umount tmpfs file systems in order of decreasing length, to avoid problems on systems with chroots. Patch from Peter Rabbitson. (Closes: #391673) * Add boot option ASYNCMOUNTNFS=no to get the old init.d/mountnfs.sh behaviour until ifup work properly with / on NFS. The default is 'yes' as it has the highest chance of success for non-diskless machines. It is also useful for machines with multiple network cards. (Closes: #388761, #393532) * Fix syslogging code in if-up.d/mountnfs to find logger if it exist. Patch from John Morrissey. (Closes: #398644) * Avoid file descriptor leak to mount in init.d/mtab.sh. Based on patch from David Härdeman. (Closes: #397525). * Fix typo in message added in 91_sulogin_lockedpw.dpatch. Thanks to Robert Bihlmeyer. (Closes: #399715) * Undo use of fuser to kill processes in umountnfs before unmounting partitions, as it will kill init and /etc/init.d/rc during shutdown if root is on NFS or tmpfs file systems are bind-mounted into chroots. Use sendsigs and move it before umountnfs, and thus reopen bugs #258420, #367944. (Closes: #392861) sysvinit (2.86.ds1-34) unstable; urgency=medium * Medium urgency as it solve some RC bugs. * Remove the postinst code in initscripts for mounting /lib/init/rw/. Just require a reboot for it to take effect, instead of trying to make sure it is mounted when the package is installed. Flag this need using /usr/share/update-notifier/notify-reboot-required if it exist. (Closes: #393465, #391605, #390126) * Remove debian/sysv-rc/postinst as well as it is unused now. * Replace SElinux patches 40_selinux and 41_selinux_console with updated 40_selinux from Manoj Srivastava. (Closes: #394304) * Print message when refusing to mount nfs directories because the lockdir exist. * Add exit handler in if-up.d/mountnfs to make sure the lock directory is removed when the script is interrupted. * Remove NEWS entries explaining how to recover from the version of sysv-rc present 6th to 8th of September in unstable. Remove update-rc.d-recover as it should no longer be needed. (Closes: #394332) * Add XS-Vcs-Svn entry in the control file, to make the subversion repository easier to find. sysvinit (2.86.ds1-33) unstable; urgency=low * Do not insert /dev/.static/dev in /etc/mtab, and do not try to umount it either. Avoids confusing users. (Closes: #391122) * Let initscripts conflict with udev << 0.080-1, and stop calling mountdevsub.sh from mtab.sh. (Closes: #391312) * Do not fail to install initscripts even if /lib/init/rw/ can not be mounted. (Closes: #391115) * Adjust how fuser is called by umountnfs, using the exit code from fuser instead of looking at its output. Based on patch from Markus Schoder. (Closes: 390936) sysvinit (2.86.ds1-32) unstable; urgency=low * Set SE context on /dev/pts and /dev/ptm if they are created by mountdevsubfs.sh to work better with SELinux. Patch from Erich Schubert. (Closes: 390897) sysvinit (2.86.ds1-31) unstable; urgency=low * Fix calls to fuser in umountnfs.sh. Thanks to Frank Mehnert for the tip. * Correct code detecting single-user in stop-bootlog-single to only trigger on '1' as single word and not as option argument. (Closes: #390572, #387340) sysvinit (2.86.ds1-30) unstable; urgency=low * Avoid mounting /lib/init/rw/ during installation and upgrades if the kernel do not support tmpfs. (Closes: #390339) sysvinit (2.86.ds1-29) unstable; urgency=low * Ignore problems with creating /var/run and /var/lock during installation and upgrades. This should avoid installation problem in vserver environments. * Only try to create /var/run and /var/lock on the root file system in non-chroot environments? * Use 'mkdir -p' when creating /.root, to avoid failing if it already exist. (Closes: #390327) * Do not try to create /var/run and /var/lock during installation or upgrades if /var is a relative symlink. It is not going to work. (Closes: #390328) * List the options found in /etc/fstab after the default options used when mounting virtual file systems, to allow options in fstab to override the defaults. (Closes: #390181) sysvinit (2.86.ds1-28) unstable; urgency=low * Avoid mounting /lib/init/rw/ when being installed in a chroot environment. (Closes: #390126) * Update init.d/mtab.sh to make sure it store the correct options used to mount /dev/shm in /etc/mtab. * Drop the 'noexec' flag from the /dev/shm/ mount point until etch is released, to avoid breaking dosemu and user-mode-linux. It will be reintroduced after etch is released. This is related to bugs #386945 and #386368. sysvinit (2.86.ds1-27) unstable; urgency=low * Make sure to mount /lib/init/rw/ during upgrades if it isn't mounted already, to make it sure available for its users when the new initscripts package is installed sysvinit (2.86.ds1-26) unstable; urgency=low * Change umountnfs to use /etc/mtab instead of /proc/mounts, to make sure it see the _netdev option. umountfs still uses /proc/mounts to make every non-root file system is unmounted before halt or reboot. (Closes: #383124) * Correct exit code handling in init.d/rc.local. (Closes: #389435) sysvinit (2.86.ds1-25) experimental; urgency=low * Improve manual entry for RAMRUN and RAMLOCK run rcS(5). * Correct mtab.sh to make sure the mtab content matches the options used when mounting /var/run/. * New defaults/tmpfs options RUN_SIZE and LOCK_SIZE, controlling the tmpfs size. Modified the mount code to also use TMPFS_SIZE if set as a fallback value. sysvinit (2.86.ds1-24) experimental; urgency=low * Make sure we do not umount /lib/init/rw/ during shutdown. * Make it easier to debug the splash progress bar in init.d/rc. * Correct mtab entry for /sys, to make sure its 'device' is sysfs. * Include vars.sh in mtab.sh, to make sure the RAMRUN and RAMLOCK options are available when used. * Add defaults/tmpfs option RW_SIZE to control the size of /lib/init/rw/, and change mountkernfs.sh to use TMPFS_SIZE too if it is set. * Rewrite post_mountall() function to avoid mounting /var/run/ and /var/lock/ on top of themselves when RAMRUN or RAMLOCK is enabled. sysvinit (2.86.ds1-23) experimental; urgency=low * Make the tmpfs on /var/run/ and /var/lock/ optional, and provide RAMRUN and RAMLOCK options in /etc/default/rcS to control this. Remove code to convert to this feature when the package is upgraded or installed. It will take effect after a reboot if /etc/default/rcS is modified. Keep them disabled for now. Create .ramfs files in the directories if tmpfs is used to make it easier for other scripts to know if they are safe to use early in the boot. * Create /lib/init/rw/, and mount a tmpfs there to garantee some writable area very early in the boot. Use this in checkroot.sh if a device node need to be created. Create .ramfs indicator when it is mounted. * Move sulogin to the sysvinit-utils package as well. (Closes: #388417) * Add new halt option NETDOWN to make it easier to enable wake-on-lan. (Closes: #388244) * Add a stop dependency for umountroot on kexec, to document the correct location for a kexec script. Related to bug #387599. * Make sure update-rd.d-recover is not compressed to make it easier to run. sysvinit (2.86.ds1-22) experimental; urgency=low * Let mountdevsubfs provide mountvirtfs to work with init.d scripts with obsolete dependency information. * Change mounting of virtual file systems to specify the device name explicitly, to make sure /proc/mounts and /etc/mtab end up with the same device name. * Split killall5, last, lastb, mesg and pidof out of the sysvinit package into a new sysvinit-utils package to make it easier to replace sysvinit. (Closes: #385722) * Mount /var/run/ as tmpfs in mountkernfs.sh, to have some place to write state information very early in the boot, and thus avoid a lot of cludges in scripts running before partitions are checked and mounted. Mount /var/lock/ as tmpfs to avoid having to clean it during boot, and to have some place to store locks for the things running before partitions are checked and mounted. Packages need to create the directories they expect to find in these directories from now on. Patch from Scott James Remnant and Ubuntu. * Adjust checkroot.sh to create the root device node in /var/run/ when needed, instead of mounting its own tmpfs. Modified /var/run/ to allow devices and executables. sysvinit (2.86.ds1-21) experimental; urgency=low * Correct status report handling in umountnfs.sh. Based on patch from Markus Schoder. (Closes: #386893) * Change mountnfs.sh, rc.local and skeleton to use /lib/init/vars.sh instead of sourcing /etc/default/rcS, to activate the INIT_VERBOSE variable for these scripts. * Add support in the init.d scripts for the 'quiet' kernel option. Keep support for the experiemental INIT_VERBOSE, to make it possible to override VERBOSE=no on the kernel command line. * New draft patch 68_init_quiet to make init less verbose when the 'quiet' kernel option is used. If it worked, it would solve bug #326677. * Add a few lintian overrides for things that are correct though strange. * Rewrite sendsigs to sleep up to 5 seconds (instead of always sleeping 5 seconds) during shutdown if there are no processes left to wait for. Modify killall5 to make it report if it found any processes to kill to make this possible. * Modify mtab.sh to include /dev/.static/dev in /etc/mtab, to avoid message from umountfs during shutdown about it being missing in mtab. * Now that mtab is properly updated by mtab.sh before mountall.sh, there is no need to have special handling of proc file systems. Remove the code from mountall.sh. (Closes: #359651) * Only kill processes using remote file systems before trying to umount them, if fuser from the psmisc package is available, and move sendsigs to a point between where remote and local file systems are umounted. Recommend psmisc for package initscripts. (Closes: #258420, #367944) * Add conditional dependency on glibc for hostname.sh and mountkernfs.sh, to allow the glibc warnings to show up without anything running in parallel. * Change default PATH in initscripts and init to prefer sbin/ over bin/, to avoid picking user visible replacement for system binaries. This avoids shutdown problems on some machines. (Closes: #354163) * Fix typo in init.d/README. (Closes: #387236) * Add /usr/bin/ to the checkroot and checkfs PATH, to make sure on_ac_power is used if it is available. (Closes: #387308) * Modify mtab.sh to insert the device name used when mounting /dev/shm/ in /etc/mtab. (Closes: #387216) sysvinit (2.86.ds1-20) unstable; urgency=low * Change initscripts postinst to use update-rc.d program instead of its shell script function when insserv is installed. * Change updatercd call order in initscripts postinst to make sure they are called in dependency order, to work better with insserv. * Improve update-rc.d-recover script to look in /var/log/dpkg.log for version 2.86.ds1-17 as well as 2.86.ds1-16. Patch from Stefan Bellon. * LSB header updates: - sendsigs should stop before umountnfs, and umountnfs should stop before umountfs, until we have a solution for bug #258420 and #367944. - mountnfs.sh should list $network as an optional dependency like for umountnfs, to work on machines without network. sysvinit (2.86.ds1-19) unstable; urgency=low * Add new NEWS entry with a better shell fragment for recovering from the update-rc.d problem. Add script /usr/share/doc/sysv-rc/update-rc.d-recover to make it easier for people to recover from problems introduced in versions 2.86.ds1-16 and 2.86.ds1-17.(Closes: #386649) * Rewrite checkroot.sh to not use lazy umount and a private tmpfs, and keep the tmpfs mounted on /tmp/ as long as checkroot.sh need it. It seem that fsck did not like relative device paths. (Closes: #386347, #386699) * LSB header updates: - umountfs should execute before umountroot, not before halt or reboot. - umountroot should stop in runlevel 0 and 6, and execute before halt or reboot. sysvinit (2.86.ds1-18) unstable; urgency=low * Make sure running update-rc.d several times do not remove the rc*.d/ symlinks, fixing bug introduced in 2.86.ds1-16. Patch from Arjan Oosting. (Closes: #386500) Added entry in NEWS file to give clues on how to fix the breakage in upgraded packages introduced by this. Print a warning when upgrading from the broken versions. * Change checkroot.sh to use a private tmpfs file system for its device file if it is missing from /dev/. (Closes: #386347) * Also create possibly non-existant parent directory of lock directory /var/run/network/mountnfs in ifup script. Patch from Arjan Oosting. (Closes: #386449). * Mark /etc/init.d/rc.local as a conffile, to make sure we do not replace an exisitng rc.local file without warning the system admin. (Closes: #386418) * Mount /dev/pts/ with noexec,nosuid, as it is only used for device files. * Change sysv-rc to print a message when enabling concurrent boot, specifying the concurrency style. Recommend lsb-base and use it if available. * Teach init.d/stop-bootlogd-single to accept the kernel arguments 'S' and '1' as well as 'single' as single-user mode triggers. (Closes: #367465, #372669) * Only report umounting of remote file systems when there are remote file systems to umount. * Remove 'S' from default-stop in skeleton. It never make sense to add stop links in rcS.d/. * Remove execute bit from /etc/init.d/skeleton. (Closes: #372666) * LSB header updates: - stop-bootlogd should run after rmnologin. - mountdevsub.sh should start after udev, if it exist. - rc.local should not depend on $all to allow it to start earler in the boot. - stop-bootlogd-single should depend on $all, to get it last in the rcS.d/ sequence. - umountnfs.sh should stop in runlevel 0 and 6, and execute before umountnfs, sendsigs, portman and $network. - sendsigs should stop in runlevel 0 and 6, and execute before umountfs. - umountfs should stop in runlevel 0 and 6, and execute before halt or reboot, if it exist. - halt should stop in runlevel 0, and not run before any other script. - reboot should stop in runlevel 6, and not run before any other script. sysvinit (2.86.ds1-17) unstable; urgency=low * Make some log messages more usplash friendly in the VERBOSE=yes case. * Undo fix for #309813, it was correct before. sysvinit (2.86.ds1-16) unstable; urgency=low * Fix emergency mode's tty, making sure ^C and ^Z work when booting with 'emergency' kernel option. Patch from Samuel Thibault. (Closes: #374543) * Rewrite usplash reactivation code in init.d/sendsigs to match the code in Ubuntu. It need to behave the same way as the usplash startup code, and should not match the code deciding if usplash_write should be used. * Change handling of CONCURRENCY in init.d/rc, to make sure an unrecognized value is treated as 'none'. (Closes: #380602) * Make sure SATA disks are powered down as well as IDE disks. Patch from Sebastian Reichelt. (Closes: #348172) * Mount /dev/shm, /sys, /proc and /proc/bus/usb using noexec,nodev,nosuid to make it harder to misuse. (Closes: #378182, #378280) * Move NFS mounting to an if-up.d script, to make sure we try to mount NFS file systems after the network is available. Based on patch from Ubuntu. Modified to rewrite mountnfs.sh instead of renaming it to waitnfs.sh. (Closes: #360123) * Add rc.local support to be more compatible with non-Debian distributions. Patch from Fabio M. Di Nitto via Ubuntu. Modified to not print messages when VERBOSE=no. * Drop and remove /etc/init.d/mountvirtfs. It is obsolete. * Do not try to mount netdev file systems in mountall.sh. (Closes: #383073, #386063) * Mount netdev file systems when the network is up. (Closes: #383123) * Umount netdev file systems in umountnfs.sh. (Closes: #383124) * Remove obsolete code in init.d/rc to execute /sbin/unconfigured.sh and /sbin/setup.sh. It was only to be used during installation, and the installer no longer need it. Add a init.d script if you need the functionallity. * Change LSB dependency info for mtab.sh. It need a writable root file system to update /etc/mtab, and should thus depend on checkroot, not mountall. * Move mtab to rcS.d/S12mtab.sh, to make sure it is the first script to run after checkroot.sh. * Change init.d/mtab.sh to be more self-contained, and update /etc/mtab with info on all file systems mounted before /etc/mtab was writable by processing /proc/mounts. Based on patch from Scott James Remnant and Ubuntu. * Add empty functions pre_mountall and post_mountall to reduce the difference between the Ubuntu version * Modify update-rc.d to run properly with perl error checking enabled. * Add support for parsing LSB headers in update-rc.d, and use the runlevel information in the default-start and default-stop headers if they are present. Document this in update-rc.d(8). This can be used instead of the 'multiuser' extention in Ubuntu, by setting the 'default-stop' value to '1' in the init.d script. Only enable this feature when /etc/update-rc.d-lsbparse exist while we verify that LSB headers are correct. * Change the default VERBOSE value from yes to no. * Move init.d/hostname.sh to the very top of the boot sequence, as it only require a readable /etc/hostname and a working kernel. * Use the stop scripts from the runlevel we are leaving, not the one we are entering, when switching between runlevels. (Closes: #309813) sysvinit (2.86.ds1-15) unstable; urgency=low [ Petter Reinholdtsen ] * Modify LSB header for init.d/rmnologin, to make sure it is executed with the 'stop' argument for runlevel 0 and 6, and make it depend on '$all' to put it last in the startup sequence. * Update the LSB descripton header for init.d/hostname.sh. * Make sure hostname.sh return error code when it fail. (Closes: #365062) * Fix 'startpar' concurrency option to only run start and stop scripts only once. Patch from Sören Köpping. (Closes: #378092) * Fix init.d/rc to make it possible to specify the CONCURRENCY setting in /etc/default/rcS. * Fix typo in update-rc.d.8 manual page. Patch from Justin Pryzby. (Closes: #374476) * Improve text in init.d/README to make it more obvious that the .sh scripts should be working also when executed individually. Patch from Bart Martens. (Closes: #362888) * Modify the comment before the conditional calls to on_ac_power, to document that checkfs.sh and checkroot.sh are written to work just fine also when /usr/bin/on_ac_power is unavailable. (Closes: #367867) * Integrate the patches from Ubuntu where I understand why they are useful: - Change runlevel manpage to be less misleading. - Make messages in init.d/sendsigs less technical. Based on patch from Ubuntu. - Update progress bar changes in init.d/sendsigs and init.d/rc. Based on patch from Ubuntu. Changed patch to check only once in init.d/rc if the progress bar is enabled, and to use the same way in sendsigs and rc to decide if it is enabled or not. It will be enabled if /sbin/usplash_write is executable. - If /dev/.udev.log exists, move it to /var/log/udev.log. Patch from Scott James Remnant. - Do not umount /dev/shm in umountnfs.sh. It is a tmpfs and can be safely left behind when shutting down the system. * Update standards version from 3.6.2.1 to 3.7.2. No changes required. * Acknowledge NMU. Thanks, Steinar H. Gunderson . (Closes: #359176) [ Thomas Hood ] * Remove myself from uploaders list. -- Martin Pitt