Package: vsftpd
Version: 3.0.2-14
Severity: minor
message "vsftpd failed - probably invalid config." is received during boot.
Yet the server started normally. This message is issued by /etc/init.d/vsftpd.
This message is not issued on every boot, only occasionally.
This appears to be a timing problem. The server is started asynchronously
from this script. The script then immediately looks for the PID file; and if
it doesn't find it issues the above error message. But the server may not yet
have had time to create the PID file.
Adding "sleep 1" between
start-stop-daemon --start --background -m --oknodo --pidfile /var/run/vsftpd/vsftpd.pid --exec ${DAEMON}
and
_PID="$(if [ -e /var/run/vsftpd/vsftpd.pid ]; then cat /var/run/vsftpd/vsftpd.pid; fi)"
seems to fix the problem for me.
--
.''`. Stephen Powell
: :' :
`. `'`
`-
--
To UNSUBSCRIBE, email to
debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listm...@lists.debian.org