#12621 NORM Future : powerd should be tolerant of time/date prior to unix epoch
Zarro Boogs per Child
bugtracker at laptop.org
Tue Mar 12 14:03:21 EDT 2013
#12621: powerd should be tolerant of time/date prior to unix epoch
------------------------------------+---------------------------------------
Reporter: pgf | Owner: pgf
Type: defect | Status: new
Priority: normal | Milestone: Future Release
Component: power manager (powerd) | Version: Development build as of this date
Keywords: | Next_action: code
Verified: 0 | Deployment_affected:
Blockedby: | Blocking:
------------------------------------+---------------------------------------
it's possible in some unusual cases for the linux time-of-day to be set
prior to jan 1 1970. in this case "date +%s" will return a negative
number.
this breaks some assumptions powerd makes regarding the validity of
received events (which are timestamped), and it discards them all. thus
it pretty much refuses to operate, making the system unusable at boot.
--
Ticket URL: <http://dev.laptop.org/ticket/12621>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list