Bug#601054: Move /etc/init.d/.depend.* files under /var
Tito
farmatito at tiscali.it
Tue May 21 06:46:41 BST 2019
On 5/21/19 1:36 AM, Jesse Smith wrote:
> This has been done upstream and is now in the latest beta release [1].
>
> Something I'm curious about is: what happens if /var is not mounted when
> startpar runs? Let's say /var is on another disk, or mounted over NFS.
> What then? I'm guessing some people are using a setup where /var is not
> on the root file system, so what kind of fallback is in place to make
> sure insserv and startpar work when their files are stored under /var
> instead of /etc?
>
> Another bug report against insserv suggested we use /lib/insserv/
> instead of /var/lib/insserv/. Maybe we should switch the location before
> the next stable release, since I'm pretty sure /lib needs to be part of
> the root filesystem.
>
> - Jesse
>
>
> 1 -
> http://lists.nongnu.org/archive/html/sysvinit-devel/2019-05/msg00002.html
>
>
Hi,
I think that an easier solution would be to unhide
/etc/init.d/
.depend.boot .depend.start .depend.stop
and call them
/etc/init.d/
depend.boot.conf depend.start.conf depend.stop.conf
and keep them in /etc/init.d/ as they are configuration
text files relative to the initscripts, to be used
together with the initscripts.
That way it would be clear what they are and why they
are there and there would be no need to speculate
about the possible issues of moving them around
to other places.
Tito
More information about the Debian-init-diversity
mailing list