[Pkg-sympa-devel] Bug#668995: Fix the fix for the way the permissions are set in /var/spool/sympa and /var/lib/sympa
Chris Reeves
csr2 at st-andrews.ac.uk
Mon Apr 16 10:04:43 UTC 2012
Package: sympa
Version: 6.1.9-chris3
Severity: important
Tags: patch
The fix for bug #630384 also changed the way ownership of these directories is set.
While the find command used for changing permissions is fine, the command used to
change ownerships is missing essential parenthesis. This omission results in the
ownership of /var/spool/sympa and /var/lib/sympa not actually being set, causing
various errors when sympa is started and package installation to fail.
A patch which fixes this is below:
------------------------------------------------------------------------
--- sympa-6.1.7~dfsg/debian/sympa.postinst 2011-12-04 17:31:04.000000000 +0000
+++ sympa-6.1.9/debian/sympa.postinst 2012-04-16 10:35:11.000000000 +0100
@@ -288,7 +288,7 @@
# It's better to search files and directories with wrong owner/group and fix
# them instead of recursively doing it, even if it's not needed (see #630384)
find /var/spool/sympa /var/lib/sympa \
- -not -user sympa -or -not -group sympa \
+ \( -not -user sympa -or -not -group sympa \) \
-exec chown sympa:sympa {} \;
# Fix permissions on MTA tools wrappers
------------------------------------------------------------------------
-- System Information:
Debian Release: 6.0.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sympa depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii dbconfig-common 1.8.46+squeeze.0 common framework for packaging dat
ii debconf [debconf 1.5.36.1 Debian configuration management sy
ii exim4-daemon-lig 4.72-6+squeeze2 lightweight Exim MTA (v4) daemon
ii libarchive-zip-p 1.30-3 Perl module for manipulation of ZI
ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib
ii libcgi-fast-perl 5.10.1-17squeeze3 CGI::Fast Perl module
ii libdbd-mysql-per 4.016-1 Perl5 database interface to the My
ii libdbd-pg-perl 2.17.1-2+squeeze1 Perl DBI driver for the PostgreSQL
ii libdbd-sqlite3-p 1.29-3 Perl DBI driver with a self-contai
ii libdbi-perl 1.612-1 Perl Database Interface (DBI)
ii libfcgi-perl 0.71-1+squeeze1 helper module for FastCGI
ii libfile-copy-rec 0.38-1 Perl extension for recursively cop
ii libhtml-format-p 2.04-2 format HTML syntax trees into text
ii libhtml-stripscr 1.03-1 module to filter scripts out of HT
ii libhtml-tree-per 3.23-2 Perl module to represent and creat
ii libintl-perl 1.20-1 Uniforum message translations syst
ii libio-stringy-pe 2.110-4 Perl modules for IO from scalars a
ii libmailtools-per 2.06-1 Manipulate email in perl programs
ii libmime-charset- 1.008-1 Perl module for MIME character set
ii libmime-encwords 1.012-1 Perl interface to deal with RFC 20
ii libmime-lite-htm 1.23-1 Transform HTML page into MIME emai
ii libmime-tools-pe 5.428-1 Perl5 modules for MIME-compliant m
ii libmsgcat-perl 1.03-5 Locale::Msgcat perl module
ii libnet-ldap-perl 1:0.4001-2 client interface to LDAP servers
ii libnet-netmask-p 1.9015-4 parse, manipulate and lookup IP ne
ii libregexp-common 2010010201-1 module with common regular express
ii libtemplate-perl 2.22-0.1 template processing system written
ii libterm-progress 2.09-6 Perl module to print a progress ba
ii libunicode-lineb 0.0.20110501-1.squeeze1 UAX #14 Unicode Line Breaking Algo
ii libxml-libxml-pe 1.70.ds-1 Perl interface to the libxml2 libr
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii mhonarc 2.6.16-1 Mail to HTML converter
ii perl 5.10.1-17squeeze3 Larry Wall's Practical Extraction
ii perl-modules [li 5.10.1-17squeeze3 Core Perl modules
ii rsyslog [system- 4.6.4-2 enhanced multi-threaded syslogd
ii sqlite3 3.7.3-1 A command line interface for SQLit
Versions of packages sympa recommends:
ii ca-certificates 20090814+nmu3squeeze1 Common CA certificates
pn doc-base <none> (no description available)
pn libapache2-mod-fcg <none> (no description available)
pn libcrypt-ciphersab <none> (no description available)
pn libfile-nfslock-pe <none> (no description available)
ii libio-socket-ssl-p 1.33-1+squeeze1 Perl module implementing object or
pn libmail-dkim-perl <none> (no description available)
pn libsoap-lite-perl <none> (no description available)
ii locales 2.11.3-3 Embedded GNU C Library: National L
ii logrotate 3.7.8-6 Log rotation utility
ii mysql-server 5.1.61-0+squeeze1 MySQL database server (metapackage
ii mysql-server-5.1 [ 5.1.61-0+squeeze1 MySQL database server binaries and
Versions of packages sympa suggests:
ii apache2 2.2.16-6+squeeze6 Apache HTTP Server metapackage
ii apache2-mpm-worker [ht 2.2.16-6+squeeze6 Apache HTTP Server - high speed th
pn libauthcas-perl <none> (no description available)
pn libdbd-oracle-perl <none> (no description available)
pn libtext-wrap-perl <none> (no description available)
ii openssl 0.9.8o-4squeeze7 Secure Socket Layer (SSL) binary a
-- debconf information excluded
More information about the Pkg-sympa-devel
mailing list