sysvinit (2.86.ds1-38+etchnhalf.1) stable; urgency=low * Include 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). -- dann frazier Thu, 15 May 2008 01:19:23 -0600 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. -- Petter Reinholdtsen Tue, 30 Jan 2007 23:14:04 +0100 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. -- Petter Reinholdtsen Sat, 13 Jan 2007 20:04:35 +0100 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. -- Petter Reinholdtsen Tue, 28 Nov 2006 19:56:20 +0100 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) -- Petter Reinholdtsen Sun, 26 Nov 2006 20:06:00 +0100 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. -- Petter Reinholdtsen Sun, 29 Oct 2006 18:33:33 +0100 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) -- Petter Reinholdtsen Fri, 6 Oct 2006 19:51:05 +0200 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) -- Petter Reinholdtsen Wed, 4 Oct 2006 20:39:56 +0200 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) -- Petter Reinholdtsen Mon, 2 Oct 2006 19:55:11 +0200 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) -- Petter Reinholdtsen Sun, 1 Oct 2006 20:03:33 +0200 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) -- Petter Reinholdtsen Sat, 30 Sep 2006 18:42:44 +0200 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. -- Petter Reinholdtsen Fri, 29 Sep 2006 18:36:13 +0200 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 -- Petter Reinholdtsen Thu, 28 Sep 2006 20:40:12 +0200 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) -- Petter Reinholdtsen Thu, 28 Sep 2006 19:26:54 +0200 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. -- Petter Reinholdtsen Tue, 26 Sep 2006 15:09:30 +0200 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. -- Petter Reinholdtsen Sat, 23 Sep 2006 19:01:38 +0200 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. -- Petter Reinholdtsen Fri, 22 Sep 2006 21:34:37 +0200 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. -- Petter Reinholdtsen Sat, 16 Sep 2006 12:14:36 +0200 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) -- Petter Reinholdtsen Thu, 14 Sep 2006 15:09:33 +0200 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. -- Petter Reinholdtsen Sun, 10 Sep 2006 17:45:19 +0200 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. -- Petter Reinholdtsen Sat, 9 Sep 2006 20:12:47 +0200 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. -- Petter Reinholdtsen Fri, 8 Sep 2006 19:07:43 +0200 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. -- Petter Reinholdtsen Wed, 6 Sep 2006 20:20:06 +0200 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) -- Petter Reinholdtsen Wed, 6 Sep 2006 15:29:01 +0200 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. -- Petter Reinholdtsen Tue, 25 Jul 2006 19:42:27 +0200 sysvinit (2.86.ds1-14.1) unstable; urgency=low * Non-maintainer upload. * mountnfs.sh: If needed, call nfs-common's init.d script to start rpc.gssd or rpc.idmapd as needed. This is needed for Kerberized NFS mounts and NFSv4 mounts. (Closes: #359176) -- Steinar H. Gunderson Sat, 6 May 2006 21:12:39 +0200 sysvinit (2.86.ds1-14) unstable; urgency=low [ Thomas Hood ] * umountfs: Unmount in order of decreasing mount point length without making use of the sort program (Closes: #356226) Thanks to Jiri Polach for assistance * Don't Build-Depend on selinux stuff on kfreebsd-amd64 (Closes: #357245) * Make initscripts Conflict with sysvinit (<< 2.86.ds1-12) because bootlogd initscript uses an option that was introduced in 2.86.ds1-12 (Closes: #357667) * bootlogd: Mention -p and -c options in usage message (Closes: #357667 too) -- Thomas Hood Thu, 16 Mar 2006 19:45:04 +0100 sysvinit (2.86.ds1-13) unstable; urgency=low [ Thomas Hood ] * umountfs: Unmount even if sort not available (Addresses #356226) * last: Fix strncmp bug (Closes: #353585) * umountroot: Tweak handling of error messages from mount (Closes: #352398) * /etc/init.d/skeleton: Source init-functions (Closes: #353212) * initscripts.postrm: Don't remove /etc/init.d/mountdevsubfs * mount{all,nfs}.sh: Don't set TMPTIME cuz it's not used here * pidof.8: Don't imply that pidof is in /sbin (Closes: #352741) * sysv-rc: /etc/init.d/README: Refer user to /usr/share/doc/sysv-rc/ (Closes: #353083) * Add NEWS.Debian with entry for 2.86.ds1-10 which reports the replacement of the bootclean.sh function library by the bootclean initscript. (Closes: #355746) [ Petter Reinholdtsen ] * Silence init.d/hostname.sh when VERBOSE=no. * /etc/init.d/skeleton: Show how to use the VERBOSE variable. -- Thomas Hood Mon, 13 Feb 2006 08:42:44 +0100 sysvinit (2.86.ds1-12) unstable; urgency=low [ Thomas Hood ] * Aim for testing: Closes: #341075 * Fix dependency on mount for GNU/kFreeBSD (Closes: #349984) This involved updating deps-mount and deps-glibc (Closes: #335297) * bootlogd: 51_bootlogd_syncalot: Don't sync after each line unless the (new) -s option is given (Closes: #205724) * bootlogd: 52_bootlogd_createlogfile.dpatch: Don't write to logfile if it doesn't exist unless the (new) -c option is given (Closes: #341167) * bootlogd: 53_bootlogd_ttyB.dpatch: Also try ttyB0 (Closes: #348506) * last: 25_last_sanify: In "last -x" output: + On "reboot" line print endpoint of uptime too + On "shutdown" line print downtime rather that time between downs (Closes: #58119) * init: 41_selinux_console.dpatch: print to same console as others do (Closes: #349149) * bootclean: Don't fail to clean all directories in /tmp (Closes: #350218) * mountall.sh: Suppress error message about /proc already being mounted (Closes: #349275) * checkroot.sh: Don't try to enable swap if a swap device is /dev/mapper/* or a swapfile (Closes: #346329, #348534) * checkroot.sh: Remove some code specific to pre-2.4-Linux * umountfs - Don't try to unmount tmpfs on /dev (Closes: #350998) - Improve comment explaining use of sort (Closes: #351497) * several scripts: messages: Tweak; better condition them on $VERBOSE * initscripts postinst: Don't run mount{kern,devsub}fs.sh * initscripts postinst: Actually remove some things on purge * rcS(5): Improve; mention that if UTC=no then admin must ensure that zoneinfo is available * shutdown(8): Fix typo (Closes: #350830) * Add README.Debian for sysv-rc * debian/rules: + Handle older dpkg-architecture + Tweak Build-Depends on libselinux1-dev (Closes: #340285, #351906) [ Robert Millan / TH ] * inittab on GNU/kFreeBSD: (Closes: #351615) - Pass "cons25" as parameter to getty (leaving it unspecified required hacks in the getty side). - "translate" all device names into kfreebsd ones, including those in comments. [ A Costa / TH ] * man pages: 10_doc_manuals.dpatch: Fix a shipload o' typos (Closes: #349768, #349769, #349770, #349771, #349772, #349773) [ Ruben Porras / TH ] * Fix typos in Spanish update-rc.d(8) (Closes: #349805) [ Henrique de Moraes Holschuh ] * [S390] inittab: rename inittab.s390-linux to inittab.s390-linux-gnu (Closes: #351871) -- Henrique de Moraes Holschuh Thu, 9 Feb 2006 09:27:51 -0200 sysvinit (2.86.ds1-11) unstable; urgency=low [ Thomas Hood ] * rcS(5): Improve * sulogin(8): Improve; mention -t option (Closes: #186880) * bootlogd(8): Improve; mention need for PTY support * initscripts postinst: Update to reflect script name changes * initscripts: Harmonize PATH settings * checkroot.sh: Don't check for need to start /sbin/update. We don't support pre-2.4 kernels any more. * checkroot.sh, mountall.sh: Run swapon with -v if VERBOSE!=no * Remove obsolete lintian overrides * Previous release also closes: #258290 "bootlogd: Bad file descriptor" closes: #327865 "bootlogd stopped working" closes: #328764 "bootlogd fails to start" [ Petter Reinholdtsen ] * Time to upload all these changes into unstable (Closes: #341075) * Revert default VERBOSE value to "yes" to reduce the amount of user visible changes in this upload. -- Petter Reinholdtsen Sun, 22 Jan 2006 22:17:38 +0100 sysvinit (2.86.ds1-10) experimental; urgency=low [ Thomas Hood ] * bootclean: Adapt from old bootclean.sh; handle return status more carefully; print diagnostic messages on failures; eliminate use of subshells; add comments; improve deletion code * bootclean: Always rm /tmp/.X*-lock * mountall.sh: Eliminate unnecessary check for pre-2.4 Linux kernel * mountnfs.sh, mountall.sh: Choose different names for intnl. functions * mountnfs.sh: Only sleep 1 second after starting portmap; note that the code to start portmap will disappear someday * various scripts: Make more messages depend on VERBOSE being != "no" * various scripts: Handle return status more carefully * various scripts: Eliminate unnecessary uses of subshell * mountvirtfs -> mountkernfs.sh; mountdevsubfs -> mountdevsubfs.sh; mountvirtfs now calls the above two (for backward compatibility); mtab.sh now runs mountkernfs.sh and mountdevsubfs.sh to update the mtab file after mountall.sh. * /etc/init.d/rc: Restore PATH after sourcing an initscript * debian/rules: + Use ':', not the deprecated '.' between owner and group names in chown commands + Use '-o root' with install * /etc/init.d/README: Note that /etc/init.d/*.sh must have '#!/bin/sh' and must follow policy 10.4. * Override lintian and linda warnings [ Ubuntu backports by T.H. ] * During shutdown and reboot take the progress bar from 100 to 0 * Reduce diff with 2.86.ds1-6ubuntu1 Thanks to Mark Hatle and Marco d'Itri for help with this release. -- Petter Reinholdtsen Sun, 15 Jan 2006 13:38:42 +0100 sysvinit (2.86.ds1-9) experimental; urgency=low [ Thomas Hood ] * Split mountdevsubfs out of mountvirtfs and run it at S04 and S37. [Note added in 2.86.ds1-10: these scripts were renamed] This should not behave any differently, but the split will allow packages that futz with /dev to do this at S03. * umountfs: Only run umount if there is something to unmount (Closes: #345272) * urandom: Set PATH so that find can be found (Closes: #345273) * init: 64_init_set_PATH.dpatch: Set PATH if it's unset on re-exec (Closes: #345370) * init: 65_init_u_in_06.dpatch: Allow 'telinit u' in runlevels 0, 6 (Closes: #345719) People running Debian from unusual media (such as filesystems embedded in NTFS files) are wanting to unmount /sbin at the last moment and need to re-exec init to do so. * umountroot: Remount ro with -f on GNU/kFreeBSD (Closes: #344547) * checkroot.sh, checkfs.sh: Pause for five seconds if sulogin fails so that the user can see the error message (Addresses #337444) * Include /var/log/fsck/ in initscripts package (Closes: #346139) * Replace /lib/init/functions.sh with /lib/init/mount-functions.sh for use by mountvirtfs and mountdevsubfs * various initscripts: Clean up code that reads fstab * various scripts: Redirect which program's stderr to /dev/null since the GNU version prints an error message when the command is not found (Closes: #345321) * /etc/default/rcS: Make VERBOSE and DELAYLOGIN default to "no" * /etc/default/rcS: Remove descriptions of variables; leave behind a reference to rcS(5). This eliminates the problem of comments becoming outdated without our being able to update them. * Remove obsolete docs * Make initscripts Depend on mount >= 2.11x-1 (Closes: #345968) * Remove obsolete dependencies on bsdutils, coreutils, dpkg, kbd and util-linux: the versions in question are older than oldstable, so any newly installed system and any system that has upgraded to sarge (or even woody) satisfies the constraints. * Remove obsolete dependency on the last package: last was forced off systems when they upgraded to buzz * Add Replaces to Conflicts: mdutils which no longer exists even in oldstable * initscripts postinst: Remove obsolete GMT-to-UTC code: this conversion was performed when systems were upgraded to potato * sysvinit: Depend on libc6 rather than Pre-Depending on it; we don't do anything special in the preinsts any more * Correct documentation of init's -e and -t options * Tweak descriptions * Add READMEs for remaining runlevel dirs (Closes: #242957) * Previous release also closes: #227540 "skeleton: Don't include /usr/local/* in PATH" closes: #346415 "mountnfs.sh doesn't work with the "bg" mount option" [ Petter Reinholdtsen ] * sysv-rc: Fix some typos in the startpar handling. (Closes: #345269) * Add code to detect and report bad 'exit' calls in init.d scripts, if they kill /etc/init.d/rc. * Make sure sourcing work with dash /bin/sh, by using 'set $action' to pass arguments to the script. (Closes: #345267) Thanks to Mark Hatle for help with this release. -- Petter Reinholdtsen Sun, 8 Jan 2006 18:08:51 +0100 sysvinit (2.86.ds1-8) experimental; urgency=low [ Thomas Hood ] * Omit /run until we are sure it's needed (Closes: #344001) * Previous release also closes: #338736 "mountvirtfs: Succeeds in various cases it should fail" closes: #342160 "checkroot.sh ignores fsck result" closes: #342744 "checkroot.sh sources mountvirtfs, yet supplies arguments" * Use /proc/mounts instead of /etc/mtab when unmounting (Closes: #338801) * Check for files under mountpoints more thoroughly * initscripts.postinst: + Don't fail to install on file-rc systems (Closes: #343993) + Don't fail to install in chroots (Closes: #344089) * No longer keep the dynamic nologin flag file on the root filesystem; instead, keep it at /var/lib/initscripts/nologin. Note to admins: initscripts's postinst symlinks /etc/nologin to the latter location. To switch login delaying on or off permanently, set DELAYLOGIN=no in /etc/default/rcS and either create or delete (respectively) /var/lib/initscripts/nologin. * mountvirtfs: Mount /dev/shm earlier; move long comment to README.Debian * Add 45_pidof_symlink.dpatch: Make pidof an absolute symlink (Closes: #343862) * debian/rules, 30_strip.dpatch: Strip .comment section from executables (Closes: #343863) * In umountfs, run umount with -f (Closes: #344547) [ Petter Reinholdtsen ] * Enable the startpar option as it should work now that .sh scripts are serialized. The clock should no longer jump while startpar is used. -- Petter Reinholdtsen Tue, 27 Dec 2005 14:18:19 +0100 sysvinit (2.86.ds1-7) experimental; urgency=low [ Petter Reinholdtsen ] * Add commented-out code to /etc/init.d/rc for sourcing *.sh scripts for runlevel 'S'. This is preparation for fixing #339955. Actually fixing it has to wait until other packages remove "exit" from their .sh scripts. * Implement progress bar support for splash screen. Enabled when usplash_write is in PATH. Patch from Scott James Remnant and Ubuntu. [ Thomas Hood ] * *.sh: Make sure that these do their thing when they aren't given any command line arguments (as is the case when they are sourced) * initscripts: Improve use of log_* functions (Closes: #55143, #116366, #323749) * bootclean.sh: Do not delete symlinks-to-directories from /var/run/ (Closes: #272066) * checkroot.sh: Fix double printing of 'Done checking root file system'; mountall.sh: Fix chopped-up printing of mount information (Closes: #339979, #331397, #341097 and presumably closes: #332309) * checkroot.sh, checkfs.sh: Save fsck logs (Closes: #189356) Thanks to Theodore Y. Ts'o. * checkroot.sh, mountvirtfs: Eliminate use of dir_writable in order to try to please selinux (Closes: #333836) * checkroot.sh: Only run findfs for mount on / (Closes: #275680) Thanks to Cameron Hutchison for the patch. * mountall.sh, mountnfs.sh: Split call to bootclean out into separate script called at the next sequence number (Closes: #286479) * bootmisc.sh: Shorten motd header (Closes: #340017) * bootmisc.sh: Store dynamic motd in /var/run/ and make /etc/motd a symbolic link. The EDITMOTD variable no longer has any effect; to disable updating of the motd just point the /etc/motd symlink to a static file such as /etc/motd.static. * bootmisc.sh: Rotate dmesg log with savelog (Closes: #237074) and chgrp adm. * umountroot: Change mount command in order to exclude bind mounts of the root directory (Closes: #339023) * Replace /etc/rc1.d/20single by /etc/rc1.d/S30killprocs and /etc/rc1.d/S99single so that packages can insert scripts to do things between the "killall5" in the former and the "exec init -t1 S" in the latter. This may help to address #145280. * umountfs: Unmount tmpfs before swapoff and other fs's afterwards (Closes: #328582, hopefully without reopening #84782) * Make stop-bootlogd a distinct script rather than a symlink to bootlogd. Give it its own LSB header. * Add stop-bootlogd-single initscript to stop bootlogd in "single" mode (Closes: #213028, #220025) * checkfs.sh: Implement FSCKTYPES (Closes: #89481) Set, e.g., FSCKTYPES="ext2,msdos" to fsck only file system types ext2 and msdos See fsck(8) for syntax. FSCKTYPES="none" disables fsck of file systems (other than the root filesystem) altogether. * all initscripts: Set variables using common script * all initscripts: Fix usage messages * all initscripts: Allow VERBOSE to be set via the INIT_VERBOSE=yes kernel argument (Closes: #286082) Experimental. The name of the kernel argument may change in the future if we decide to implement this more generally. * Improve skeleton initscript * all scripts: Clean up; standardize indentation * all scripts: Use the "which" program to test for executability * initscripts: Experimentally include /run; include /sys in Linux builds * mountvirtfs: Mount a tmpfs on /run * mountvirtfs: Warn if mount point has stuff under it (Closes: #95390) * initscripts postinst: Mount virtual filesystems * initscripts preinst: Remove ancient /etc/init.d/boot conversion code (Closes: #343596) * default config files: Clean up comments * Make initscripts Depend on debianutils >= 2.13.1 in order to prevent #295850. Note that debianutils also has to be >= 2.12.0 so that the "which" program is available in /bin. * Remove currently unneeded sysvinit Dependency on coreutils (Closes: #316423) * pidof: If the program is specified with a path, don't match processes of programs run from different paths (Closes: #160329) * init: 40_selinux.dpatch: Remove superfluous printf argument * init: Add 63_init_longer_procname.dpatch (Closes: #336172) * init.8: Mention that entering runlevel 1 kills all processes (Closes: #238861) * update-rc.d.8: Mention that update-rc.d will not create multiple start or multiple stop symlinks for a service in a single runlevel directory. (Closes: #330155) * Update FSF address -- Petter Reinholdtsen Sat, 17 Dec 2005 21:26:03 +0100 sysvinit (2.86.ds1-6) unstable; urgency=low [ Petter Reinholdtsen ] * Updated versioned dependency of sysvinit from sysv-rc version 2.85-2 to version 2.86.ds1-1.2, to make sure init.d/rcS calls all init.d scripts with 'start' argument. Let initscripts conflict with sysv-rc (<< 2.86.ds1-1.2) as well, to document that it need a newer sysv-rc to work properly. (Closes: #338966) * Added 91_sulogin_lockedpw.dpatch to make sure file systems can be fixed on machines with locked root accounts too, by presenting a shell in these cases. Patch from Ubuntu and Thom May. (Closes: #326678) * Make sure checkroot.sh calls mountvirtfs with argument 'start', to avoid usage message and making sure it is executed as it should. (Closes: #338966, #339351) * Print message when hostname is set. Use default 'localhost' if no hostname is set in /etc/hostname, and no current hostname is set. * In mountall.sh, add '-e' to swapon call, to ignore missing devices when enabling swap. Because of this, show error messages from swapon. * Add link to alioth project page in the Debian README. * Created new file /lib/init/functions.sh for functions common to scripts in initscripts. Moved dir_writable() into it. * Add new function selinux_enabled(). Use it before running /sbin/restorecon. [ Thomas Hood ] * Improve update-rc.d man page text. * Use log_action_* functions from recent (>= 3.0-6) lsb-base, to improve output formatting. (Closes: #338967) * Clean up initscript messages a bit, making them easier to understand for non-technical users. -- Petter Reinholdtsen Sat, 19 Nov 2005 15:07:33 +0100 sysvinit (2.86.ds1-5) unstable; urgency=low [Petter Reinholdtsen] * Make sure init.d/bootmisc.sh depend on hostname, as it uses the host name when generating motd. * Improve update-rc.d(8) manual page, documenting how to remove services and how to make sure services are not started. Patch from Peter Valdemar Mørch. * Add sysv-rc-conf(8) to the SEE ALSO section of update-rc.d(8). * Add suggest to bum for sysv-rc. Also added bum(8) to the SEE ALSO section of update-rc.d(8). (Closes: #332823) * Get update-rc.d to understand symlinks to /etc/init.d/ as well as symlinks to ../init.d/. (Closes: #338666) * Adjust and clean up init.d dependecy information. * Added 90_shutdown_H.dpatch to make sure shutdown flags -P and -H require the -h flag, and document this in the manual page. (Closes: #331041) * Added 71_wall_hostname.dpatch to include hostname in wall message from halt. (Closes: #325772) * Add comment in freshly installed /etc/default/rcS mentioning its origin. (Closes: #336873) * Revert fix for bug #295335, as the manual page patch is reported to be incorrect. Commented out 10_doc_lastb.dpatch from patches/00list. * Improve argument handling for init.d scripts. Based on patch from Enrico Zini. * On FreeBSD, set TERM=cons25 in init as the kernel isn't setting TERM. Patch from Robert Millan. (Closes: #335023) -- Petter Reinholdtsen Sun, 13 Nov 2005 12:55:47 +0100 sysvinit (2.86.ds1-4) unstable; urgency=low [Petter Reinholdtsen] * Add '#! /bin/sh' to the init.d scripts missing those. * Improve boot message for init.d/bootlogd. * Make sure init.d/checkroot.sh only print status of swap mounting when VERBOSE!=no. Improve boot message for this case. * Improve usage message of update-rc.d. Uncredited patch from Ubuntu. * Set pkg-sysvinit-devel@lists.alioth.debian.org as the package maintainer, and move Miquel van Smoorenburg into the uploaders list. * Get bootlogd working, by fixing the exit code patch. (Closes: #327865) * Get ifdown working on kFreeBSD. (Closes: #327031) * Quiet down update-rc.d by removing unnecessary warning. Patch by Thomas Hood. (Closes: #164471) * Improve update-rc.d(8) manual page. (Closes: #243154) * Fix typo in pidof(8) manual page. * Update FSF address in copyright files. -- Petter Reinholdtsen Sun, 2 Oct 2005 11:44:07 +0200 sysvinit (2.86.ds1-3) unstable; urgency=low * Fixed typo in last(1) manual page. (Closes: #326408) * Documented -e and -t option in telinit. (Closes: #272657) * Rewrote init.d/rc to avoid error from ls when no start or stop script is present in one rcX.d directory. * Updated the startpar source to version 0.49 from . Still hanging the boot on my test machine, so it is not included in the binary package. Added 01_enable_startpar.dpatch to document how to enable it. * Changed section of packages from base to admin, to match override file. * New lsb-base package avoid error during shutdown. (Closes: #327570) -- Petter Reinholdtsen Sun, 25 Sep 2005 10:40:03 +0200 sysvinit (2.86.ds1-2) unstable; urgency=low * This package is now maintained on Alioth as the pkg-sysvinit project. * Add myself as uploader. * Add support for linprocfs on kFreeBSD. Patch from Robert Millan. (Closes: #300963) * Rewrote /etc/mtab handling in mountvirtfs to work with SELinux. Based on patch from Luke Kenneth Casson Leighton. (Closes: #270919) * Add SELinux support to sysvinit on linux. Add build-depend on libselinux1-dev and libsepol1-dev for all linux archs. Patch from Manoj Srivastava, based on patch from Fedora. (Closes: #242900, #249515,#315611) * Drop redundant build-depend on essensial package bash. * Add version 0.47 of startpar(8) program from SuSe. Part of experimental parallel booting system. Not included by default yet, as it tend to hang during boot. * Add support for starting init.d scripts on the same level in parallel, to speed up the boot process a bit. Currently, only a simple system is implemented (and enabled by adding CONCURRENCY=shell in /etc/default/rcS). This simple system messes up the script output during boot. Disabled by default. (Closes: #316290) * Add 'kdm xdm gdm $syslog' as conditional dependencies of rmnologin, to move it further back in the boot process. * Make sure bootlogd return non-error exit code after forking off the child. (Closes: #326640) * Add more warning flags to list of compiler flags, to get more info about problematic code. * Avoid race-condition while fork()ing. Patch from SuSe. (Closes: #327612) * Improve error message when fork() fail in init. Patch from SuSe. * Avoid hardcoding tty name length in wall, use UT_LINESIZE instead. Patch from SuSe. * Force kernel to reschedule after killing processes. Patch from SuSe. * Make sure killall never tries to kill init (pid 1). Patch from SuSe. * Acknowledge NMUs. (Closes: #30659, #85221, #204857, #225476, #247102, #248739 #252059, #267935, #269774, #269894, #272588, #272916, #273496, #277204, #281782, #284426, #286081, #287243, #288098, #289562, #295094, #295335, #296489, #300645, #311741, #314351, #316431, #317385, #317704, #318453, #318857, #323749, #325933, #326460, #326495, #326647) -- Petter Reinholdtsen Sat, 11 Sep 2005 17:46:54 +0200 sysvinit (2.86.ds1-1.2) unstable; urgency=low * Non-maintainer upload to fix bugs. * Moved all changes to upstream source to debian/patches/, and use dpatch to apply them. * Modified pidof to not print empty line if no pid was found. (Closes: #225476) * Merged rcS into rc. (Closes: #326460) * Convert french version of update-rc.d(8) from UTF-8 to ISO-8859-1. (Closes: #273496) * Make sure binaries are stripped when installed, to avoid lintian warning. * Fix typo in debian/README (seperate->separate). * Modify debian/rules to install Debian changelog for sysv-rc and initscripts as changelog.Debian to keep lintian happy. * Corrected section of mountpoint(1) manual page. * Improve lastb(1) manual page. (Closes: #295335) * Changed init.d/rc to short-circit stop scripts when switching runlevels. Based on patches from Lukas Eppler and Steven Barker. (Closes: #30659) * Optimize boot speed by enabling the short-circit of start-scripts when switcing from rcS.d to the real runlevel. * Splitted umountfs in umountfs and umountroot. (Closes: #252059) * Avoid umounting /dev/ in umountfs. (Closes: #287243) * Made sure all init.d scripts handle start or stop argument. (Closes: #326495) * Added GFS file system to list of networked file systems. (Closes: #295094) * Added ocfs2 file system in to list of networked file systems. Patch from Fabio M. Di Nitto and Ubuntu. * Added trailing newline to the rebooting message, to make sure kernel messages end up on lines of their own during reboot. (Closes: #323749) * Added init.d script dependency info in LSB format. (Closes: #325933) * Do not fsck when running on battery. Patch from Thom May and Ubuntu. (Closes: #326647) * Updated initscripts to depend on lsb-base, and use the LSB functions in all init.d scripts. Patch from Ubuntu. (Closes: #269774) * Added some support for VERBOSE in checkfs.sh. * Make sure urandom pool size is restored on boot. (Closes: #267935) * Make it easier to override /etc/defaults/rcS parameters. (Closes: #286081) * Accept 96 (32/mount failure + 64/some mount succeeded) as a valid exit code from mount in mountall.sh. It seem to be returned when some mount points already was mounted. * Updated Standards-Version to 3.6.2.1 (no changes needed). -- Petter Reinholdtsen Sat, 10 Sep 2005 12:50:10 +0200 sysvinit (2.86.ds1-1.1) unstable; urgency=low * Non-maintainer upload (bug cleanup) * Fix stupid find warning by ordering the arguments correctly in /etc/init.d/bootclean.sh (closes: #284426, #316431) * Have cleantmp() in bootclean set TMPTIME to 0 if undefined to prevent from breaking if the variable is not defined properly. (Closes: #314351) * Introduce a better warning message in checkroot.sh when it fails to fsck the root filesystem (Closes: #272916) * Added a comment in /etc/init.d/skeleton regarding the use of 'sleep 1' and describing possible changes maintainers might need to introduce (Closes: #277204) * Remove .clean files if not owned by root in bootclean.sh to prevent users from tricking us to _not_ clean up some directories (Closes: #289562) * Do not remove nologin twice (i.e. in checkroot.sh and in rmnologin) (Closes: #317704) * Check if there is a portmapper running before starting it up in mountnfs.sh, also, use the portmap init.d script instead of running it through start-stop-daemon if it is available (Closes: #85221) * Do not install manpages with the execute permission bit (Closes: #281782) * Clarify semantics of TMPFS_SIZE in /etc/default/tmpfs (Closes: #317385) * Add feedback to user based on start-stop-daemon exit code in the skeleton init script (Closes: #296489) * Document the fact that shutdown touches /etc/nologin only 5 minutes before shutting down the system (Closes: #204857) * Add '-f' option to last manpage (Closes: #247102) * Fix man page and help screen of update-rc.d (Closes: #268713, #288098) * Changed 'editted' to 'regenerated' in /etc/default/rcS (Closes: #269894) * Fix formatting issue in mesg(1) (Closes: #272588) * Fix typo in bootlogd(8) manpage (Closes: #300645) * Document exit status of pidof(1) (Closes: #311741) * Point to proper chapter in init.d/README (Closes: #318453) * Describe the proper behaviour in rcS's README (Closes: #318857) * Added watch file provided by Stefano Fabri (Closes: #248739) -- Javier Fernandez-Sanguino Pen~a Wed, 10 Aug 2005 18:58:47 +0200 sysvinit (2.86.ds1-1) unstable; urgency=low * New upload with a clean .orig.tar.gz archive without the .o files. No other changes from 2.86-5. Used the .ds naming convention that is suggested for packages which need to have their docs removed (thanks, Marc Haber) -- Miquel van Smoorenburg Fri, 10 Dec 2004 00:04:18 +0100 sysvinit (2.86-5) unstable; urgency=high * Remove leftover debugging "echo" that prevented /etc/init.d/mountnfs.sh from actually doing anything (closes: #270894) -- Miquel van Smoorenburg Fri, 10 Sep 2004 16:57:34 +0200 sysvinit (2.86-4) unstable; urgency=high * Same upload, this time built without -sa so that original source isn't included (archive rejects it). -- Miquel van Smoorenburg Wed, 8 Sep 2004 11:59:08 +0200 sysvinit (2.86-3) unstable; urgency=high * Upload of -3 to unstable so that -2 can go into testing-proposed-updates -- Miquel van Smoorenburg Mon, 6 Sep 2004 20:07:38 +0200 sysvinit (2.86-2) testing-proposed-updates; urgency=high * Remove .clean file before touching it; prevents symlink attack which in rare circumstances could result in random file creation (closes: #264234) * Do the above in a noclobber environment (Martin Pitt). * Don't mount network filesystems multiple times (closes: #264894) * Include .orig.tar.gz source in -2 again ("dpkg-buildpackage -sa") - the one that comes with -1 erronously includes .o files and binaries (oops!). -- Miquel van Smoorenburg Mon, 6 Sep 2004 19:02:19 +0200 sysvinit (2.86-1) unstable; urgency=medium * Better algorithm for pidof (closes: #248210) * Include fsck.nfs.8 (closes: #250089) * Include new skeleton script (closes: #244908) * Better error message on failure to find path to mtab (closes: #255820) * Add support for fstype ncp (alias for ncpfs) (closes: #259971) * Touch /tmp/.clean earlier (closes: #255303) * Don't include halt and reboot for hurd-i386 (closes: #255880) * Remove XSIisms in mountvirtfs and invoke-rc.d (closes: #256726) * Add "-t $roottype" to mount -f for / (closes: #255849) * Always initialize PATH (to /bin:/usr/bin:/sbin:/usr/sbin) (closes: #258065) * Try harder to remount ro and rw (closes: #259979) * Add support for LABEL=/UUID= in checkroot.sh (closes: #261342) -- Miquel van Smoorenburg Fri, 30 Jul 2004 14:17:05 +0200 sysvinit (2.85-22) unstable; urgency=medium * Fix typo in /etc/init.d/halt (closes: #255133) -- Miquel van Smoorenburg Sat, 19 Jun 2004 12:40:12 +0200 sysvinit (2.85-21) unstable; urgency=medium * Create dependencies on glibc (>= 2.3.2.ds1-12) not through the shlibs.local hack anymore. That might clash with a future system shlibs file. Use the same method as we use to generate the mount dependency - with a script (closes: #253314). * In checkroot.sh always use the two-argument version of mount so that mount doesn't confuse device and directory (closes: #254724) * Change [ cond1 -a cond2 ] to [ cond1 ] && [ cond2 ] everywhere. * Fix mountvirtfs, it broke for virtual filesystems mentioned in fstab without any options (closes: #254271) -- Miquel van Smoorenburg Fri, 18 Jun 2004 13:43:55 +0200 sysvinit (2.85-20) unstable; urgency=low * Create /dev/pts in mountvirtfs for Linux + devfs (closes: #252625) -- Miquel van Smoorenburg Mon, 7 Jun 2004 13:45:12 +0200 sysvinit (2.85-19) unstable; urgency=low * Create /dev/{pts,shm} and /sys in postinst (closes: #252820, #252925) -- Miquel van Smoorenburg Mon, 7 Jun 2004 13:30:31 +0200 sysvinit (2.85-18) unstable; urgency=medium * Fix typo in /etc/init.d/single (closes: #252611) -- Miquel van Smoorenburg Fri, 4 Jun 2004 14:38:55 +0200 sysvinit (2.85-17) unstable; urgency=low * On Debian/k*BSD, dmesg is in /sbin (closes: #252518) * On Debian/k*BSD, RB_HALT_SYSTEM is called RB_HALT * RB_POWEROFF can be RB_POWER_OFF (closes: #252547, #252598) * Add /sys, /dev/pts and /dev/shm to sysvinit. Remove the mkdir's for those directories from mountvirtfs. -- Miquel van Smoorenburg Fri, 4 Jun 2004 11:51:46 +0200 sysvinit (2.85-16) unstable; urgency=high * Remove /etc/init.d/{mountkernfs,devpts.sh) that glibc installed since mountvirtfs now provides these. (closes: #230857) * Remove -e from mountvirtfs (closes: #232122) * Add some more comments/documentation to mountvirtfs * Initscripts depends on libc6 anyway right now, so we let it depend on libc6 (>= 2.3.2.ds1-12) via shlibs.local * Suggest sysv-rc-conf (closes: #244643) * Updated french manpage for update-rc.d (closes: #245007) * Use larger dmesg buffer (-s option) (closes: #242923) * Fix up comments in /etc/default/tmpfs (closes: #245681) * Added GNU/Hurd and kFreeBSD fixes (closes: #246743) * Run mountvirtfs again at S36 so that it mounts /proc/bus/usb in case usb was loaded as a module (closes: #249031) * Don't mkdir /dev/pts if it's not there - and don't mount devpts filesystem on it either in that case. Should help udev. * mountvirtfs now uses the options from /etc/fstab (closes: #251016) * add filesystem type "cifs" as network fs (closes: #248919) -- Miquel van Smoorenburg Thu, 3 Jun 2004 20:03:33 +0200 sysvinit (2.85-15) unstable; urgency=high * Drop bogus dependency on fileutils (closes: #241570) -- Miquel van Smoorenburg Mon, 5 Apr 2004 17:07:24 +0200 sysvinit (2.85-14) unstable; urgency=high * When remounting "/", just use "mount -n -o remount,rw /" and don't bother with the device or other arguments - "mount" will look up the root device in /etc/fstab, but the device argument to the mount system call is ignored by the kernel for remount anyway. So this doesn't hurt even if the device is incorrect, and it fixes a platform dependant case where "mount -n -o remount,rw /" fails with "mount: you must specify the filesystem type". That is a bug in mount(8): if you don't specify the type, it passes garbage to the kernel, and some archs choke on that. (closes: #239735) * change checkroot.sh so that it never checks the root filesystem if root is on NFS even if fs_passno is set (closes: #240470) * Reckognize type "nfs4" as network filesystem * Better check for file-rc in postinst of initscripts (closes: #240066) * Use /proc/sys/kernel/random/poolsize in urandom script (closes: #240057) * Applied Debian/KFreeBSD patches. Moved initctl to /etc/.initctl for the FreeBSD kernels. (closes: #226939) -- Miquel van Smoorenburg Wed, 31 Mar 2004 13:10:48 +0200 sysvinit (2.85-13) unstable; urgency=low * Add /etc/default/halt (closes: #196983) * Set default variables used in every /etc/init.d script explicitly and only source /etc/default/rcS if it is present (closes: #239439) * Fix MOTD typo in bootmisc.sh (closes: #239279) * Include lastb (closes: #239586) * Remove /lib/init/realpath (closes: #239343) -- Miquel van Smoorenburg Tue, 23 Mar 2004 16:55:38 +0100 sysvinit (2.85-12) unstable; urgency=low * Support for root on devices with a dynamic major, such as LVM and partitionable RAID. If the root device in /etc/fstab doesn't match up with the actual root device, we try to create a temporary device node in /dev/shm/root so fsck and remount rw can be done. * Use lstat() instead of stat() in the mountpoint(8) utility. * Fix checkroot devfs behaviour. * Hmm, /usr/bin/test -w works to check if a filesystem is readonly, but bash's built-in doesn't. Work-around with touch -a. * /lib/init/readlink was completely broken, argh. Fixed borkenness. Also changed behaviour so that readlink -ff is equivalent to realpath, and -f doesn't insist on the path being a symlink. (closes: #238611) * Removed one more init_setenv debug message from init.c * Move mountpoint and readlink to initscripts, so that initscripts doesn't have to depend on a specific version of sysvinit anymore (closes: #239059) * Make initscripts non-essential (needed for Hurd) (closes: #219969). * Remove period from short description (closes: #239098) * Improved handling of /etc/nologin symlink (closes: #184402) * Make sure 'skeleton restart' restart the service even if it is not running in accordance to policy 3.5.9.0 (closes: #184342) * Change -name x into -path ./x in bootclean.sh (closes: #193627) * Remove /usr/local from bootlogd path, move /sbin:/bin to the front of the PATH. /usr/bin:/usr/sbin is kept around because the stop action needs it for savelog. (closes: #230763) * Remove x bit from bootclean.sh (closes: #230762) * Consolidate variables in skeleton (closes: #122486) * Move set -e up in skeleton (closes: #148847) * Include spanish manpage for update-rc.d (closes: #209199) * In /etc/init.d/README change http: URL to file: URL (closes: #151761) -- Miquel van Smoorenburg Sun, 21 Mar 2004 13:10:09 +0100 sysvinit (2.85-11) unstable; urgency=high * Move runlevel back to /sbin (closes: #238261) * Move killall5 back to /sbin (closes: #238416) * More finetuning of the included readlink program. It now has a much more correct version of realpath() than glibc (famous last words). -- Miquel van Smoorenburg Wed, 17 Mar 2004 00:29:53 +0100 sysvinit (2.85-10) unstable; urgency=low * Provide mountvirtfs. It mounts /proc,/sys, etc at early boot. Libc6 does this too with a script called mountkernfs which is called later, but that shouldn't matter. Libc6 must remove it later on. Perhaps we should remove the symlink - I'm not sure. * Add /etc/default/{devpts,tmpfs} to initscripts. Add Replaces: libc6, libc6.1 to control for initscripts. * Add /lib/init/readlink which we can use until the standard readlink has the features we need. * Fix maxproclen issue (closes: #236138) * Remove INIT_HALT debug message (closes: #230743) * When cleaning /tmp, don't look at directory atime for aging info (closes: #236709,#205486,#221622) * bootclean.sh: only run if find and xargs are available (closes: #232635) * Depend on mount (>= 2.11l-1) for the -l option (closes: #217702) * Mount non-/ proc filesystems in mountall.sh. This will not work if you want to mount /foo/bar/proc if /foo/bar is an NFS filesystem, but this will do for now (closes: #234152) * Add coda to list of networked filesystems in mountall.sh/mountnfs.sh -- Miquel van Smoorenburg Tue, 16 Mar 2004 01:04:06 +0100 sysvinit (2.85-9) unstable; urgency=low * Fix typo in /etc/init.d/halt (closes: #224626) * Fix /etc/mtab-is-a-symlink corner cases (closes: #204619) * Fix /etc/init.d/mountall.sh to only mount local fses (closes: #224720) * Replace reference to dpkg programmer's manual in update-rc.d.8 with reference to Debian Policy (closes: #223658) -- Miquel van Smoorenburg Tue, 23 Dec 2003 12:16:14 +0100 sysvinit (2.85-8) unstable; urgency=low * Clean /tmp, /var/run and /var/lock directly after mounting all local filesystems and once more after mounting network filesystems, but not more than once per directory (closes: #208226,#223495) * Do not run bootlogd by default - it's a bit to experimental for the "stable" release. Can be turned on manually (closes: #217582) * Fix /etc/init.d/bootlogd (closes: #208578) * Rework umountnfs.sh/umountfs (closes: #204425, #206111, #20863, #203050) * Depend on mount >= 2.11l (closes: #217702) * Don't use umount -l on 2.4 kernels < 2.4.11 (closes: #217701) * /var/log/boot mode 640, group adm (closes: #204400) * Deal correctly with /etc/mtab being a symlink (closes: #204619) * Set TMPTIME to "infinite" to not clean /tmp (closes: #205894) * Mount all proc filesystems (closes: #206979) * Fix typo in invoke-rc.d manpage (closes: #196135) * Set correct permissions on /etc/{rcS.d,init.d}/README (closes: #201467) * Update /etc/init.d/README (refer to correct paragraph) (closes: #206411) * bootlogd: handle comma's in console= (closes: #213749) * Remove trailing space from 'echo -n "something ... "' (closes: #219202) * Include documentation on invoke-rc.d and policy-rc.d (closes: #219245) * Remove empty /usr/include from sysv-rc (closes: #222538) * Let sysvinit Pre-Depend on file-rc | sysv-rc (closes: #221808) -- Miquel van Smoorenburg Thu, 18 Dec 2003 23:11:20 +0100 sysvinit (2.85-7) unstable; urgency=low * Fix devfs mtab fixup in checkroot.sh (closes: #202421) * pidof symlink should be in /bin (closes: #202611) -- Miquel van Smoorenburg Wed, 23 Jul 2003 19:11:59 +0200 sysvinit (2.85-6) unstable; urgency=high * When bootlogd gets an error writing to the real console, try to re-open. If that fails, roll over and die (closes: #202382) -- Miquel van Smoorenburg Tue, 22 Jul 2003 12:43:07 +0200 sysvinit (2.85-5) unstable; urgency=low * Allow "init u" to fail in postinst without bailing out with an error (closes: #197991, #198216, #198309, #198937) * Revert changes to bootmisc wrt /etc/nologin, leave out the /etc/nologin.boot stuff (which never worked anyway), /etc/nologin is now always cleaned out on boot. (closes: #198444, #184402, #199943, #199401) * Block signals in syslog(), since syslog() is not re-entrant (James Olin Oden , redhat bug #97534) * Remove rc.boot manpage completely instead of installing it first and then removing it in sysv-rc's postinst * When unmounting all filesystems, do not unmount /proc, /dev and /sys (closes: #198970, #184594, #173878, #200147, #198793) * Umount network filesystems lazily (-l) (closes: #164503) * Clarify initscript manpage (closes: #174058) * Use /proc as reference to see if files in /var/lock and /var/run are stale (closes: #198792). I should look at #120545 to actually fix this right, I guess. * Include bootlogd (closes: #151880, #15447, #132662) * Move update-rc.d for initscripts to the initscrips packages' postinst instead of doing it in the postinst of sysv-rc -- Miquel van Smoorenburg Mon, 21 Jul 2003 12:48:11 +0200 sysvinit (2.85-4) unstable; urgency=medium * Move default.rcS to /usr/share/initscripts, fix postinst (closes: #190921) * Only clean /tmp if it is mode 777 (really in -3) (closes: #139870) * Move initscripts and sysv-rc to binary-indep target (closes: #190801) * Save fsck exit code in variable (closes: #189917,#194827,#197483) * If /etc/motd is a symlink, follow it when editting /etc/motd (closes: #150355) * If /etc/nologin is a symlink, remove the destination file after bootup instead of the link itself (closes: 191041) * Don't remove /etc/mtab~ if /etc/mtab is a symbolic link * Only start 'update' when running kernels < 2.4 * Mount /proc before mounting other filesystems, umount all proc filesystems at shutdown except /proc (closes: #140591,#197317) * Add 'set -e' to postinst (closes: #148465) * Don't umount devfs at shutdown time (closes: #156490) * When cleaning /tmp, first remove old files then remove old empty directories (closes: #193623) * Don't remove /tmp/...security* (closes: #195760) -- Miquel van Smoorenburg Wed, 18 Jun 2003 16:08:09 +0200 sysvinit (2.85-3) unstable; urgency=high * Move sample inittab files to /usr/share/sysvinit (closes: #189761) * Make sysv-rc point update-rc.d and invoke-rc.d to the dummy /usr/share/sysvinit/update-rc.d script in the postrm script, so that dpkg remains happy when installing file-rc or another package to replace sysv-rc. * Minor adjustements so that sysvinit compiles on the Hurd (closes: #43575) * For now set Architecture: all on sysv-rc and initscripts (closes: #190179, #190182) * Add upstream source to copyright file (closes: #15183) * Remove /etc/rc.boot from sysv-rc (closes: #113821) -- Miquel van Smoorenburg Wed, 23 Apr 2003 15:26:21 +0200 sysvinit (2.85-2) unstable; urgency=high * sysv-rc must not Depend: on sysvinit, otherwise sysvinit/sysv-rc is not installable. -- Miquel van Smoorenburg Tue, 22 Apr 2003 12:40:54 +0200 sysvinit (2.85-1) unstable; urgency=low * Support for IPv6 in 'last'. * Fix -i/-d options in last (closes: #171134) * /dev/.devfsd: check only for existance, not for type (closes: #170852) * Don't remove pump.sock from /var/run/utmp (closes: 167572) * Get rid of /etc/ioctl.save, it's a legacy thing from Unices with a serial console and no way to set reset the linespeed at boot. With Linux we have console=tty0,speed as bootparameter anyway. * Remove support for file-based runlevel signalling. All systems use /dev/initctl by now (I hope, but we'll see). * When cleaning /tmp, check atime and mtime as well (closes: #179006) and do not remove aquota.user and aquota.group (closes: #175874) * Only clean up /tmp at boot if it is world-writable. * If fsck of the rootfs returns 2 or 3, reboot (closes: #170442,#167300) * Sulogin: even if the root password is empty, ask for a password- otherwise there is no way to set a timeout (closes: #180246) * Split up sysvinit into sysvinit, sysv-rc and initscripts. -- Miquel van Smoorenburg Fri, 18 Apr 2003 21:26:53 +0200