Ignore:
Timestamp:
02/12/14 14:36:17 (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
53829e6
Parents:
f811893
Message:

Fix a critical bug in destroying the PBI container, which can cause
system lockups / hangs in VFS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbime/pbimount

    r2004ef7 r60638d87  
    157157 
    158158umount_pbidir() { 
    159    for i in `mount | grep "on ${pDir}" | tail -r | awk '{print $3}'` 
     159   for i in `mount | grep "on ${pDir}/virtbase/usr/local" | tail -r | awk '{print $3}'` 
    160160   do 
    161161     #echo "Unmounting ${i}" 
    162162     umount -f ${i} 
    163      sleep 0.1 
     163     sleep 0.5 
     164   done 
     165   for i in `mount | grep "on ${pDir}/virtbase/compat/linux" | tail -r | awk '{print $3}'` 
     166   do 
     167     #echo "Unmounting ${i}" 
     168     umount -f ${i} 
     169     sleep 0.5 
    164170   done 
    165171} 
Note: See TracChangeset for help on using the changeset viewer.