[Pkg-sysvinit-devel] Bug#542811: Bug#542811: Bug#542811: invoke-rc.d starts disabled startup scripts
Henrique de Moraes Holschuh
hmh at debian.org
Fri Aug 28 00:27:36 UTC 2009
On Thu, 27 Aug 2009, Harald Dunkel wrote:
> I would suggest to take a look at the LSB-style headers of
> the run level scripts in /etc/init.d . Many do not define
> symlinks for all run levels. udev (just as an example) only
> defines a symlink for S. This is surely not a user error.
It also mean we cannot mess with invoke-rc.d, it would instantly break
packages that have this bug you just described in udev.
> Maybe it would be an improvement to explitly forbid these
> missing links? /etc/init.d/rc or invoke-rc.d could echo a
> warning, for example.
We really should require explicit configuration of behaviour on every
runlevel. And if we want, e.g. to optimize stop on runlevels 0 and 6,
instead of messing with the "required to be stopped on runlevel 0 and
6", we *ADD* the information "service can be stopped by simple
SIGTERM/SIGKILL", and use it. This particular example won't change a
thing right now, but we don't know if we will need the full information
in a later date, for whatever reason.
Anyway, changes to invoke-rc.d will have to wait for that entire class
of bugs (missing start/stop information for runlevels other than 0 and
6) to be flushed out somehow.
IMHO, the process starts with a lintian check, and manual scan of the
archive and mass bug-filling.
> Am I allowed to suggest some patches here?
You're welcome.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
More information about the Pkg-sysvinit-devel
mailing list