Bug#619409: insserv: /etc/init.d/.depend.* represent state, not configuration; please move to /lib

Jesse Smith jsmith at resonatingmedia.com
Sat May 25 19:22:46 BST 2019


On Wed, 23 Mar 2011 09:33:46 -0700 Josh Triplett wrote:
>
> insserv generates makefile snippets in /etc/init.d/.depend.* with
> dependency information for init scripts. This doesn't represent
> configuration information, nor can the user modify it. Thus, it should
> go somewhere else on the root filesystem, such as /lib/insserv/depend.*
> .. That would avoid the need to ignore them in etckeeper, or care about
> the differences between successive versions.
>

After some consideration and debate, I believe this bug should be closed
as wontfix. For several reasons:

1. The makefiel-style dependency information is configuration data, not
a library or executable, so it doesn't belong in /lib. It may not belong
in /etc, but /lib would be a clear violation of FHS.

2. Despite the above claim, it is configuration information.

3. Despite the initial concern, the user can modify the data, it's
completely editable and human-readable.

I'm open to trying another location that might better suite everyone's
needs and FHS, but /lib is not a good match.

- Jesse

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20190525/a1364c84/attachment.html>


More information about the Debian-init-diversity mailing list