Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 54228

Summary: vsftpd init script doesn't support ipv6 only
Product: Gentoo Linux Reporter: Florian E.J. Fruth <spammail01>
Component: Current packagesAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix

Description Florian E.J. Fruth 2004-06-17 14:33:16 UTC
the vsftpd-init-script (aka /etc/init.d/vsftpd) checks if background=yes and listen=yes are set in the /etc/vsftpd.conf file. listen=yes needed be set. e.g. i use listen_ipv6=yes and listen=no. so it need to be changed to check for:
if ((background != yes) || ((listen != yes) && (listen_ipv6 != yes))) then { bla }
but i don't know how to write this in bash-style ;)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Florian E.J. Fruth 2005-06-07 08:33:49 UTC
Created attachment 60776 [details]
fix

after i rebootet my gentoo box today i encountered this problem again... nearly
one year and this bug isn't fixed - so i tried again and voila.
plz replace the portage/net-ftp/vsftpd/files/vsftpd.init.d with the file i
attached to fix this bug
Comment 2 Roy Marples (RETIRED) gentoo-dev 2005-06-07 11:37:45 UTC
Thanks for the patch - I've tailored it slightly though

Fixed in vsftpd-2.0.3