Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44298 - [vsftpd] not running = logrotate fails (cannot SIGHUP nonexistent process)

Attached to Project: Community Packages
Opened by Chris Warrick (Kwpolska) - Sunday, 22 March 2015, 08:39 GMT
Last edited by Jonathan Steel (jsteel) - Friday, 27 March 2015, 19:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The logrotate script for vsftpd sends SIGHUP to the process via killall -HUP vsftpd, which fails if vsftpd is not currently running on the system.

Mar 22 09:24:10 kw-cassandra systemd[1]: Starting Rotate log files...
Mar 22 09:24:11 kw-cassandra logrotate[389]: vsftpd: no process found
Mar 22 09:24:11 kw-cassandra logrotate[389]: error: error running non-shared postrotate script for /var/log/vsftpd.log of '/var/log/vsftpd.log '
Mar 22 09:24:12 kw-cassandra systemd[1]: logrotate.service: main process exited, code=exited, status=1/FAILURE
Mar 22 09:24:12 kw-cassandra systemd[1]: Failed to start Rotate log files.
Mar 22 09:24:12 kw-cassandra systemd[1]: Unit logrotate.service entered failed state.
Mar 22 09:24:12 kw-cassandra systemd[1]: logrotate.service failed.

Additional info:
* package version(s): vsftpd-3.0.2-4; logrotate-3.8.9-1
* config and/or log files etc.: default config


Steps to reproduce:

1. Install vsftpd, start it and stop it
2. Run logrotate and see it fail
This task depends upon

Closed by  Jonathan Steel (jsteel)
Friday, 27 March 2015, 19:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.0.2-5

Loading...