[Pkg-sysvinit-devel] Re: Please test svn version of sysvinit
Petter Reinholdtsen
pere at hungry.com
Wed Sep 6 07:25:34 UTC 2006
[Petter Reinholdtsen]
> I've added a new essential package sysvutils. Are everyone ok with
> this?
I've dropped this again. I had upgrade problems while testing, and
need to figure out why.
> - Rewrite how /etc/mtab is generated during boot. I have not yet had
> time to review these changes.
This is now integrated in a slightly modified way.
> - 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.
I decided to provide a different route for this feature. Instead of
adding a new flag to update-rc.d, I added support for parsing the LSB
header in the init.d scripts, and use the levels specified there. So
to get the effect of the multiuser flag, a package maintainer would
need to modify the init.d script to look like this:
### BEGIN INIT INFO
[...]
# Default-Start: 2 3 4 5
# Default-Stop: 1
[...]
### END INIT INFO
For those without a LSB header, the values will be as before,
equivalent to this header:
### BEGIN INIT INFO
[...]
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
[...]
### END INIT INFO
> - 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.
I moved mtab.sh where it belong, just after checkroot.sh, but have not
moved any other. At least hostname.sh should move up in the boot
sequence.
The other changes are yet to be checked and merged.
I do not have updated packages for this yet. Please build out of svn.
Friendly,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list