[Logcheck-devel] Bug#312393: logcheck: Some more information that might help
Ritesh Raj Sarraf
riteshsarraf at users.sourceforge.net
Tue Oct 4 17:56:06 UTC 2005
Hi Max and Todd,
Thought of giving some more information to this dead bug report which still
hasn't been reproduced on your machines.
This now is a valid bug because today after installing on the same laptop with
the same environment (no changes at all), the stable release of logcheck
(version 1.2.39), the installation went fine.
So it should be clear now that "adduser" is not the culprit. I still think the
postinst script is where we should hunt for the bug.
HTH,
rrs
On Friday 23 Sep 2005 23:07, maximilian attems wrote:
> 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
--
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
Gnupg Key ID: 04F130BC
"Stealing logic from one person is plagiarism, stealing from many is
research."
"Necessity is the mother of invention."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20051004/1671c914/attachment.pgp
More information about the Logcheck-devel
mailing list