Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75609 - /etc/xinetd.d/vsftpd added with "flags = ipv6" causing startup to fail...
Summary: /etc/xinetd.d/vsftpd added with "flags = ipv6" causing startup to fail...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 76033
Blocks:
  Show dependency tree
 
Reported: 2004-12-25 01:24 UTC by je_fro
Modified: 2005-06-07 16:08 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description je_fro 2004-12-25 01:24:08 UTC
For some reason, "flags  =   ipv6" was included at the bottom of /etc/xinetd.d/vsftp causing xinetd to fail at startup with the error:
"address family not supported by protocol"
I re-emerged both vsftpd and xinetd with USE='-ipv6' and even added --without-ipv6 to the xinetd ebuild, still to no avail. It took awhile, but I found the problem. Commenting out the offending line eliminated the problem. I don't know if the problem is in portage....hth...


Reproducible: Always
Steps to Reproduce:
1. USE='-ipv6' emerge xinetd vsftpd 
2. /etc/init.d/xinetd start
3. watch it fail

Actual Results:  
fails to start with error: "address family not supported by protocol"

Expected Results:  
started

I fixed it by commenting out the "flags = ipv6" line in xinetd.d/vsftp
Comment 1 Jeff Smelser 2004-12-29 08:51:05 UTC
Xinetd was right, it isnt supported since its not compiled in. Why is this a bug for xinetd?
Comment 2 Jeffrey Gardner (RETIRED) gentoo-dev 2004-12-29 16:02:50 UTC
I don't know...I never enabled ipv6 anywhere, yet the flag was present. It's no big deal, just reporting it because it's an irregularity.
Comment 3 Jeff Smelser 2004-12-30 08:53:44 UTC
I have dug deeper into this.. That flag will not work if you do not have ipv6 disabled in your kernel. (or the module isnt loaded.) Did you check that?

Comment 4 Jeffrey Gardner (RETIRED) gentoo-dev 2005-01-01 15:26:36 UTC
yeah, I have no ipv6 anywhere...in ther kernel or anywhere else.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2005-06-07 16:08:46 UTC
vsftpd-2.0.3 no longer installs an xinetd file with an ipv6 flag