[Logcheck-devel] Bug#515156: Same bug after removal + reinstall

Frédéric Brière fbriere at fbriere.net
Mon Aug 17 23:29:55 UTC 2009


On Tue, Apr 07, 2009 at 10:52:11AM +0100, Karl E. Jorgensen wrote:
> When re-installing the logcheck package (which was previously removed,
> but not purged), dpkg will pass the version number of the most recently
> configured version [1] - which in this case would be 1.2.69. And since
> 1.2.69 >= 1.2.39, the chown+chmod in postinst is bypassed...

Bingo.

> I think it would be sensible to do one (or both?) of:
> * chown+chmod unconditionally in postinst
> * make the ownership of /var/lock/logcheck logcheck:logcheck in the .deb

The latter is not an option, since the logcheck user does not have an
assigned UID.  I've therefore applied the former solution.

Thanks for you analysis!


-- 
<maswan> Joy: Lets fork cat! :)
<maswan> Joy: imagine a big pitchfork and a dead kitten on top of
         it.. with blood running down..





More information about the Logcheck-devel mailing list