Bug#312393: [Logcheck-devel] Bug#312393: logcheck: The bug looks to be in the postinst script

maximilian attems debian at sternwelten.at
Tue Sep 6 23:32:19 UTC 2005


On Wed, 07 Sep 2005, Ritesh Raj Sarraf wrote:

> It is connected to the same bug.
> 
> The OP mentioned of the problem after doing multiple installations and 
> uninstallations of logcheck. So by then it is same as a plain installation.
> 
> This OP's bug report mentions /var/lock/logcheck not having proper ownership 
> permissions and that is because the postinst script is broken.
> 
> I'm badly stuck up with other important work so can't give you a patch at the 
> moment. :-(

i guess you interrupt the postrm or similar to get into similar troubles.
ok thanks for your clarifications.
the following might help to clarify the situation:

the error 2 is corrected in latest logcheck source and his harmless.

the error 1 is a direct consequence of error 3,
logcheck needs it's user to be able to run.

can you please provide the output of the following command on your system:
adduser --quiet --system --no-create-home --group --home /var/lib/logcheck logcheck

you need to run aboves cmd as root, afterwards the output of that would be
intersting:
getent passwd logcheck

as aboves may fail, are you using selinux or grsecurity?
what are you mount options, please send output of:
mount
also the plain output of this both may help:
getent passwd
getent group

(aboves should not be sensitive but if you care you can send me and todd
privately)
 
--
maks






More information about the Logcheck-devel mailing list