Red Hat Bugzilla – Bug 191924
vsftpd can't start with the default configuration on s390x
Last modified: 2007-11-30 17:07:25 EST
In parseconf.c, vsf_parseconf_load_file(), there's a call to:
with fatal errors enabled.
config_file_str doesn't contain the filename, but the content of the config file.
(I don't know how that cannot be a problem on other platforms, might have to do
with the slightly different compiler options on s390x).
1. Install vsftpd
2. service vsftpd start
3. service vsftpd status will say:
vsftpd dead but subsys locked
500 OOPS: cannot open config file:/etc/vsftpd/vsftpd.conf
Patch from Adam Bottchen <firstname.lastname@example.org>
Created attachment 129197 [details]
Forget about comment #4. It does crash with fresh install. Tested.
Missed this bug by testing vsftpd-2.0.1-5.EL4.4 due
BZ#158714 â 'service vsftpd start' says OK even if exit status of vsftpd binary
is 1, and does not pass on errors from that binary,
just runned service vsftpd start got [OK], and didn't rechecked the
status of vsftpd via vsftpd status.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.