2009/10/10 Soeren Sonnenburg <so...@debian.org>:
> On Sat, 2009-10-10 at 10:54 -0500, Raphael Geissert wrote:
>>
>> Just to double check, did you manually backup those files?
>
> no I think it was innserv doing this back in the days when it was
> announced and I was trying this out...
>

According to the maintainer, insserv never backed up anything by
creating subdirectories in /etc/rc*.d

[...]
>>
>> Because /etc/rcS.d/rcS.d/../init.d != /etc/init.d/, and since
>> /etc/rcS.d/init.d doesn't exist readlink fails.
>
> True, but still the postinst script shouldn't fail ... I guess your find
> -maxdepth approach is good enough to solve this but I am afraid reaslink
> will fail too when there is some stale symlink in etc/rc?.d/ ...
>

No, with -f the latest is not required to exist. I could end up using
-m, sure, but any case where readlink -f would fail would mean a
pretty broken setup.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to