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

Jesse Smith jessefrgsmith at yahoo.ca
Thu May 23 17:35:40 BST 2019


On 5/23/19 1:27 PM, Dmitry Bogatov wrote:
> 
> [2019-05-21 17:35] Jesse Smith <jessefrgsmith at yahoo.ca>
>>> I think that an easier solution would be to unhide
>>>
>>> /etc/init.d/
>>> .depend.boot   .depend.start  .depend.stop
>>
>> 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.
> 
> Uhm, nasty situation.
> 
> You are correct, /var can be not mounted when /etc/init.d/rc is started.
> But moving these .depend.* files to /lib is even worse then /etc, in my
> opinion, since content of /lib is expected (FHS) to not change as long
> as packages are not installed/removed.
> 

In this case the contents of /lib wouldn't be changing unless a package
is installed or removed. There really isn't any reason for the boot
dependency information to be updated unless the admin is installing or
removing a package.




More information about the Debian-init-diversity mailing list