Skip to Content.
Sympa Menu

devel - [Jonas Smedegaard <dr@jones.dk>] Bug#119445: sympa: cannot purge: syslog-facility remove options are not quoted

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: address@concealed (Jérôme Marant)
  • To: address@concealed
  • Subject: [Jonas Smedegaard <address@concealed>] Bug#119445: sympa: cannot purge: syslog-facility remove options are not quoted
  • Date: 13 Nov 2001 18:53:17 +0100


Hi,

Here is a wishlist bug.

Cheers,

--- Begin Message ---
  • From: Jonas Smedegaard <address@concealed>
  • To: Debian Bug Tracking System <address@concealed>
  • Subject: Bug#119445: sympa: cannot purge: syslog-facility remove options are not quoted
  • Date: Tue, 13 Nov 2001 17:28:30 +0100
  • Resent-cc: Jerome Marant <address@concealed>
  • Resent-date: Tue, 13 Nov 2001 16:33:01 GMT
  • Resent-from: Jonas Smedegaard <address@concealed>
  • Resent-to: address@concealed
Package: sympa
Version: N/A; reported 2001-11-13
Severity: normal
Tags: patch

When purging sympa (newest version as of yesterday from sid - but it was not
on this machine!), it spits out the following:

Stopping mailing list manager: sympa.
dpkg - warning: while removing sympa, directory `/usr/lib/sympa' not empty so
not removed.
dpkg - warning: while removing sympa, directory `/etc/sympa' not empty so not
removed.
Purging configuration files for sympa ...
syslog-facility - Copyright (c) 1998 Hertzog Raphaël
Usage : /usr/sbin/syslog-facility set <set_of_priority> <logfile> ...
it returns the 'LOCALx' string you have the right to use.
/usr/sbin/syslog-facility remove <facility>
Example: /usr/sbin/syslog-facility set all /var/log/all
/usr/sbin/syslog-facility set all\;\!=info /var/log/all-without-info
/usr/sbin/syslog-facility set =err /var/log/errors =warning
/var/log/warn
/usr/sbin/syslog-facility remove LOCAL1
dpkg: error processing sympa (--purge):
subprocess post-removal script returned error exit status 255

Looking at the postrm script and hcaking the following:

/usr/sbin/syslog-facility remove `cat /etc/sympa/something`

into (from the top of my head):

/usr/sbin/syslog-facility remove "`cat /etc/sympa/something`"

Made it run without complaints.

/etc/sympa/that-file-it-was cat'ing was empty...

- Jonas

-- System Information
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux auryn 2.4.14-pre5ben0rsync20011101irda1 #1 tor nov 1 21:31:05
CET 2001 ppc
Locale: LANG=da_DK, LC_CTYPE=da_DK

--- End Message ---


--
Jérôme Marant <address@concealed>
<address@concealed>

http://marant.org




Archive powered by MHonArc 2.6.19+.

Top of Page