Bug 753665

Summary: vsftpd systemd configuration does not work
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: vsftpdAssignee: Jiri Skala <jskala>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: aglotov, jskala, nagy.martin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-14 08:00:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ralf Corsepius 2011-11-14 03:25:02 UTC
Description of problem:

The default systemd-configuration of vsftpd does not work:

# ls -l /lib/systemd/system/vs*
-rw-r--r--. 1 root root 415 Aug  4 16:31 /lib/systemd/system/vsftpd@.service
lrwxrwxrwx. 1 root root  35 Nov 14 04:16 /lib/systemd/system/vsftpd -> /lib/systemd/system/vsftpd@.service

Trying to enable it:
# systemctl enable vsftpd
Failed to issue method call: No such file or directory

Version-Release number of selected component (if applicable):
vsftpd-2.3.4-5.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
yum remove vsftpd
yum install vsftpd
systemctl enable vsftpd

  
Actual results:
cf. above.


Expected results:
function.

Additional info:

Replacing the /lib/systemd/system/vsftpd symlink with a copy of /lib/systemd/system/vsftpd@.service seems to make things work:

# rm -f /lib/systemd/system/vsftpd
# cp /lib/systemd/system/vsftpd@.service /lib/systemd/system/vsftpd
# systemctl enable vsftpd
ln -s '/lib/systemd/system/vsftpd' '/etc/systemd/system/multi-user.target.wants/vsftpd'
# systemctl start vsftpd

Comment 1 Jiri Skala 2011-11-14 08:00:18 UTC

*** This bug has been marked as a duplicate of bug 753365 ***