Bug 469476 - boinc_client fails to have network connectivity after reboot
Summary: boinc_client fails to have network connectivity after reboot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: boinc-client
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Milos Jakubicek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-01 08:09 UTC by Christopher Beland
Modified: 2009-08-22 08:23 UTC (History)
5 users (show)

Fixed In Version: boinc-client-6.6.37-2.r18632svn.fc11.x86_64
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-22 02:15:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christopher Beland 2008-11-01 08:09:32 UTC
If I enable boinc-client in system-config-services and then reboot, boinc_client starts up OK, but quickly starts to accumulate a lot of "cannot resolve hostname" errors.  But then if I do "/sbin/service boinc-client restart", it no longer has any network problems.  I notice in /etc/rc5.d/ that boinc-client is at S98 and NetworkManager is at S99, so perhaps it is a matter of the startup order?

This is with boinc-client-6.2.15-1.20080818svn.fc10.x86_64 and NetworkManager-0.7.0-0.11.svn4229.fc10.x86_64 (rawhide), though I was having the same symptom in Fedora 9.

Comment 1 Christopher Beland 2008-11-18 14:41:28 UTC
The F10 preview release notes say:

"NetworkManager starts the network asynchronously. Users who have applications that require the network to be fully initialized during boot should set the NETWORKWAIT variable in /etc/sysconfig/network. Please file bugs about cases where this is necessary, so we can fix the applications in question."

Comment 2 Bug Zapper 2008-11-26 04:36:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Milos Jakubicek 2008-11-27 22:07:24 UTC
Hi and sorry for late response,

this is indeed a BOINC bug because BOINC is not able to use network connections which appear after its start. In other words: network has to be up *before* BOINC is starting. This should be fixed in BOINC 6.4 AFAIK.

I've already seen one report about this issue, it was simply caused by slow DHCP response (resulting into BOINC starting before network was up) and could be solved by delaying BOINC startup in the init script (sleep 15 or something like that).

I'm setting this back to rawhide + adding FutureFeature as we can't expect it to be fixed before BOINC 6.4

Comment 4 Liang Suilong 2008-12-04 06:36:44 UTC
(In reply to comment #3)
> Hi and sorry for late response,
> 
> this is indeed a BOINC bug because BOINC is not able to use network connections
> which appear after its start. In other words: network has to be up *before*
> BOINC is starting. This should be fixed in BOINC 6.4 AFAIK.
> 
> I've already seen one report about this issue, it was simply caused by slow
> DHCP response (resulting into BOINC starting before network was up) and could
> be solved by delaying BOINC startup in the init script (sleep 15 or something
> like that).
> 
> I'm setting this back to rawhide + adding FutureFeature as we can't expect it
> to be fixed before BOINC 6.4

But I set up a new Ubuntu 8.10 for testing boinc, and the version of boinc is 6.2.15 ,which is the same as in Fedora 10. My bonic is running stable, nevertheless, the boinc can not connect to the server. I can not join in SETI@Home project.
Also, I find the service named of boinc-client is running. And then I try to run boinc in terminal. but the screen displays gstat error....
I do not know how to solve this program

Comment 5 Milos Jakubicek 2009-01-02 17:52:25 UTC
Please could you try the RPM's located at 
http://mjakubicek.fedorapeople.org/boinc/

It is BOINC 6.4, I'd like to know whether it fixes your problem (i.e. checking for network availability) as I have no machine where I could reproduce it. Thanks in advance.

Comment 6 Christopher Beland 2009-01-04 01:20:07 UTC
This is unfortunately still a problem with boinc-client-6.4.5-1.20081217svn.fc11.x86_64.

Comment 7 Christopher Beland 2009-01-04 01:26:12 UTC
This appears to be filed upstream at:

http://boinc.berkeley.edu/trac/ticket/707

But the milestone targeted for fixing it is "6.6".

Comment 8 Christopher Beland 2009-07-25 15:55:09 UTC
This seems to be fixed as of boinc-client-6.6.37-2.r18632svn.fc11.x86_64.

Comment 9 Milos Jakubicek 2009-07-25 22:29:52 UTC
Hm...I very surprised about this, so much that I can hardly believe it. However, the testing I've done so far confirms this to be fixed.

My testing procedure (which hopefully generalize the on-start problem) was:

1) Make BOINC into a state when network communication is necessary (like attach new project).

2) Disconnect from network.

3) Restart BOINC

4) Wait until it finds out there is no network and waits.

5) Reconnect to network, wait until BOINC retries communication.

I've done a lot of communication with upstream when I revealed this bug, but I got no news on this (nor the ticket linked above) for months. That's why I'm so curious...I have made a comment in the upstream ticket, will wait on response.

It would be of course great if this would finally go away, this was the most annoying bug from a user perspective in my point of view as it affects pretty hard all the laptops that still change the networks and only suspend to RAM (i.e. boinc restarts only rarely).

Comment 10 Milos Jakubicek 2009-08-22 02:15:37 UTC
According to users' response, this is indeed fixed now and I'm glad to close this.


Note You need to log in before you can comment on or make changes to this bug.