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

Bug 263884

Summary: update to app-misc/uptimed-0.3.16-r3 : "Error writing bootid file, exiting!"
Product: Gentoo Linux Reporter: Ernst Herzberg <earny>
Component: Current packagesAssignee: Raúl Porcel (RETIRED) <armin76>
Status: RESOLVED FIXED    
Severity: normal CC: polynomial-c
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: uptimed-0.3.16-r3.ebuild.diff

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.