Package: mumble-server
Version: 1.2.3-349-g315b5f5-1
Severity: normal
File: mumble-server
Dear Maintainer,
Upon doing "aptitude remove mumble-server", a
/etc/logrotate.d/mumble-server is left. This is as it should be, since
configuration files should not be deleted upon removal.
But this logrotate script causes the following error
/etc/cron.daily/logrotate:
start-stop-daemon: unable to stat /usr/sbin/murmurd (No such file or directory)
error: error running non-shared postrotate script for
/var/log/mumble-server/mumble-server.log of
'/var/log/mumble-server/mumble-server.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
The script looks like this:
/var/log/mumble-server/mumble-server.log {
weekly
rotate 7
compress
delaycompress
missingok
postrotate
start-stop-daemon --quiet --oknodo --stop --signal 1 --exec
/usr/sbin/murmurd --user mumble-server --pidfile
/var/run/mumble-server/mumble-server.pid
endscript
}
Where it is obviously the postrotate action which references
/usr/sbin/murmurd. The postrotate action should exit if the murmur
binary does not exist, like the /etc/init.d/mumble-server (and all
other policy-compliant) package does:
/etc/init.d/mumble-server :
DAEMON=/usr/sbin/murmurd
[...]
test -x $DAEMON || exit 0
Perhaps the author tried to get this effect with "--exec
/usr/sbin/murmurd" combined with "--oknodo", but it seems that
start-stop-daemon actually requires the binary to exist, even with
"--oknodo".
Regards, Thue
ps: I have no idea why it is a good idea to send a HANGUP signal to
mumble-server in the logrotate postrotate, as it currently does.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mumble-server depends on:
ii adduser 3.113+nmu3
ii dbus 1.6.0-1
ii debconf [debconf-2.0] 1.5.43
ii libavahi-client3 0.6.31-1
ii libavahi-common3 0.6.31-1
ii libavahi-compat-libdnssd1 0.6.31-1
ii libc6 2.13-33
ii libcap2 1:2.22-1.1
ii libgcc1 1:4.7.1-1
ii libiceutil34 3.4.2-8
ii libprotobuf7 2.4.1-2
ii libqt4-dbus 4:4.8.1-1
ii libqt4-network 4:4.8.1-1
ii libqt4-sql 4:4.8.1-1
ii libqt4-sql-sqlite 4:4.8.1-1
ii libqt4-xml 4:4.8.1-1
ii libqtcore4 4:4.8.1-1
ii libssl1.0.0 1.0.1c-3
ii libstdc++6 4.7.1-1
ii libzeroc-ice34 3.4.2-8
mumble-server recommends no packages.
Versions of packages mumble-server suggests:
pn mumble-django <none>
pn mumble-server-web <none>
-- Configuration Files:
/etc/mumble-server.ini [Errno 13] Adgang nægtet: u'/etc/mumble-server.ini'
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]