Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119917 - sys-apps/adjtime for Kuro Box has wrong tickadj path
Summary: sys-apps/adjtime for Kuro Box has wrong tickadj path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
: 120036 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-22 05:57 UTC by Art Wallace
Modified: 2006-01-25 00:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Art Wallace 2006-01-22 05:57:50 UTC
The adjtime.pl ebuild won't work on my Kuro. For the older versions of this script, I had to change the paths to "/usr/bin/tickadj" rather than "/usr/sbin/tickadj". 

I'm still having some additional issues with this software. It's not doing anything- tickadj is still set to 10000 when I check it (tested after changing the path in the script). 

How is the ebuild designed to work? It looks like the adjtime.pl script is being called at every boot. If that's the case, I'd rather see a tickadj value stored in a text file and have that value restored at boot instead of doing the recalc at every boot. Then the user could set up a cron to periodically do the recalc, update the value in the text file and then update the tickadj.
Comment 1 Steve Arnold archtester gentoo-dev 2006-01-22 14:35:39 UTC
I updated the ebuild (forgot about the ntp dependency) and the scripts.  Make sure you don't have another adjtime.pl lying around somewhere...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-23 04:12:57 UTC
*** Bug 120036 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-23 04:13:23 UTC
Reopen wrt Bug 120036.
Comment 4 Steve Arnold archtester gentoo-dev 2006-01-25 00:52:27 UTC
I'm not sure why a check for the path to tickadj would dork it up (but perl *is* a little bit insane) so it's back to the original hard-coded path, just changed to /usr/bin instead of /usr/sbin.  I'm not sure if ntp changed the location recently, but beyond that, there's nothing more I can do.  It should work as the original, as long as ntpdate and tickadj are where the script thinks they are.