As you might have noticed on the commits list, I've spent the day working on the sysvinit package, fixing quite a lot of bugs, and synchronizing it with the ubuntu version. Please test it and let me know if you find any problems. It boot my test machine just fine, but I would like to have a test report from someone else as well. :)
The packages are available from <URL:http://developer.skolelinux.no/~pere/debian/packages/>. I've added a new essential package sysvutils. Are everyone ok with this? This is the current changelog: sysvinit (2.86.ds1-16~1) 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. * Split killall5, last, lastb, mesg and pidof out of the sysvinit package into a new sysvutils package to make it easier to replace init. (Closes: #385722) * Do not try to mount netdev file systems in mountall.sh. (Closes: #383073, #386063) * Mount netdev file systems when the network interfaces are enabled. (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. -- Petter Reinholdtsen <[EMAIL PROTECTED]> Wed, 26 Jul 2006 11:37:23 +0200 There are a few major changes done in Ubuntu which I have not merged yet. - Convert /var/run and /var/lock to tmpfs. This would mean all packages expecting to find subdirectories there will need to create them at boot. I believe this is a sane expectation, but do not know if two months before etch releases it the right time to introduce such requirement. - Make sysvinit non-essential. This was done in Ubuntu in preparation for the upstart system, I belive. We will need to test upstart before we make a decision here. I've split out sysvutils to make it easier to test it. - Rewrite how /etc/mtab is generated during boot. I have not yet had time to review these changes. - Remove some old code to handle kernels < 2.6. I've left it behind so far, but it might be time to drop it for etch. Etch will release with 2.6 kernels only, sa far as I know. - Add support for the 'multiuser' flag for update-rc.d. It has the potential of speeding up shutdown, but I believe we should get it into the policy and file-rc before we start using it in Debian. - init.d script reordering. I believe this was done to move gdm/kdm earlier in the boot, to make the machine appear to boot faster. It is probably a good idea, but I have not checked how this would work for us. - Disable bootlogd. I suspect we would be better of by removing it completely, and add some code in init.d/rc to pass all output to syslog or something. bootlog do not work, so disabling is probably just as smart. - Change the VERBOSE default value from 'yes' to 'no'. I boot using the 'quiet' kernel option myself and like it, so I suggest we do this change now. Any protests? - Better handling of systems with locked root password. I have not looked at this yet. - Modify the output from init to match the indentation of the output from the init.d scripts. The change assume everyone is using the same log functions as ubuntu, and I have not bothered to apply it as several script in Debian still fail to use the log_* LSB functions. We do have quite a few changes in our package still missing in Ubuntu, so this go both ways. I hope they will merge our new package soon, but suspect they will focus on the upstart package instead. There are also quite a lot of bugs left to process. Especially the one with problems mounting an USB disk because the USB subsystem haven't started yet look interesting. Friendly, -- Petter Reinholdtsen _______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

