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
[EMAIL PROTECTED]:~ $ 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
[EMAIL PROTECTED]:~ # 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
[EMAIL PROTECTED]:~ # deluser logcheck
Removing user `logcheck'...
> sudo adduser --system --group --home /var/lib/logcheck logcheck
[EMAIL PROTECTED]:~ # 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.
[EMAIL PROTECTED]:~ # cat /etc/group| grep log
adm:x:4:rrs,Debian-console-log
Debian-console-log:x:108:
logcheck:x:118:
> sudo deluser logcheck
[EMAIL PROTECTED]:~ # deluser logcheck
/usr/sbin/deluser: The user `logcheck' does not exist.
This is as expected.
> sudo adduser --version
[EMAIL PROTECTED]:~ # adduser --version
adduser: add a user or group to the system. Version 3.67
Copyright (C) 1997, 1998, 1999 Guy Maor <[EMAIL PROTECTED]>
Copyright (C) 1995 Ian Murdock <[EMAIL PROTECTED]>,
Ted Hajek <[EMAIL PROTECTED]>,
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
> >
> > [EMAIL PROTECTED]:~ # 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."
pgpoXUUuTD22o.pgp
Description: PGP signature

