Bug#601054: Move /etc/init.d/.depend.* files under /var

Jesse Smith jessefrgsmith at yahoo.ca
Tue May 21 21:35:27 BST 2019


> 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.


This solution doesn't address the reasons we wanted to move the
makefile-style dependency information in the first place. To work, the
solution needs to:

1. Work when /etc is read-only.
2. Write data to filesystems we can be sure are mounted when init runs.
3. Not write to system-admin edited file locations, like /etc.


The currently solution covers #1 and #3, but I'm not sure it covers #2.
Your suggestion above covers #2, but not #1 and #3.

- Jesse




More information about the Debian-init-diversity mailing list