FS#4255 - vsftpd daemon's script not correct

Attached to Project: Arch Linux
Opened by Not Important (pholie) - Wednesday, 22 March 2006, 18:44 GMT
Last edited by arjan timmerman (blaasvis) - Saturday, 25 March 2006, 23:13 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Set vsftptd to be running as xinetd service by commenting the line: #listen=YES line in /etc/vsftpd.conf. Running the daemon manually produces this output (correctly):
# /usr/sbin/vsftpd
500 OOPS: vsftpd: not configured for standalone, must be started from inetd
and will not start the service.

Running the daemon from the script with '/etc/rc.d/vsftpd start' however says:
:: Starting vsftpd FTP Daemon [DONE]
although the daemon is actually not running. This is also why '/etc/rc.d/vsftpd stop' fails.
This task depends upon

Closed by  Judd Vinet (judd)
Monday, 27 March 2006, 04:26 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Thursday, 23 March 2006, 07:39 GMT
IMHO it would be better to make vsftpd running in standalone mode, as most users don't use xinetd to launch other daemons.
Comment by Not Important (pholie) - Thursday, 23 March 2006, 12:34 GMT
Yeah, it works in standalone mode fine. But when you forget to uncomment the line in config which is by default commented, it is configured to run as xinetd service. Now try to run it with '/etc/rc.d/vsftpd start' and it confusingly tells you the daemon has successfully been started but in fact it fails because of the "bad" configuration.

Loading...