[Pkg-sysvinit-devel] Request for dh_installinit and/or update-rc.d

Marc MERLIN marc at merlins.org
Sat Apr 30 15:49:48 UTC 2011

On Sat, Apr 30, 2011 at 11:39:14AM -0400, Joey Hess wrote:
> Marc MERLIN wrote:
> > Short version is that we want as many files on the system to be trackable by
> > the package manager.
> > dpkg -S /etc/rc3.d/foo 
> > works for us and does not work with update-rc.d in postinstall.
> FWIW, the Right Way to do this is probably to add ghost file support, as
> seen in RPM, to dpkg. Then transient files created during package
> installation can be registered with the package manager, and
> automatically cleaned up on removal, as well as being queryable.
That would work too. My fix was the easiest for now, but yours is the more
generic one.

> However, I don't know how that would interact with dependency based
> init, which reorders the rc?.d symlinks all the time.

It probably wouldn't, but you can't have it all.
In our case, for dependability and debugability, a self re-ordering boot
system is not attractive anyway (but I know we're not the common case).

By the way, that's also why we're very happy that Debian is still around and
kicking and offers that choices, simplicity, and flexibility that Ubuntu has
long stopped caring about.
All this to say, thanks guys for your continued work :)


PS: for what it's worth, just having the option of using bootlogd instead of
the infamy otherwise known as plymouth is really helping us out.
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 308 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20110430/508579e4/attachment-0001.pgp>

More information about the Pkg-sysvinit-devel mailing list