Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263884 - update to app-misc/uptimed-0.3.16-r3 : "Error writing bootid file, exiting!"
Summary: update to app-misc/uptimed-0.3.16-r3 : "Error writing bootid file, exiting!"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 17:57 UTC by Ernst Herzberg
Modified: 2009-03-27 10:54 UTC (History)
1 user (show)

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


Attachments
uptimed-0.3.16-r3.ebuild.diff (uptimed-0.3.16-r3.ebuild.diff,428 bytes, patch)
2009-03-26 19:47 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Herzberg 2009-03-26 17:57:43 UTC
After upgrading uptimed /var/spool/uptimed/* are still owned by root so no new bootid file is written.


Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-26 19:47:15 UTC
Created attachment 186349 [details, diff]
uptimed-0.3.16-r3.ebuild.diff

How about something like this?
Comment 2 Ernst Herzberg 2009-03-26 21:03:32 UTC
Tested, problem fixed;-)

Should be applied asap, before it goes stable on x86? ;-)
Comment 3 Ernst Herzberg 2009-03-26 22:43:51 UTC
Wait. Sometimes "/var/spool/records" looks like:

-rw-r--r-- 1 uptimed uptimed  11 2009-03-17 18:29 bootid
-rw-r--r-- 1 root    root      0 2009-03-26 22:25 .keep_app-misc_uptimed-0
-rw-r--r-- 1 root    root    980 2009-03-26 22:29 records

I have updated uptimed, chown "by hand", later called "uprecords" (as root).
It is possible, that 0.3.16 updates the record-file? Will double check later,
there are still some machines to update...
Comment 4 Ernst Herzberg 2009-03-27 01:42:54 UTC
No, go ahead. Unable reproduce situation from Comment #3 on other machines. 
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2009-03-27 10:54:14 UTC
Should be fixed now.

Thanks for the patch.