[Logcheck-devel] Bug#312393: logcheck: Some more information that might help
Ritesh Raj Sarraf
riteshsarraf at users.sourceforge.net
Fri Sep 23 18:12:10 UTC 2005
On Friday 23 Sep 2005 23:07, maximilian attems wrote:
> > > 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
>
Yes, both the groups exist.
>
> and forgot to ask about
> dpkg -l adduser
rrs at laptop:~ $ dpkg -l adduser
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-========================-==================
ii adduser 3.67 Add and remove users and
groups
> ls -ld /var/lib/logcheck
root at laptop:~ # ls -ld /var/lib/logcheck/
drwxr-xr-x 2 root root 2 2005-09-23 23:32 /var/lib/logcheck//
This is weird. I guess this should be logcheck:logcheck
>
> and please try below in the following order (either use sudo or do it as
> root): sudo deluser logcheck
root at laptop:~ # deluser logcheck
Removing user `logcheck'...
> sudo adduser --system --group --home /var/lib/logcheck logcheck
root at laptop:~ # adduser --system --group --home /var/lib/logcheck logcheck
adduser: Warning: The home dir you specified already exists.
Adding system user `logcheck'...
Adding new group `logcheck' (118).
Adding new user `logcheck' (118) with group `logcheck'.
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
Now this is another weird thing because the group is already present.
root at laptop:~ # cat /etc/group| grep log
adm:x:4:rrs,Debian-console-log
Debian-console-log:x:108:
logcheck:x:118:
> sudo deluser logcheck
root at laptop:~ # deluser logcheck
/usr/sbin/deluser: The user `logcheck' does not exist.
This is as expected.
> sudo adduser --version
root at laptop:~ # adduser --version
adduser: add a user or group to the system. Version 3.67
Copyright (C) 1997, 1998, 1999 Guy Maor <maor at debian.org>
Copyright (C) 1995 Ian Murdock <imurdock at gnu.ai.mit.edu>,
Ted Hajek <tedhajek at boombox.micro.umn.edu>,
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License, /usr/share/common-licenses/GPL, for more details.
>
>
> > > 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.
>
No, it has nothing to do with reiser4 because earlier when I had posted about
this defect my laptop was on ext3. I recently migrated to reiser4.
Regards,
rrs
--
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/20050923/cf223bba/attachment.pgp
More information about the Logcheck-devel
mailing list