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

Ritesh Raj Sarraf riteshsarraf at users.sourceforge.net
Wed Sep 7 08:48:27 UTC 2005


On Wednesday 07 Sep 2005 09:04, Todd Troxell wrote:
> I have tested the following scenarios and have been unable to reproduce
> this.
>
> -fresh install on unstable
> -dist-upgrade from stable version
> -dist-upgrade from woody version
>
> It will be helpful to know if your adduser is functioning correctly.

Please don't top post.

This is what my adduser program's description says:
Description: Add and remove users and groups

Are there other adduesr program also ?

There messages might help now.

root at laptop:~ # apt-get remove --purge logcheck logcheck-database logtail
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  logcheck* logcheck-database* logtail*
0 upgraded, 0 newly installed, 3 to remove and 294 not upgraded.
Need to get 0B of archives.
After unpacking 1020kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 241152 files and directories currently installed.)
Removing logcheck ...
Purging configuration files for logcheck ...
Removing logcheck-database ...
Purging configuration files for logcheck-database ...
Removing logtail ...

This is what syslog logged at the same time.

Sep  7 14:07:35 laptop userdel[28158]: delete user `logcheck'
Sep  7 14:07:35 laptop userdel[28158]: removed group `logcheck' owned by 
`logcheck'
Sep  7 14:07:35 laptop userdel[28168]: delete user `logcheck'
Sep  7 14:07:35 laptop userdel[28168]: removed group `logcheck' owned by 
`logcheck'


Now I do the installation again.

root at laptop:~ # apt-get install logcheck
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  logcheck-database logtail
Suggested packages:
  syslog-summary
The following NEW packages will be installed:
  logcheck logcheck-database logtail
0 upgraded, 3 newly installed, 0 to remove and 294 not upgraded.
Need to get 145kB of archives.
After unpacking 1020kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.debian.org testing/main logtail 1.2.41 [29.8kB]
Get:2 http://ftp.debian.org testing/main logcheck-database 1.2.41 [67.5kB]
Get:3 http://ftp.debian.org testing/main logcheck 1.2.41 [47.9kB]
Fetched 145kB in 22s (6529B/s)
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Preconfiguring packages ...
Selecting previously deselected package logtail.
(Reading database ... 240988 files and directories currently installed.)
Unpacking logtail (from .../logtail_1.2.41_all.deb) ...
Selecting previously deselected package logcheck-database.
Unpacking logcheck-database (from .../logcheck-database_1.2.41_all.deb) ...
Selecting previously deselected package logcheck.
Unpacking logcheck (from .../logcheck_1.2.41_all.deb) ...
Setting up logtail (1.2.41) ...
Setting up logcheck-database (1.2.41) ...

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

And this is the syslog entry at this time.

Sep  7 14:14:36 laptop groupadd[28457]: new group: name=logcheck, gid=118


Maybe all this can help you guys

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/20050907/2cb4c275/attachment.pgp 


More information about the Logcheck-devel mailing list