Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54228 - vsftpd init script doesn't support ipv6 only
Summary: vsftpd init script doesn't support ipv6 only
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 14:33 UTC by Florian E.J. Fruth
Modified: 2005-06-07 11:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix (vsftpd.init.d,1.56 KB, text/plain)
2005-06-07 08:33 UTC, Florian E.J. Fruth
Details

Note You need to log in before you can comment on or make changes to this bug.
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