Bug#335894: [Logcheck-devel] Bug#335894: logcheck: Program aborts with no permission to access "/var/log/syslog"

Maximilian Attems maks at sternwelten.at
Wed Oct 26 17:03:35 UTC 2005


reassign 335894 adduser 3.63
tags 335894 moreinfo
stop

On Wed, Oct 26, 2005 at 05:33:59PM +0200, kimon gazis wrote:
> 
> After a fresh install of the package I got this response:
> 
> /usr/sbin/logcheck: line 1: /var/log/syslog: Permission denied
> 
> The fix to this problem was an erroneous "adm"-entry in the group-file
> rendering logcheck user not being a member of the "adm"-group. The entry
> looked like this:
> 
> adm:x:4:logcheck:kimon
> 
> After a fix to this:
> 
> adm:x:4:logcheck,kimon
> 
> it works smoothely. I suspect the config-routine does not take care of
> existing users in the group ?!?

logcheck calls adduser in its postinst, relevant snippet:
        # check for logcheck in adm group
	if ! getent group adm | grep logcheck > /dev/null; then
		adduser --quiet logcheck adm || true
	fi

usually that works as expected. 
please post your /etc/group-,
so that the adduser maintainer can investigate eventual breakage.

thanks

--
maks





More information about the Logcheck-devel mailing list