[Piuparts-devel] Bug#539144: rsyslog: leaves /lib/init/rw/sendsigs.omit.d/rsyslog lying around on removal

Michael Biebl biebl at debian.org
Thu Jul 30 13:28:22 UTC 2009


Colin Watson wrote:
> On Wed, Jul 29, 2009 at 05:29:37PM +0200, Michael Biebl wrote:
>> Colin Watson wrote:
>>> piuparts (actually on a completely different package) reports:
>>>
>>>   3m42.9s ERROR: Broken symlinks:
>>>     /lib/init/rw/sendsigs.omit.d/rsyslog -> /var/run/rsyslogd.pid
>>>
>>> It would seem useful to clean this up on '/etc/init.d/rsyslog stop'.
>> Hi Colin,
>>
>> does this really matter, given that /lib/init/rw/ is a tmpfs?
> 
> I'm sure it doesn't matter a great deal on the real system, but it's
> annoying noise for every single user of piuparts right now (unless you
> use non-default options to avoid rsyslog being installed in the first
> place) and it would be rather nice to tidy it up so that real errors are
> easier to see.

Hi Colin, hi piuparts devs,

while it certainly is not that much effort to add a
"rm  /lib/init/rw/sendsigs.omit.d/rsyslog" in rsyslog's init script (or the
postrm script for that matter), but it somehow feels awkward to me, to waste
(admittedly not much) CPU cycles and and increase the shutdown time (by a tiny
bit) just to please piuparts.

Wouldn't it be better, if piuparts would simply ignore files that are cleaned up
anyway (e.g. files on /lib/init/rw/sendsigs.omit.d or in /var/run)?

What's your take on this?

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20090730/41fcdfc7/attachment.pgp>


More information about the Piuparts-devel mailing list