#5033 BLOC Update.: olpc-update wipes out persistent activity directories

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 19 11:28:54 EST 2007


#5033: olpc-update wipes out persistent activity directories
------------------------------+---------------------------------------------
  Reporter:  bert             |       Owner:  mstone           
      Type:  defect           |      Status:  new              
  Priority:  blocker          |   Milestone:  Update.1         
 Component:  upgrade utility  |     Version:                   
Resolution:                   |    Keywords:  Update.1? rainbow
  Verified:  0                |  
------------------------------+---------------------------------------------

Comment(by mstone):

 cscott points out that major hacks would be required to olpc-update in
 order to get it to preserve /etc/passwd and /etc/group. Consequently, we
 need to save the Rainbow-supplied component of these files elsewhere on
 disk. The most straightforward 'good' implementation seems to be to write
 an NSS module that will supply this information.

 I'm presently intending to finesse the data storage issues here by storing
 a fixed array of records in a sparse file. This way, POSIX locking can be
 used for safe concurrent updates and read-only mmap's can be used for
 efficient reads.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5033#comment:7>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list