[Logcheck-devel] Bug#312393: logcheck: Some more information that might help

maximilian attems debian at sternwelten.at
Fri Sep 23 17:37:49 UTC 2005


On Fri, 23 Sep 2005, Ritesh Raj Sarraf wrote:

> On Thursday 22 Sep 2005 23:37, maximilian attems wrote:
> I'm sorry if I missed any of you people's mails to reply. I normally try to 
> make sure that I provide adequate amount of information to the maintainers 
> for the bugs I file and the bugs I monitor.

thanks for your feedback.

> > please send the output of the following commands:
> > getent passwd logcheck
> Nothing is shown upon execution

ok expected.
 
> > getent group logcheck
> logcheck:x:118:

strange.
 
> > getent group adm
> adm:x:4:rrs,Debian-console-log

ok yourself, according to your previous group listing both groups exist.
getent group rrs
getent group Debian-console-log


and forgot to ask about 
dpkg -l adduser
ls -ld /var/lib/logcheck

and please try below in the following order (either use sudo or do it as root):
sudo deluser logcheck
sudo adduser --system --group --home /var/lib/logcheck logcheck
sudo deluser logcheck
sudo adduser --version
 
> > mount
> root at laptop:~ # mount
> /dev/mapper/VG--IDE0-LV--ROOT on / type reiser4 (rw)
hmm reiser4, no further comment than experimental fs.
hope that's not the root of the failure.
that means that your snapshot is recent enough.
 
> > ls -ld /var/lock/logcheck
> root at laptop:~ # ls -ld /var/lock/logcheck/
> drwxr-xr-x  2 root root 2 2005-09-23 22:17 /var/lock/logcheck//
> 
> > ls -ld /etc/logcheck
> drwxr-xr-x  9 root logcheck 12 2005-09-23 22:17 /etc/logcheck//

seems consistent with aboves failure.
 
 
> Setting up logcheck (1.2.41) ...
> useradd: unknown group logcheck
> adduser: `/usr/sbin/useradd -d /var/lib/logcheck -g logcheck -s /bin/false -u 
> 118 logcheck' returned error code 6.  Aborting.
> Cleaning up.
> Removing user `logcheck'.
> userdel: user logcheck does not exist
> Removing group `logcheck'.
> groupdel: group logcheck does not exist
> adduser: The user `logcheck' does not exist.
> chown: `logcheck:logcheck': invalid user
> chgrp: invalid group name `logcheck'
> chown: `logcheck:logcheck': invalid user
> 
> There's one thing I wanted to point to you people.
> The first error message says that there's no group named "logcheck" but if I 
> look at syslog at the same time I see that the post/pre installation script 
> did create a group named logcheck

indeed that's wierd, the group seems there and not the user.
need to dig through adduser bugs, hopes aboves will give some more info.
thanks for posting syslog! :)

--
maks





More information about the Logcheck-devel mailing list