[Logcheck-devel] Bug#249324: gratuitously recreates logcheck user
    Aaron M. Ucko 
    ucko at debian.org
       
    Sun May 16 18:34:34 UTC 2004
    
    
  
Package: logcheck
Version: 1.2.20
Severity: important
For some reason, logcheck.preinst unconditionally deletes and (re)adds
the logcheck user.  This can have the effect of changing its uid,
which is problematic if cron has cached the old uid (as I have
observed it to do).
Please conditionalize that code on upgrading from versions prior to
1.2.19:
case "$1" in
    install|upgrade)
	if dpkg --compare-versions "$2" lt 1.2.19; then
	    ...
	fi
	;;
esac
The postinst's chown/chgrp/chmod calls should probably also be
conditional to support admins who want somewhat different setups for
whatever reason.  (I don't happen to, but I can imagine some might.)
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages logcheck depends on:
ii  adduser                 3.53             Add and remove users and groups
ii  cron                    3.0pl1-83        management of regular background p
ii  debconf [debconf-2.0]   1.4.25           Debian configuration management sy
ii  debianutils             2.8.2            Miscellaneous utilities specific t
ii  exim4                   4.34-1           An MTA (Mail Transport Agent)
ii  exim4-daemon-heavy [mai 4.34-1           Exim (v4) with extended features, 
ii  lockfile-progs          0.1.10           Programs for locking and unlocking
ii  logcheck-database       1.2.20           A database of system log rules for
ii  logtail                 1.2.20           Returns parts of logfiles that hav
ii  mailutils [mailx]       1:0.4+20040414-4 GNU mailutils utilities for handli
ii  sysklogd [system-log-da 1.4.1-14         System Logging Daemon
-- debconf information:
  logcheck/security_level: workstation
  logcheck/manage_conffiles: true
  logcheck/upgrade-note: 
* logcheck/noroot: 
* logcheck/changes: 
* logcheck/install-note: 
  logcheck/email_address: root
  logcheck/rewrite-note: 
    
    
More information about the Logcheck-devel
mailing list