Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 413041

Summary: sci-misc/boinc fails(?) when ntpdate (/etc/init.d/ntp-client) is used to abruptly change the system time
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: trogdog
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2012-04-22 09:00:25 UTC
If ntp is used, boinc should start afterwards - otherwise work units tends to fail, if the system time steps toward via ntpdate.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-24 15:31:55 UTC
You probably shouldn't use ntpdate at all in this case, or at least not in the same runlevel.

Please further explain the problem boinc has - setting a faux depend in the init.d script isn't the solution. (Also, I'd already have marked this bug report invalid if you admitted to running ntpdate while the system services are completely up and running.)
Comment 2 Toralf Förster gentoo-dev 2012-04-24 16:14:42 UTC
I run ntpdate only during boot of the system in runlevel default.
After moving a system from one hard disc to another disc a lot of WU failed. Looking for the root cause I stumbled over error entries both in boinc log files and in the reported result files (the later however I didn't see anymore on the wep page of "world community grid" and "Einstein@home").
I tested a week ago or so to set the clock to "UTC", but run into too much side effects - I went back to "local".
Might be that the boinc errors are the results of my doing, but nevertheless ntpdate should be called as early as possible, isn't it ?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-24 19:45:58 UTC
You can set up both ntp-client and ntpd in the default runlevel, and the ntpd init.d script should already take care that ntp-client is run first. Maybe adding "after ntp-client" to the boinc init.d script might work.
Comment 4 Toralf Förster gentoo-dev 2012-04-24 20:13:47 UTC
(In reply to comment #3)
> Maybe adding "after ntp-client" to the boinc init.d script might work.

I just putted ntpd into the use line of the boinc init.d script - that works. thx
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-06-30 14:56:11 UTC
+*boinc-7.2.0 (30 Jun 2013)
+
+  30 Jun 2013; Justin Lecher <jlec@gentoo.org> -boinc-7.0.29.ebuild,
+  +boinc-7.2.0.ebuild, -files/7.0.2-fix_subdirs.patch,
+  +files/boinc-7.2.0-fix_subdirs.patch, files/boinc.init,
+  files/generate_tarball.sh, metadata.xml:
+  Version bump and drop old, fixes: security issue, #467908; link problems,
+  #464772; correlation with abrupt time changes through ntp, #413041; menu
+  items with newer x11-libs/wxGTK, #379979 & #376237
+