This bug was fixed in the package sysvinit - 2.88dsf-53.2ubuntu1 --------------- sysvinit (2.88dsf-53.2ubuntu1) vivid; urgency=medium * Drop debian/initscripts.maintscript and other conffile cleanups which were only necessary for P → T upgrades. * Drop our change to keep /etc/mtab a a file instead of a symlink to /proc/mounts. /run/mount/utab has worked well for a long time now. * Merge with Debian unstable. Remaining Ubuntu changes: - Remove some initscripts (bootlogs, motd, rmnologin) and /etc/network/if-up.d/mountnfs as they have been replaced by upstart jobs shipped in other packages. - init.d/umountroot: If /var/run/init.upgraded exists, call telinit u before unmounting the root filesystem. - 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/patches/92_sulogin_support_static_sh.patch: add support for /bin/static-sh as fallback if the regular shell fails to execute - debian/control: Drop Essential: yes from sysvinit-utils since we use Upstart. - debian/control: Do not build the sysvinit and sysvinit-core binary packages. We don't want to support sysvinit as such, nor a dynamic selection between multiple init systems. - Mark all binary packages as Multi-Arch: foreign to allow for upstart to be installable with multi-arch (needed for armhf containers on x86) - Drop /etc/default/tmpfs, and drop mention of it from debian/src/initscripts/man/rcS.5. - Include /lib/lsb/init-functions in various init.d scripts, or move it further to the top, so that they get skipped as there are equivalent upstart jobs. - Drop /lib/init/{tmpfs.sh,mount-functions.sh} and their usage in init.d scripts; we do not need those scripts due to the previous change. - Add debian/src/initscripts/etc/init.d/ondemand: Sleep for 60 seconds, then set CPU Frequency Scaling governor to "ondemand" (or to "interactive" on systems that support it). - Remove mention of RAMLOCK, RAMSHM, and RAMTMP from the rcS(5) manual page. - Fix documentation for other things handled by mountall instead of initscripts: tmpfs, /sys (mountall lets you specify options in /etc/fstab), and ASYNCMOUNTNFS. - debian/src/initscripts/etc/init.d/sendsigs: + sendsigs: OMITPIDS needs to be reinitalized for every loop iteration before concatenating pids of upstart jobs to it. + only omit jobs that are in the 'start' goal or that are in state 'stop/killed'. Those that are destined for 'stop' are waited on and killed like all other processes. + make report_unkillable use apport instead of echoing to console; but disable this reporting by default. + wait up to 300 extra seconds for upstart jobs that have been killed. - debian/src/sysv-rc/sbin/invoke-rc.d: clean eatmydata from environment unless INVOKE_RCD_ALLOW_EATMYDATA is set to value other than '0'. (LP #1257036) - debian/src/sysv-rc/sbin/invoke-rc.d: Call 'initctl reload-configuration' to work reliably on systems with broken inotify. - invoke-rc.d, service: Cherrypick fixes from Debian git repository: + In upstart interfacing code, check that the job is actually known to upstart. This is because during upgrades, pid 1 might still be an older upstart which may not yet support syntax of the newly unpacked jobs, thus sysv-init script should be continued to be used instead. (Closes: #745503) + unset UPSTART_SESSION environment variable to make sure all upstart initctl commands are executed against system init and not the session one. (Closes: #745505) + in upstart interfacing code, map "force-reload" to restart as per Debian policy 9.3.2, since there is no way to know for-sure if a reload is supported. - Revert migration of UTC setting from /etc/default/rcS to /etc/adjtime. - init.d/rc: Disable startpar. It wreaks havoc with "task" upstart jobs as init.d scripts depending on them rely on them to be "running". Drop startpar dependencies. - debian/sysv-rc.postinst, update-rc.d: Adjust for our insserv being in /usr/lib/insserv instead of $PATH. * Cleans up /run/shm/ compat symlink handling. (LP: #1320534) sysvinit (2.88dsf-53.2) unstable; urgency=medium * Fix a formatting error in mountnfs which turned a tab character into U+21A6. sysvinit (2.88dsf-53.1) unstable; urgency=medium * Non-maintainer upload. * Skip the mountnfs hook when being triggered by the networking SysV init script and instead use the systemd built-in mechanisms to mount remote file systems. This avoids a deadlock caused by the rpcbind SysV init script depending on $network and the $network LSB facility being provided by the networking SysV init script. (Closes: #746587) sysvinit (2.88dsf-53) unstable; urgency=medium [ Gabriele Giacone ] * Make Vcs-Git field canonical. [ Petter Reinholdtsen ] * Upload startpar split to unstable. sysvinit (2.88dsf-52) experimental; urgency=low * Upload to experimental to test the startpar migration. * Replace debian/watch with file available from http://qa.debian.org/cgi-bin/watchfile.cgi?package=sysvinit . * Make sure init-d-script exit at the end, to make sure init.d script is only sourced once. * kFreeBSD can not use a script as an interpreter. Rewrite init.d/skeletop to source /lib/init/init-d-script instead (Closes: #739604). * Adjust /lib/init/init-d-script to specify --exec when starting and stopping using start-stop-daemon, and add $START_ARGS and $STOP_ARGS to allow init.d scripts to add arguments to the start-stop-daemon calls. * Split startpar out from sysvinit-utils and into its own separate package. * Make sure sysvinit-utils depend on startpar, to make sure some startpar implementation is available before sysvinit-utils is upgraded to a version without it. * Make sure sysv-rc depend on startpar. sysvinit (2.88dsf-51) unstable; urgency=low * Corrected tmpfs(5) manual page to correctly state when /tmp is not mounted as tmpfs (Closes: #703833). Patch from Charles Plessy. * Add SEE ALSO fsck(8) to rcS(5) manual page (Closes: #686701). Patch from Regid Ichira. sysvinit (2.88dsf-50) experimental; urgency=low [ Thomas Goirand ] * Added maintenance of /run/openrc/started symlinks in the "service" shell tool. [ Petter Reinholdtsen ] * Added code to install startpar-upstart-inject.8 manual page in sysvinit-utils. * Transform init.d/skeleton into an init.d script interpreter /lib/init/init-d-script in sysvinit-utils that can be reused by other init.d scripts to avoid duplicate code (Closes: #464854). See init-d-script(5) for how to use it. * Rewrite service to detect status support by running scripts with 'status' as the argument, and look for usage description. * Make sure initscripts depend on sysvinit-utils (>= 2.88dsf-50) to have the new /lib/init/init-d-script interpreter available. sysvinit (2.88dsf-49) unstable; urgency=low * Document the meaning of +, - and ? for service --status-all in service(8) (Closes: #699529). * Make the service command better at finding scripts with status support (Closes: #619582). Patch from Hamish Downer. * New patch 95_kfreebsd_bootlogd.patch improving bootlogd behaviour on kFreeBSD (Closes: #576443). Patch from Mats Erik Andersson. * Update debian/watch file to use the new upstream location linked to from http://savannah.nongnu.org/projects/sysvinit . * Update meta information about patches applied upstream. * Adjust the sysvinit/hurd-fix-inittab debconf template text to avoid asking a question in the extended description. Thanks Lintian. sysvinit (2.88dsf-48) unstable; urgency=low [ Petter Reinholdtsen ] * Tell init.d/umountfs to not umount /dev/vcs, as it break the console on Hurd. Patch from Samuel Thibault. [ Samuel Thibault ] * Add Hurd -s boot flag parsing. * Make Hurd's boot runsystem use shell wait loop instead of sleep, which seems to also suffer from the race. sysvinit (2.88dsf-47) unstable; urgency=low [ Petter Reinholdtsen ] * Make fastboot detection more robust (Closes: #734901). sysvinit (2.88dsf-46) experimental; urgency=medium [ Thomas Goirand ] * Uploading to Experimental. * Added myself as uploader (after Petter advised for it). * Refreshed patches. [ James McCoy ] * sysv-rc: - Update invoke-rc.d and service to trim .sh from service names when calling systemctl. (Closes: #726483) [ Roger Leigh ] * sysv-rc: - Remove obsolete/broken update-rc.d usage information from update-rc.d(8) and update-rc.d itself (Closes: #736060). Thanks to Julian Gilbey for finding these bugs. * initscripts: - mountkernfs mounts configfs on /sys/kernel/config when available. [ Justus Winter ] * Fixes for Debian/Hurd (Closes: #737073, #721917). - mount-functions.sh: Hurd has a tmpfs translator now, remove workaround. - mount-functions.sh: Add -ocompatible to procfs mounts on Hurd. - mountall.sh: Use pidof -s /sbin/init for robustness. - checkroot.sh: Only run rootcheck on Linux. Neither kFreeBSD nor Hurd have /dev/root and the device ids used here are specific to Linux. - killall5.c: Use sysconf(_SC_SYMLOOP_MAX) instead of MAXSYMLINKS. Fixes build on Hurd. - sysvinit.postinst: Fix file name of gettys in /etc/inittab on Hurd. - Break hurd << 0.5.git20131101~. Older versions of the hurd package lack the necessary functionality to boot Debian/Hurd using sysvinit. - Add runsystem.sysv that uses sysvinit to boot Debian/Hurd. [ Petter Reinholdtsen ] * Updated Japanese debconf translations from Hideki Yamane (Closes: #705132). * Added getty on the Mach console in the Hurd inittab. Patch from Samuel Thibault. * Completed Norwegian Bokmål debconf translation. [ Gabriele Giacone ] * Bump Standards-Version to 3.9.5 (no changes). * sysv-rc: - Remove leftover from .legacy-bootordering flagfile removal (#668312) (Closes: #691210) sysvinit (2.88dsf-45) unstable; urgency=medium * Add upstart support to update-rc.d enable/disable. Closes: #733289. sysvinit (2.88dsf-44) unstable; urgency=low [ Roger Leigh ] * initscripts: - Mount pstore on /sys/fs/pstore (Closes: #722179). [ Andrew Shadura ] * initscripts: - Use ifquery --state instead of parsing ifstate manually. - Update Breaks for ifupdown. [ Steve Langasek ] * Move sysvinit functionality into a new binary package, sysvinit-core, and have sysvinit depend on an ORed list of the available implementations of /sbin/init. Since sysvinit is an Essential: yes package, this is the only away to allow users to cleanly switch between init systems without having to go through a multi-release-cycle transition. Closes: #728566. sysvinit (2.88dsf-43) unstable; urgency=low [ Roger Leigh ] * sysv-rc: update-rc.d only depends upon modules from perl-base. Closes: #716923. Thanks to Michael Stapelberg for this patch. sysvinit (2.88dsf-42) unstable; urgency=low [ Roger Leigh ] * Introduce jessie changes from 2.88dsf-41+jessie1 to unstable. * Correct the Breaks on bootchart to ensure that all broken versions are removed on upgrade (Closes: #694252). Break bootchart << 0.10~svn407-4 to ensure that 0.10~svn407-3.3 and earlier are removed. * Clean up legacy migration logic in maintainer scripts and init scripts for /run, /lib/init/rw, /etc/mtab, /etc/motd. * Don't generate debian/copyright; include missing bits of COPYRIGHT directly. * Upgrade to Standards-Version 3.9.4 (no changes). * Add lintian overrides for init script dependency warnings; these don't apply to our scripts since they have special dependency requirements. * bootlogd: Ensure boot logs are flushed (Closes: #423528). Save logs in /run/bootlog and copy to /var/log/boot at the end of the boot sequence. * sysv-rc: - update-rc.d no longer supports non-dependency-based boot. + Remove non-insserv codepaths. + Warn if the start or stop actions are used. + Skip runlevel mismatch warnings if default action is used (no arguments to validate). + Update manual page to remove start and stop actions, plus manual setting of boot sequence ordering; note that start and stop are no longer supported. Closes: #606505. * initscripts: - Remove static runlevels from update-rc.d calls in postinst. - checkroot.sh skips fsck of btrfs filesystems. Thanks to Ben Klein for this patch. Closes: #701956. Note that this is intended to be a workaround until such time btrfs provides a non-broken fsck.btrfs. - Remove use of absolute program paths in postinst. * bootlogd: - Remove static runlevels from update-rc.d calls in postinst. [ Pino Toscano ] * Update inittab.gnu to the new path of Hurd's getty. * mount-functions.sh: do not add "nodev" to the mount options also on Hurd, as this option does not exist there. [ Steve Langasek ] * Kill pointless script-not-executable overrides for things that are not scripts. * /etc/default/rcS is a conffile; remove postinst code that attempts to create it from a non-existent template. * Relax the Breaks: on upstart for compatibility with Ubuntu. * Don't duplicate the /etc/default/rcS conffile with a template in the preinst; unmodified files should just be removed, and created automatically by dpkg. * Fix 'service $foo restart' implementation for upstart jobs. * Update service(8) manpage to document the support for upstart jobs. * debian/sysv-rc/sbin/invoke-rc.d: replace RUNLEVEL with RUNLEVELHELPER. Using RUNLEVEL causes spurious failures when invoke-rc.d is invoked with RUNLEVEL already defined in the environment (as it is e.g. during bootup) since invoke-rc.d's RUNLEVEL will become an exported variable at that point and cause /sbin/runlevel to return bad data. (LP: #619246) Thanks to James Troup for the patch. * Properly clean up bootlogd conffiles on upgrade using dpkg-maintscript, instead of leaving them orphaned on the filesystem when the bootlogd package is not installed. * Drop maintainer script migration code for versions older than squeeze. * Mark sysv-rc Multi-Arch: foreign, now that debhelper is generating versioned dependencies on it, this is important for cross-installability of packages providing services. Closes: #710304. * Also mark initscripts Multi-Arch: foreign, for similar reasons. This is probably less important, given that the number of packages affected is small and the /run transition is already past, but it is still correct in its own right so might as well be added. Closes: #677369. [ Michael Biebl ] * Redirect error output from 'initctl version', suppressing warnings when upstart is installed but not running. Closes: #685779. sysvinit (2.88dsf-41+jessie1) experimental; urgency=low [ Roger Leigh ] * initscripts: - Move /etc/nologin and /var/lib/initscripts/nologin to /run/nologin. This means that nologin is always created on a writable, available filesystem. Closes: #660862. - Remove code to generate /etc/mtab. /etc/mtab is now always a symbolic link to /proc/mounts. Closes: #630723. - Remove incorrect use of break in case blocks in vars.sh. Thanks to Raphaël Hertzog for this patch. Closes: #701031. - /etc/network/if-up.d/mountnfs: Skip lo if already configured. Closes: #705052. Thanks to Timo Weingärtner. * sysvinit: - Document length limit of 127 in inittab process field. Thanks to Johannes Truschnigg. Closes: #693960. * sysv-rc: - Fix typo in invoke-rc.d(8). Closes: #683804. Thanks to Martin-Éric Racine. [ Michael Stapelberg ] * systemd: update check to look for /run/systemd/system. Closes: #703571 * sysv-rc: - Add systemd support to update-rc.d(8) and invoke-rc.d(8). Closes: #683084. - service(8): use systemctl on machines that run systemd. Closes: #704923 -- Martin Pitt