Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149673 - Make RC_NET_STRICT_CHECKING at least "no" instead of "none" by default in baselayout-vserver
Summary: Make RC_NET_STRICT_CHECKING at least "no" instead of "none" by default in bas...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-30 19:06 UTC by Grzegorz Kulewski
Modified: 2006-10-22 07:18 UTC (History)
0 users

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 Grzegorz Kulewski 2006-09-30 19:06:30 UTC
I think it is currently "none" by default in baselayout-vserver.

I think it should be "no" at least (probably as in normal baselayout) because otherwise some services (like lighttpd) randomly fail to start with something like:

2006-10-01 03:10:55: (network.c.300) can't bind to port: 10.0.0.201 80 Cannot assign requested address

although they "need net", because there is a race condition and sometimes venet isn't up yet.

Setting it to "no" seems to solve the problem reliably.

Thanks to pioto@irc for helping me track this down and suggesting bug report.
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2006-10-22 06:14:42 UTC
i don't think we should/will change this setting in baselayout-vserver, because of

1) linux-vserver does not use a virtualized network approach, but a isolated one, where the IP adresses are assigned before the virtual server has started

2) baselayout-vserver will fade away in the near future (with baselayout-1.13)

3) the RC_NET_STRICT_CHECKING setting will probably go away (see http://article.gmane.org/gmane.linux.gentoo.devel/43441)
Comment 2 Grzegorz Kulewski 2006-10-22 07:18:40 UTC
(In reply to comment #1)
> i don't think we should/will change this setting in baselayout-vserver, 

Well, I will not try to push that change but with openvz you are getting subtle and hard to debug timing errors while starting packages with this default.

I spent a few hours debuging what and why is this and it wasn't very nice thing to do. ;-) And somebody that does not know network programming, bash and Gentoo init scripts may have worse problems.

So maybe at least add a warning into Gentoo VPS howto?