[Pkg-mailman-hackers] Pkg-mailman commit - rev 641 - trunk/debian

Thijs Kinkhorst thijs at alioth.debian.org
Wed Dec 30 16:02:14 UTC 2009


Author: thijs
Date: 2009-12-30 16:02:13 +0000 (Wed, 30 Dec 2009)
New Revision: 641

Modified:
   trunk/debian/changelog
   trunk/debian/control
   trunk/debian/preinst.in
Log:
* Remove adduser calls for 'list' user. Base-passwd guarantees it
  to be available, and trying to add it if it were not present may
  lead to inconsistencies regarding expectations for that user.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-12-29 19:36:58 UTC (rev 640)
+++ trunk/debian/changelog	2009-12-30 16:02:13 UTC (rev 641)
@@ -4,10 +4,14 @@
     - 16_update_debian (partially)
     - 30_pipermail_threads
     - 65_handle_templates_directories
+    - 77_header_folding_in_attachments
   * Remove msgfmt.py, only used at build-time (closes: #555416).
   * Recognise -loop suffix in postfix-to-mailman.py (closes: #562700).
+  * Remove adduser calls for 'list' user. Base-passwd guarantees it
+    to be available, and trying to add it if it were not present may
+    lead to inconsistencies regarding expectations for that user.
 
- -- Thijs Kinkhorst <thijs at debian.org>  Tue, 29 Dec 2009 20:32:14 +0100
+ -- Thijs Kinkhorst <thijs at debian.org>  Wed, 30 Dec 2009 16:57:26 +0100
 
 mailman (1:2.1.12-3) unstable; urgency=low
 

Modified: trunk/debian/control
===================================================================
--- trunk/debian/control	2009-12-29 19:36:58 UTC (rev 640)
+++ trunk/debian/control	2009-12-30 16:02:13 UTC (rev 641)
@@ -16,7 +16,7 @@
 Architecture: any
 Pre-Depends: debconf | debconf-2.0
 Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends},
- logrotate, cron, ucf, pwgen, adduser, lsb-base,
+ logrotate, cron, ucf, pwgen, lsb-base,
  exim4 | mail-transport-agent, apache2 | httpd
 Suggests: spamassassin, lynx, listadmin
 XB-Python-Version: ${python:Versions}

Modified: trunk/debian/preinst.in
===================================================================
--- trunk/debian/preinst.in	2009-12-29 19:36:58 UTC (rev 640)
+++ trunk/debian/preinst.in	2009-12-30 16:02:13 UTC (rev 641)
@@ -4,16 +4,6 @@
 
 . /usr/share/debconf/confmodule
 
-if [ "$1" = "install" ]; then
-	if ! id -g list > /dev/null 2>&1 ; then
-		addgroup --system list
-	fi
-	if ! id -u list > /dev/null 2>&1 ; then
-		adduser --system --home /var/list --ingroup list list
-		chsh -s /bin/sh list
-	fi
-fi
-
 #DEBHELPER#
 
 abort_install()




More information about the Pkg-mailman-hackers mailing list