Jean Charles Delepine wrote:
Package: sympa
Version: 5.2.3-0.5
Severity: normal
Tags: patch


# grep ^syslog /etc/sympa/sympa.conf
syslog  LOCAL1
# grep sympa /etc/syslog.conf local0.* /var/log/sympa.log

You might :

* modify debian/sympa_wizard.pl to use LOCAL0 (problem if already used)

* Return to the firsts debian package and use syslog = `cat /etc/sympa/facility`

Second solution :

--- debian/postinst     (revision 2084)
+++ debian/postinst     (working copy)
@@ -48,6 +48,7 @@
 if [ ! -f /etc/sympa/sympa.conf ]; then
        /usr/lib/sympa/bin/sympa_wizard.pl -c sympa.conf -f 
/etc/sympa/sympa.conf
        perl -i -pe 's%^(cookie\s+).*%cookie `/bin/cat /etc/sympa/cookie`%' 
/etc/sympa/sympa.conf
+       perl -i -pe 's%^(syslog\s+).*%syslog `/bin/cat /etc/sympa/facility`%' 
/etc/sympa/sympa.conf
 fi
# Install wwsympa.conf

Although this is suboptimal as it doesn't work with syslog-ng out of the box, 
I'll accept
that patch.

Bye
        Racke


--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to