Your message dated Wed, 30 Dec 2009 17:04:47 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-mailman-hackers] Bug#556179: mailman.preinst creates 
user 'list' with non-existent home directory /var/list
has caused the Debian Bug report #556179,
regarding mailman.preinst creates user 'list' with non-existent home directory 
/var/list
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
556179: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556179
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- 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

--- End Message ---
--- Begin Message ---
On sneon 14 Novimber 2009, Hauke Lampe wrote:
> 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

Thank you for your patch. However, I don't think it's correct. Thing is that 
the 'list' user is defined and provided by the base-passwd package. Mailman 
trying to add it itself is not only unnecessary but may also lead to 
inconsistencies: base-passwd entries have guaranteed UID's and other 
properties, and if it were missing and mailman created it with another UID, 
this could lead to subtle problems.

I've therefore removed the adduser code from preinst altogether.


cheers,
Thijs


--- End Message ---

Reply via email to