Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261924 - net-fs/openafs-1.4.8-r1 does not start from anything else than net.eth0
Summary: net-fs/openafs-1.4.8-r1 does not start from anything else than net.eth0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 23:00 UTC by dejfson
Modified: 2010-06-21 23:11 UTC (History)
1 user (show)

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


Attachments
emerge --info (einfo.txt,3.78 KB, text/plain)
2009-03-11 00:36 UTC, dejfson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dejfson 2009-03-09 23:00:50 UTC
I have openafs installed, kernel module as well. I am accessing network via eth0 (ethernet connection) or wlan. When working via eth0, the service starts during boot without any problem. When no eth0 connection is available, but wifi connection is, the service does not start correctly. Instead I get following message:

* WARNING: openafs-client is scheduled to start when net.eth0 has started

the list does not contain net.wlan0, which is a primary adapter when using wifi connection.

the whole problem disappeared when I removed 'need net' command from openafs-client and openafs-server init scripts (/etc/init.d/)


Reproducible: Always

Steps to Reproduce:
1. configure eth and wifi connections
2. start wifi connection without cable inserted into eth
3. restart client: /etc/init.d/openafs-client restart


Actual Results:  
poco luks # /etc/init.d/openafs-client restart
* Caching service dependencies...                                                                                                                               [ ok ]
* Stopping OpenAFS client...
*   Unmounting /afs...                                                                                                                                          [ ok ]
*   Stopping OpenAFS daemon...                                                                                                                                  [ ok ]
*   Unloading OpenAFS module...                                                                                                                                 [ ok ]
* WARNING: openafs-client is scheduled to start when net.eth0 has started


Expected Results:  
openafs client correctly running

The openafs application itself runs correctly when eth0 is found, or when 'need net' is removed from the scripts and service is restarted once the wifi connection is established.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-10 20:55:58 UTC
Please post your "emerge --info".

Re-open this bug when you provide the requested information.
Comment 2 dejfson 2009-03-11 00:36:53 UTC
Created attachment 184642 [details]
emerge --info

emerge --info
Comment 3 dejfson 2009-03-11 00:37:27 UTC
emerge --info added
Comment 4 Stefaan De Roeck (RETIRED) gentoo-dev 2009-10-24 21:29:43 UTC
It seems to me you are looking for the option RC_NET_STRICT_CHECKING in /etc/conf.d/rc, am I correct?