Hi On Thu, Oct 04, 2012 at 10:07:12AM +0200, Andreas Beckmann wrote: > Package: sympa > Version: 6.1.11~dfsg-4 > Severity: serious > User: [email protected] > Usertags: piuparts > > Hi, > > during a test with piuparts I noticed your package modifies conffiles. > And even worse, it's a conffile owned by a different package. > This is forbidden by the policy, see > http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files > [..] > > debsums reports modification of the following files, > from the attached log (scroll to the bottom...): > > /etc/syslog.conf
I had a look at this bugreport for sympa. This indeed seems to be a
problem if one uses sysklogd. sysklogd provides
/usr/sbin/syslog-facility and in sympa's postinst we have:
----cut---------cut---------cut---------cut---------cut---------cut-----
## Setup a syslog facility
if which syslog-facility >/dev/null 2>&1 \
&& [ -e /etc/syslog.conf ] \
&& ! grep -q "/var/log/sympa.log" /etc/syslog.conf \
&& syslog-facility set all /var/log/sympa.log > /etc/sympa/facility \
&& [ -x /etc/init.d/sysklogd ]; then
if which invoke-rc.d >/dev/null 2>&1; then
invoke-rc.d sysklogd reload
else
etc/init.d/sysklogd reload
fi
fi
----cut---------cut---------cut---------cut---------cut---------cut-----
The problematic call is syslog-facility set all /var/log/sympa.log
which will add a
local0.* /var/log/sympa.log
to /etc/syslog.conf.
Regards,
Salvatore
signature.asc
Description: Digital signature

