New upstream sysvinit tarball version 2.87dsf created

Scott James Remnant scott at canonical.com
Mon Jul 13 09:58:21 UTC 2009


On Sun, 2009-07-12 at 20:27 +0200, Petter Reinholdtsen wrote:

>   * Document in halt(8) that -n might not disable all syncing.
> 
The Upstart reboot(8) tool doesn't have any of the code to down
interfaces, park hard drives or sync the filesystem anymore.  After
extensive kernel diving, we came to the conclusion that none of it was
necessary.

Maybe not interesting, you probably have to care about different kernels
and older kernels, but worth saying :-)

>   * Adjust output from "last -x".  In reboot lines, print endpoint
>     of uptime too.  In shutdown lines print downtimes rather than
>     the time between downs.  Fix typo in string compare in last.c.
>     Patch by Thomas Hood.
> 
We should probably check to make sure that Upstart's reboot(8), telinit
(8) and shutdown(8) generate compatible utmp entries.

>   * Fix utmp/wtmp updating on 64-bit platforms.  Patch by Bill
>     Nottingham and Fedora.
> 
What was this patch?

>   * Allow 'telinit u' in runlevels 0 and 6.  Patch from Thomas Hood.
> 
What runlevels are "telinit u" normally allowed in in sysvinit?

>   * Add usleep in killall5 after killing processes, to force the kernel
>     to reschedule.  Patch from SuSe.
> 
Not sure why this would work?  kill() is a syscall anyway, so the kernel
should already make its own scheduling decisions.

I noticed a strange case with killall, it seems to cause the Upstart
rc.conf job to get SIGSTOP/SIGCONT repeatedly?

>   * Modify init to shut down IDE, SCSI and SATA disks properly.  Patches
>     from Sebastian Reichelt, Werner Fink and SuSe.
> 
See above; we don't have any of this in the Upstart code - what were the
patches?

>   * Change shutdown to only accept flags -H and -P with the -h flag,
>     and document this requirement in the manual page.
> 
Why this change?

It seems more userfriendly for -H and -P to "imply" -h, Upstart's
shutdown(8) permits "shutdown -H now"

>   * Change reboot/halt to work properly when used as a login shell.
>     Patch by Dale R. Worley and Fedora.
> 
What was this patch?

Scott
-- 
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/attachments/20090713/00578036/attachment.pgp>


More information about the initscripts-ng-devel mailing list