[Pkg-mailman-hackers] Bug#556179: mailman.preinst creates user 'list' with non-existent home directory /var/list

Hauke Lampe packbart at frell.ambush.de
Sat Nov 14 01:15:11 UTC 2009


Package: mailman
Version: 1:2.1.11-11
Severity: minor
Tags: patch


If the list user is not supposed to have a real home directory, it's passwd
entry should say so. Otherwise its $HOME should probably be /var/lib/mailman


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mailman depends on:
ii  adduser                  3.110           add and remove users and groups
ii  apache2                  2.2.9-10+lenny4 Apache HTTP Server metapackage
ii  apache2-mpm-worker [http 2.2.9-10+lenny4 Apache HTTP Server - high speed th
ii  cron                     3.0pl1-105      management of regular background p
ii  debconf [debconf-2.0]    1.5.24          Debian configuration management sy
ii  exim4                    4.69-9          metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-custom [mai 4.69-9          custom Exim MTA (v4) daemon with l
ii  libc6                    2.7-19~dnssec1  GNU C Library: Shared libraries
ii  logrotate                3.7.1-5         Log rotation utility
ii  lsb-base                 3.2-20          Linux Standard Base 3.2 init scrip
ii  pwgen                    2.06-1          Automatic Password generation
ii  python                   2.5.2-3         An interactive high-level object-o
ii  python-support           0.8.4lenny1     automated rebuilding support for P
ii  ucf                      3.0016          Update Configuration File: preserv

mailman recommends no packages.

Versions of packages mailman suggests:
pn  listadmin                 <none>         (no description available)
ii  lynx                      2.8.7dev9-2.1  Text-mode WWW Browser (transitiona
ii  spamassassin              3.2.5-2+lenny1 Perl-based spam filter using text 

-- debconf information excluded
-------------- next part --------------
--- mailman.preinst.old
+++ mailman.preinst
@@ -9,7 +9,7 @@
 		addgroup --system list
 	fi
 	if ! id -u list > /dev/null 2>&1 ; then
-		adduser --system --home /var/list --ingroup list list
+		adduser --system --home /var/lib/mailman --ingroup list list
 		chsh -s /bin/sh list
 	fi
 fi


More information about the Pkg-mailman-hackers mailing list