logrotate's restart of proftpd fails to start

Bug #1398506 reported by Jim Kyle
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
proftpd-dfsg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Xubuntu 14.04.1, fully updated. Since approximately November 15, 2014, running logrotate via cron.daily has stopped the proftpd server via SIGHUP, but server fails to re-start. Manually restarting works properly. Am not certain whether problem is in logrotate or proftpd, but neither has updated recently. Possible cause may be dbus changes done in early November.

Current workaround is to create a cron.hourly task that checks proftpd status and if not running, starts the server again.

Tags: patch
Chris Boot (bootc)
affects: ulogd2 (Ubuntu) → proftpd (Ubuntu)
Revision history for this message
Rolf Offermanns (rolf-offermanns) wrote :

I have the same problem.

How to reproduce:
invoke-rc.d proftpd restart

1. If proftpd is running it will be not running after this command
2. If proftpd is *not* running, it will be running after this command

Expected result:
1. If proftpd is running, it will be running (again) after this command

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in proftpd (Ubuntu):
status: New → Confirmed
Revision history for this message
Diego Fernández Durán (diego-goedi) wrote :

I'm suffering this same problem, it fails to restart manually or when rotating logs.

I've made a "dirty" solution, modifying /etc/init.d/proftpd, that solves the problem just waiting one second between stopping and starting the process again. Patch is attached.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "/etc/init.d/proftpd sleep" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

In the future, please use 'ubuntu-bug package-name' to report Ubuntu bugs.
https://help.ubuntu.com/community/ReportingBugs

You have reported a bug in a non-existent package in Ubuntu archives since 2007. No developer will see this bug report because simply the package does not exist any more.

affects: proftpd (Ubuntu) → proftpd-dfsg (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.