FS#6232 - vsftpd rc.d script suggestion.

Attached to Project: Arch Linux
Opened by William Zhou (DawnFantasy) - Friday, 19 January 2007, 09:42 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 19 February 2008, 19:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

In rc.d/vsftpd:
stat_busy "Starting vsftpd FTP Daemon"
if [ -z "$PID" ]; then
/usr/sbin/vsftpd &
PID=`pidof -o %PPID /usr/sbin/vsftpd`

If vsftpd.conf states "background=YES", the & is not needed, as vsftpd starts in background mode.

With the &, the next PID detection command might fail as vsftpd is not started yet, which is the case in my box.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 19 February 2008, 19:59 GMT
Reason for closing:  Won't fix
Additional comments about closing:  removing the "&" forces to add "background=YES" or to use xinetd. I'll keep the old form. Insert a "sleep x" if your system's too slow to get it up right.
Comment by Pavel Shevchuk (Stalwart) - Saturday, 18 August 2007, 19:02 GMT
Bug is still present =(
Comment by Xavier (shining) - Wednesday, 26 September 2007, 12:55 GMT
Same problem here.
Comment by Mark (Lifty) - Saturday, 16 February 2008, 15:23 GMT
Don't Know if this has something to do with my bug but it might be the case:
I have put vsftpd in rc.conf's daemon list and let it start backgrounded.
On every boot it says that vsftpd fails to start but it does not, its running fine.

Loading...