Ritesh Raj Sarraf
2005-Sep-06 19:42 UTC
[Logcheck-devel] Bug#312393: logcheck: The bug looks to be in the postinst script
Package: logcheck Version: 1.2.41 Followup-For: Bug #312393 This is an important bug, infact it should be a grave bug. logcheck doesn't get installed properly. The postrm scripts are designed to add the logcheck user while having logcheck as its group too. The logcheck group is nowhere being added as far as I see. I believe you need to add the group before adding the user. And all this is breaking the remaining installation process. The files and directories are not getting chowned from the script. HTH, rrs -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (100, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-bsplash-skas3-v8.2 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages logcheck depends on: ii adduser 3.67 Add and remove users and groups ii cron 3.0pl1-91 management of regular background p ii debconf [debconf 1.4.58 Debian configuration management sy ii debianutils 2.14.1 Miscellaneous utilities specific t ii grep 2.5.1.ds1-5 GNU grep, egrep and fgrep ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-databas 1.2.41 database of system log rules for t ii logtail 1.2.41 Print log file lines that have not ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent ii postfix [mail-tr 2.2.4-1 A high-performance mail transport ii sysklogd [system 1.4.1-17 System Logging Daemon logcheck recommends no packages. -- debconf information: logcheck/changes: * logcheck/install-note:
Todd Troxell
2005-Sep-06 20:34 UTC
Bug#312393: [Logcheck-devel] Bug#312393: logcheck: The bug looks to be in the postinst script
On Wed, Sep 07, 2005 at 01:12:59AM +0530, Ritesh Raj Sarraf wrote:> Package: logcheck > Version: 1.2.41 > Followup-For: Bug #312393 > > > This is an important bug, infact it should be a grave bug. > logcheck doesn't get installed properly. The postrm scripts are designed > to add the logcheck user while having logcheck as its group too. > The logcheck group is nowhere being added as far as I see. > I believe you need to add the group before adding the user.The group is added in the same line because of the --group option. See adduser(8). There must be something else going on here. Did you use webmin like the user in the original report? Cheers, -- [ Todd J. Troxell ,''`. Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' : http://debian.org || http://rapidpacket.com/~xtat `. `' `- ]
maximilian attems
2005-Sep-06 20:49 UTC
Bug#312393: [Logcheck-devel] Bug#312393: logcheck: The bug looks to be in the postinst script
On Wed, 07 Sep 2005, Ritesh Raj Sarraf wrote:> This is an important bug, infact it should be a grave bug. > logcheck doesn't get installed properly. The postrm scripts are designed > to add the logcheck user while having logcheck as its group too. > The logcheck group is nowhere being added as far as I see. > I believe you need to add the group before adding the user.please file an seperate bug, i do not see how your experienced breakage is related to #312393? did you do an upgrade from woody, is it a fresh install? if you want i can forward to a new bug.> And all this is breaking the remaining installation process. > The files and directories are not getting chowned from the script. > > HTH, > rrsthe postrm takes care of removing the logcheck user. anyway that is not run on installation of logcheck!! we need more info from you side, atm i doubt your report is connected to aboves bug? greetings -- maks