slow boot and network racecondition

Bug #224220 reported by Per Hermansson
2
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On rare ocation Ubuntu boots really slowly and after awhile the usplash boot screen disapears. Instead the terminal is shown and, amongst others, the following lines:

Starting AFS service: openafs afsd.
ADVISEADDR: Error in specifying interface addresses: No existing IP interface found.

Since this problem isn't occurring every time one explanation might be some kind of race condition with starting my network interfaces.
I'm attaching my 'messages' log file during the boot if it might help. Although the afs error doesn't seems to be specified in any log file (only in the terminal).

Revision history for this message
Per Hermansson (hermansson-per) wrote :
Revision history for this message
Marty Vona (vona) wrote :

I am seeing this too, after switching from a static IP address to DHCP. This may be a duplicate of 249240, see comments there.

Revision history for this message
Russ Allbery (rra-debian) wrote :

Does this problem disappear if you enable dynroot via dpkg-reconfigure openafs-client? If so, it's fixed in 1.4.8.dfsg1-1 and later, which uses dynroot by default.

Revision history for this message
Per Hermansson (hermansson-per) wrote :

I'm not sure since I reported this some time ago, but since then I've set dynroot to true and I think the slow boot symptom haven't appeared after that. So enabling that is a good workaround.

Revision history for this message
Russ Allbery (rra-debian) wrote : Re: [Bug 224220] Re: slow boot and network racecondition

Per Hermansson <email address hidden> writes:

> I'm not sure since I reported this some time ago, but since then I've
> set dynroot to true and I think the slow boot symptom haven't appeared
> after that. So enabling that is a good workaround.

Okay, cool. I think that's actually the solution. It increasingly makes
little sense to run AFS without dynroot. In a future version of the
package, I may change the debconf template to make it clear that you don't
want to disable that (now that it's the default) unless you have a static
IP address configured at boot. Without dynroot, AFS tries to talk to the
local VLDBs as soon as it starts, which isn't ever going to work if your
network comes up at some unknown point later in the boot process (which is
the case if you're using something like Network Manager).

--
Russ Allbery (<email address hidden>) <http://www.eyrie.org/~eagle/>

Revision history for this message
Russ Allbery (rra-debian) wrote :

Fixed in 1.4.8.dfsg1-1 by making dynroot the default for new installations.

Changed in openafs:
status: New → Fix Committed
Revision history for this message
Anders Kaseorg (andersk) wrote :

This bug was fixed in Jaunty. If you need this fix in a previous Ubuntu release, you can try the backported packages at https://launchpad.net/~anders-kaseorg/+archive/openafs .

Changed in openafs (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.