logrotate crashes proftpd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
proftpd-dfsg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In /etc/logrotate/
invoke-rc.d proftpd restart 2>/dev/null >/dev/null || true
This command fails to properly restart the service.
Updating /etc/init.d/proftpd fixes the problem:
--- /etc/init.
+++ /etc/init.d/proftpd 2016-04-13 18:25:59.508208307 +0200
@@ -106,7 +106,7 @@
fi
fi
if [ -f "$PIDFILE" ]; then
- start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile "$PIDFILE"
+ start-stop-daemon --stop --signal $SIGNAL --retry 2 --quiet --pidfile "$PIDFILE"
if [ $? = 0 ]; then
else
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: proftpd-basic 1.3.5~rc3-
ProcVersionSign
Uname: Linux 3.19.0-51-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Wed Apr 13 18:15:51 2016
InstallationDate: Installed on 2016-02-01 (72 days ago)
InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
ProcEnviron:
LANGUAGE=
TERM=linux
PATH=(custom, no user)
LANG=nb_NO.UTF-8
SHELL=/bin/bash
SourcePackage: proftpd-dfsg
UpgradeStatus: No upgrade log present (probably fresh install)