Bug#834524: init-system-helpers: does not own /etc/rc?.d

Ferenc Wágner wferi at niif.hu
Wed Aug 17 07:45:38 BST 2016


Michael Biebl <biebl at debian.org> writes:

> Am 16.08.2016 um 19:12 schrieb Ferenc Wágner:
> 
>> Recently both my daemon packages started to exhibit this piuparts error:
>> 
>> ERROR: FAIL: Package purging left files on system:
>>   /etc/rc2.d/	 not owned
>>   /etc/rc3.d/	 not owned
>>   /etc/rc4.d/	 not owned
>>   /etc/rc5.d/	 not owned
>> 
>> I think this is the result of sysv-rc losing its Essential flag, which means
>> it isn't present in minimal chroots (like those used by piuparts) anymore.
>> On the other hand, init-system-helpers imported update-rc.d in version 1.25,
>> and I think /etc/rc?.d is created by update-rc.d (but never removed).  All
>> this results in piuparts failures in recently tested daemon packages.
>> 
>> If the above analysis is correct, please fix this.
>
> Fix what exactly?

The piuparts errors.  By taking ownership of the /etc/rc?.d symlink
directories.  (Removing them if they become empty is another option, but
does not sound a very good idea.)  Previously they were owned by
sysv-rc, which also provided update-rc.d, which used these directories.
When update-rc.d moved into init-system-helpers, /etc/rc?.d should've
followed along, but was forgotten, I guess.
-- 
Thanks,
Feri




More information about the Pkg-systemd-maintainers mailing list