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

Ritesh Raj Sarraf riteshsarraf at users.sourceforge.net
Fri Sep 23 16:55:02 UTC 2005


On Thursday 22 Sep 2005 23:37, maximilian attems wrote:
> > After you mentioned it being fixed, I tried installing the package again
> > but got the same problem. I wonder on what grounds you are closing this
> > bug.
>
> seems good to be a good ping, you didn't respond to my previous request,
> nor was it clear that you could reproduce it so easily.
> thought it only happened once.
> ok, i'll clone your bug as i still doubt that it is connected to the
> previous bug.
>

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.
  
>
> > Setting up logcheck (1.2.41) ...
> > adduser: The user `logcheck' does not exist.
> > chown: `logcheck:logcheck': invalid user
> > chown: `logcheck:logcheck': invalid user
>
>  
> please send the output of the following commands:
> getent passwd logcheck
Nothing is shown upon execution

> getent group logcheck
logcheck:x:118:

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

> mount
root at laptop:~ # mount
/dev/mapper/VG--IDE0-LV--ROOT on / type reiser4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda1 on /boot type ext2 (rw)
/dev/mapper/VG--IDE0-LV--HOME on /home type reiser4 (rw)
/dev/mapper/VG--IDE0-LV--LOCAL on /usr/local type reiser4 (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
none on /proc/bus/usb type usbfs (rw)
automount(pid5985) on /mnt type autofs 
(rw,fd=4,pgrp=5985,minproto=2,maxproto=4)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

> 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//


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

Sep 23 22:17:36 laptop groupadd[11231]: new group: name=logcheck, gid=118


Now the question is is the useradd command being executed before the group 
being added ?
Maybe this could give you some help.

Thanks for all your patience and help.

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/705081f1/attachment.pgp 


More information about the Logcheck-devel mailing list