#11757 HIGH 11.3.1: /etc/adjtime in pristine corrupt in runin

Zarro Boogs per Child bugtracker at laptop.org
Wed Apr 11 01:32:29 EDT 2012

#11757: /etc/adjtime in pristine corrupt in runin
           Reporter:  martin.langhoff        |       Owner:  martin.langhoff
               Type:  defect                 |      Status:  new            
           Priority:  high                   |   Milestone:  11.3.1         
          Component:  manufacturing process  |     Version:  not specified  
         Resolution:                         |    Keywords:                 
        Next_action:  reproduce              |    Verified:  0              
Deployment_affected:                         |   Blockedby:                 
           Blocking:                         |  
Changes (by Quozl):

  * next_action:  diagnose => reproduce


 considering the possibility that /etc/init.d/halt is called twice:

  * /etc/rc.d/rc treats /etc/init.d/halt to an exec instead of a
 subprocess, so 'rc can't be responsible for calling it twice,
  * /etc/init/rc.conf specifies the execution of /etc/rc.d/rc,
  * there is only one symlink to halt or reboot,
  * that leaves upstart.

 there remains also the possibility that the mount of /etc/adjtime failed
 due to a temporary shortage of some resource.  the mount is not retried.

 i don't think there's much more to do on this ticket until we have a unit
 that reproduces the symptom.  when that happens, we need to:
  * get an image copy of the filesystem using fs-save,
  * see if the problem follows the filesystem or the unit,
  * add temporary code to rc.sysinit to record mount failure,
  * add temporary code to /etc/init.d/halt to report when adjtime is not

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

More information about the Bugs mailing list