Bug 191924 - vsftpd can't start with the default configuration on s390x
Summary: vsftpd can't start with the default configuration on s390x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: vsftpd
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Radek Vokál
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks: 181409
TreeView+ depends on / blocked
 
Reported: 2006-05-16 14:21 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHBA-2006-0531
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-10 21:43:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vsftpd-cant-start.patch (576 bytes, patch)
2006-05-16 14:21 UTC, Bastien Nocera
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0531 0 normal SHIPPED_LIVE vsftpd bug fix update 2006-08-10 04:00:00 UTC

Description Bastien Nocera 2006-05-16 14:21:24 UTC
vsftpd-2.0.1-5.EL4.4

In parseconf.c, vsf_parseconf_load_file(), there's a call to:
str_stat(&config_file_str, &p_statbuf);
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

# vsftpd
500 OOPS: cannot open config file:/etc/vsftpd/vsftpd.conf

Patch from Adam Bottchen <bottchen.com>

Comment 1 Bastien Nocera 2006-05-16 14:21:25 UTC
Created attachment 129197 [details]
vsftpd-cant-start.patch

Comment 5 Radek Vokál 2006-05-19 10:17:20 UTC
Forget about comment #4. It does crash with fresh install. Tested. 

Comment 6 Jan Lieskovsky 2006-05-19 12:31:23 UTC
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. 

Comment 16 Red Hat Bugzilla 2006-08-10 21:43:44 UTC
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.

http://rhn.redhat.com/errata/RHBA-2006-0531.html



Note You need to log in before you can comment on or make changes to this bug.