[Trac #931] yum installs one package at a time

Zarro Boogs per Child bugtracker at laptop.org
Tue Mar 20 09:38:42 EDT 2007


#931: yum installs one package at a time
--------------------+-------------------------------------------------------
 Reporter:  ianb    |        Owner:  pnasrat
     Type:  defect  |       Status:  new    
 Priority:  normal  |    Milestone:  BTest-3
Component:  distro  |   Resolution:         
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by pnasrat):

  * owner:  blizzard => pnasrat

Comment:

 We seem to terminate after the post scriptlet using ldconfig completes.

 1502  rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
 1502  clone(child_stack=0,
 flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
 child_tidptr=0xb7d04708) = -1 ENOMEM (Cannot allocate memory)

 If we fail to fork/clone we don't catch failure in rpmlib, and we continue
 and execv the scriptlet so when ldconfig exits it terminates the yum run
 prematurely:

 1502  close(3)                          = 0
 1502  chmod("/etc/ld.so.cache~", 0644)  = 0
 1502  rename("/etc/ld.so.cache~", "/etc/ld.so.cache") = 0
 1502  exit_group(0)

-- 
Ticket URL: <http://dev.laptop.org/ticket/931#comment:6>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list