Bug 123624 - Daemon expects /etc/vsftpd.conf, rpm installs /etc/vsftpd/vsftpd.conf
Daemon expects /etc/vsftpd.conf, rpm installs /etc/vsftpd/vsftpd.conf
Status: CLOSED RAWHIDE
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: vsftpd (Show other bugs)
3.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-05-19 14:32 EDT by Peter Burkholder
Modified: 2014-03-16 22:45 EDT (History)
1 user (show)

See Also:
Fixed In Version: 1.2.1-5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-05-24 17:41:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Burkholder 2004-05-19 14:32:54 EDT
From Bugzilla Helper:
User-Agent: Opera/7.11 (Linux 2.4.20-30.8.legacy i686; U)  [en]

Description of problem:
vsftpd on start up looks for /etc/vsftpd:

$strace /usr/sbin/vsftpd
...
stat64("/etc/vsftpd.conf", 0x8001a008)  = -1 ENOENT (No such file or 
directory)
...

rpm installed /etc/vsftpd/vsftpd.conf:
$ rpm -ql vsftpd
/etc/logrotate.d/vsftpd.log
/etc/pam.d/vsftpd
/etc/rc.d/init.d/vsftpd
/etc/vsftpd
/etc/vsftpd.ftpusers
/etc/vsftpd.user_list
/etc/vsftpd/vsftpd.conf
...
 

Version-Release number of selected component (if applicable):
vsftpd-1.2.1-3 

How reproducible:
Always

Steps to Reproduce:
1.rpm --erase vsftpd
2.up2date -i vsftpd
3./usr/sbin/vsftpd # throws error
4.ln -s /etc/vsftpd/vsftpd.conf /etc/vsftpd.conf
5. /usr/sbin/vsftpd # works


Additional info:
Comment 1 Bill Nottingham 2004-05-24 17:41:02 EDT
This is fixed in FC2, and will be in future RHEL releases. The
initscript does work for invoking vsftpd.

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