Bug 1274

Summary: openafs init script bails out when it can't find an IP address
Product: Fedora Reporter: Angel Marin <anmar>
Component: openafsAssignee: Jack Neely <jjneely>
Status: RESOLVED FIXED    
Severity: normal CC: ktdreyer
Priority: P5    
Version: 13   
Hardware: All   
OS: GNU/Linux   
namespace:
Attachments: rm network detection from init.d script

Description Angel Marin 2010-06-15 00:17:39 CEST
The init script refuses to start afsd if it can't find an active interface, but openafs works just fine in such a situation (at least when using -dynroot).

So this'll leave for example any system with NetworkManager managing their network connections without afsd running ...

Please start afsd whether there is an active IP address or not ... or at least do so when -dynroot is enabled.
Comment 1 Ken Dreyer 2010-06-16 01:01:52 CEST
Created attachment 430 [details]
rm network detection from init.d script

I was bitten by this as well (NetworkManager doesn't get an IP until after I log in). The attached patch strips out the network detection from /etc/init.d/openafs, and it has been working for me.
Comment 2 Jack Neely 2010-06-16 03:36:33 CEST
Thanks for the patch.  I should have this tested/released by the 30th.  
Comment 3 Jack Neely 2010-06-30 20:33:42 CEST
Check out openafs-1.4.12.1-3 which should be landing in rpmFusion's testing repos for F-13 shortly.  That contains your patch to remove the IP address check.
Comment 4 Jack Neely 2011-04-14 19:38:39 CEST
Closing.  Fixed in 1.4.12.1-3.  Please re-open if this doesn't work for you.