kimon gazis
2005-Oct-26 15:33 UTC
[Logcheck-devel] Bug#335894: logcheck: Program aborts with no permission to access "/var/log/syslog"
Package: logcheck Version: 1.2.39 Severity: normal After a fresh install of the package I got this response: /usr/sbin/logcheck: line 1: /var/log/syslog: Permission denied The fix to this problem was an erroneous "adm"-entry in the group-file rendering logcheck user not being a member of the "adm"-group. The entry looked like this: adm:x:4:logcheck:kimon After a fix to this: adm:x:4:logcheck,kimon it works smoothely. I suspect the config-routine does not take care of existing users in the group ?!? -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (650, 'testing'), (600, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.11kg.nvidia.2 Locale: LANG=de_DE.utf8 at euro, LC_CTYPE=de_DE.utf8 at euro (charmap=UTF-8) Versions of packages logcheck depends on: ii adduser 3.63 Add and remove users and groups ii cron 3.0pl1-86 management of regular background p ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii exim4 4.50-8 metapackage to ease exim MTA (v4) ii exim4-daemon-heavy [mail 4.50-8 exim MTA (v4) daemon with extended ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-database 1.2.39 A database of system log rules for ii logtail 1.2.39 Print log file lines that have not ii mailutils [mailx] 1:0.6.1-4sarge1 GNU mailutils utilities for handli ii sysklogd [system-log-dae 1.4.1-17 System Logging Daemon -- debconf information excluded
Maximilian Attems
2005-Oct-26 17:03 UTC
Bug#335894: [Logcheck-devel] Bug#335894: logcheck: Program aborts with no permission to access "/var/log/syslog"
reassign 335894 adduser 3.63 tags 335894 moreinfo stop On Wed, Oct 26, 2005 at 05:33:59PM +0200, kimon gazis wrote:> > After a fresh install of the package I got this response: > > /usr/sbin/logcheck: line 1: /var/log/syslog: Permission denied > > The fix to this problem was an erroneous "adm"-entry in the group-file > rendering logcheck user not being a member of the "adm"-group. The entry > looked like this: > > adm:x:4:logcheck:kimon > > After a fix to this: > > adm:x:4:logcheck,kimon > > it works smoothely. I suspect the config-routine does not take care of > existing users in the group ?!?logcheck calls adduser in its postinst, relevant snippet: # check for logcheck in adm group if ! getent group adm | grep logcheck > /dev/null; then adduser --quiet logcheck adm || true fi usually that works as expected. please post your /etc/group-, so that the adduser maintainer can investigate eventual breakage. thanks -- maks
Marc Haber
2005-Oct-26 22:18 UTC
[Adduser-devel] Bug#335894: Re: [Logcheck-devel] Bug#335894: logcheck: Program aborts with no permission to access "/var/log/syslog"
tags #335894 unreproducible thanks On Wed, Oct 26, 2005 at 07:03:35PM +0200, Maximilian Attems wrote:> logcheck calls adduser in its postinst, relevant snippet: > # check for logcheck in adm group > if ! getent group adm | grep logcheck > /dev/null; then > adduser --quiet logcheck adm || true > fi > > usually that works as expected. > please post your /etc/group-, > so that the adduser maintainer can investigate eventual breakage.I cannot reproduce this in a clean sarge chroot environment. After installin logcheck: $ grep adm /etc/group adm:x:4:Debian-console-log,mh,logcheck $ So to me, everything is fine. Please give more information about the system environment. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Debian Bug Tracking System
2005-Oct-26 22:18 UTC
[Adduser-devel] Processed: Re: Re: [Logcheck-devel] Bug#335894: logcheck: Program aborts with no permission to access "/var/log/syslog"
Processing commands for control@bugs.debian.org:> tags #335894 unreproducibleBug#335894: logcheck: Program aborts with no permission to access "/var/log/syslog" Tags were: moreinfo Tags added: unreproducible> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
maximilian attems
2005-Oct-27 16:48 UTC
[Adduser-devel] Bug#335894: [Logcheck-devel] Bug#335894: logcheck: Program aborts with no permission to access "/var/log/syslog"
On Thu, 27 Oct 2005, Marc Haber wrote:> On Wed, Oct 26, 2005 at 07:03:35PM +0200, Maximilian Attems wrote: > > logcheck calls adduser in its postinst, relevant snippet: > > # check for logcheck in adm group > > if ! getent group adm | grep logcheck > /dev/null; then > > adduser --quiet logcheck adm || true > > fi > > > > usually that works as expected. > > please post your /etc/group-, > > so that the adduser maintainer can investigate eventual breakage. > > I cannot reproduce this in a clean sarge chroot environment. After > installin logcheck: > > $ grep adm /etc/group > adm:x:4:Debian-console-log,mh,logcheck > $ > > So to me, everything is fine. Please give more information about the > system environment. > > Greetings > Marcagreeing, never saw this case. kimon gazis please supply further info, also the output of the following command may help to narrow down breakage: getent group cat /etc/group mount -- maks
Kimon Gazis
2005-Oct-27 18:34 UTC
[Adduser-devel] Bug#335894: [Logcheck-devel] Bug#335894: logcheck: Program aborts with no permission to access "/var/log/syslog"
i wouldn''t have posted it if it were something usual. so here''s cat group (''getent group'' produces the same) : ########### root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:logcheck,kimon tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20:kimon fax:x:21: voice:x:22: cdrom:x:24:kimon,hal,vdr floppy:x:25:kimon,hal tape:x:26: sudo:x:27: audio:x:29:kimon dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: gnats:x:41: shadow:x:42: utmp:x:43:telnetd video:x:44:kimon,vdr sasl:x:45: plugdev:x:46:kimon staff:x:50:kimon games:x:60: users:x:100:kimon nogroup:x:65534: crontab:x:101: Debian-exim:x:102: kimon:x:1000: ssh:x:103: telnetd:x:104: mysql:x:105: logcheck:x:106: dirmngr:x:107: camera:x:108: scanner:x:109: saned:x:110: bind:x:111: helike:x:1001: gdm:x:112: messagebus:x:113: hal:x:114: ntop:x:115: vdradmin:x:116: vdr:x:117:kimon svn:x:1002:kimon,www-data snort:x:118: ######### and that''s group- root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:logcheck:kimon tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20:kimon fax:x:21: voice:x:22: cdrom:x:24:kimon,hal,vdr floppy:x:25:kimon,hal tape:x:26: sudo:x:27: audio:x:29:kimon dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: gnats:x:41: shadow:x:42: utmp:x:43:telnetd video:x:44:kimon,vdr sasl:x:45: plugdev:x:46:kimon staff:x:50:kimon games:x:60: users:x:100:kimon nogroup:x:65534: crontab:x:101: Debian-exim:x:102: kimon:x:1000: ssh:x:103: telnetd:x:104: mysql:x:105: logcheck:x:106: dirmngr:x:107: camera:x:108: scanner:x:109: saned:x:110: bind:x:111: helike:x:1001: gdm:x:112: messagebus:x:113: hal:x:114: ntop:x:115: vdradmin:x:116: vdr:x:117:kimon svn:x:1002:kimon,www-data ########### On second thought I must confess that this was not the first installation of logcheck. I uninstalled it some day in the past when removing the logrotate package which has dependencies to this I think. Sorry, don''t remember well that one. However the behaviour described here is definitely linked to the installation of the logcheck package. Please don''t hesitate contacting me if you need more info. In this case I am not quite sure what else could be meaningful. Marc, what system info exactly do you need? regards kimon> >
Debian Bug Tracking System
2006-Jan-06 12:03 UTC
[Adduser-devel] Bug#335894: marked as done (logcheck: Program aborts with no permission to access "/var/log/syslog")
Your message dated Fri, 6 Jan 2006 12:56:54 +0100 with message-id <20060106115654.GA6844@nechayev.zugschlus.de> and subject line Re: Bug#335894: (no subject) has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 26 Oct 2005 15:34:33 +0000>From kgazis@web.de Wed Oct 26 08:34:33 2005Return-path: <kgazis@web.de> Received: from smtp08.web.de [217.72.192.226] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1EUnIP-0005YD-00; Wed, 26 Oct 2005 08:34:33 -0700 Received: from [217.187.39.139] (helo=gazis.homeip.net) by smtp08.web.de with asmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.105 #317) id 1EUnHt-0007kd-00 for submit@bugs.debian.org; Wed, 26 Oct 2005 17:34:02 +0200 Received: from kimon by argos.gazis.local with local (Exim 4.50) id 1EUnHr-0001vq-Iw for submit@bugs.debian.org; Wed, 26 Oct 2005 17:33:59 +0200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kimon gazis <kgazis@web.de> To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: logcheck: Program aborts with no permission to access "/var/log/syslog" X-Mailer: reportbug 3.8 Date: Wed, 26 Oct 2005 17:33:59 +0200 Message-Id: <E1EUnHr-0001vq-Iw@argos.gazis.local> Sender: kgazis@web.de X-Sender: kgazis@web.de Delivered-To: submit@bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 Package: logcheck Version: 1.2.39 Severity: normal After a fresh install of the package I got this response: /usr/sbin/logcheck: line 1: /var/log/syslog: Permission denied The fix to this problem was an erroneous "adm"-entry in the group-file rendering logcheck user not being a member of the "adm"-group. The entry looked like this: adm:x:4:logcheck:kimon After a fix to this: adm:x:4:logcheck,kimon it works smoothely. I suspect the config-routine does not take care of existing users in the group ?!? -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (650, ''testing''), (600, ''unstable'') Architecture: amd64 (x86_64) Kernel: Linux 2.6.11kg.nvidia.2 Locale: LANG=de_DE.utf8@euro, LC_CTYPE=de_DE.utf8@euro (charmap=UTF-8) Versions of packages logcheck depends on: ii adduser 3.63 Add and remove users and groups ii cron 3.0pl1-86 management of regular background p ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii exim4 4.50-8 metapackage to ease exim MTA (v4) ii exim4-daemon-heavy [mail 4.50-8 exim MTA (v4) daemon with extended ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-database 1.2.39 A database of system log rules for ii logtail 1.2.39 Print log file lines that have not ii mailutils [mailx] 1:0.6.1-4sarge1 GNU mailutils utilities for handli ii sysklogd [system-log-dae 1.4.1-17 System Logging Daemon -- debconf information excluded --------------------------------------- Received: (at 335894-done) by bugs.debian.org; 6 Jan 2006 11:56:55 +0000>From mh+debian-packages@zugschlus.de Fri Jan 06 03:56:55 2006Return-path: <mh+debian-packages@zugschlus.de> Received: from nechayev.zugschlus.de ([217.160.109.85]) by spohr.debian.org with esmtp (Exim 4.50) id 1EuqDH-0002Cg-Fd for 335894-done@bugs.debian.org; Fri, 06 Jan 2006 03:56:55 -0800 Received: from mh by nechayev.zugschlus.de with local (Exim 4.60) (envelope-from <mh+debian-packages@zugschlus.de>) id 1EuqDG-0001mU-JY for 335894-done@bugs.debian.org; Fri, 06 Jan 2006 12:56:54 +0100 Date: Fri, 6 Jan 2006 12:56:54 +0100 From: Marc Haber <mh+debian-packages@zugschlus.de> To: 335894-done@bugs.debian.org Subject: Re: Re: Bug#335894: (no subject) Message-ID: <20060106115654.GA6844@nechayev.zugschlus.de> References: <4361304D.4080003@web.de> <20051101164915.GF10724@torres.l21.ma.zugschlus.de> <4367B686.8000807@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4367B686.8000807@web.de> User-Agent: Mutt/1.5.11 X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 On Tue, Nov 01, 2005 at 07:40:06PM +0100, Kimon Gazis wrote:> OK with the close as I don''t have any more input on this.Closing the bug. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835