Changeset 011295d


Ignore:
Timestamp:
02/12/14 14:37:04 (8 months ago)
Author:
Kris Moore <kris@…>
Branches:
releng/10.0
Children:
ec4b304
Parents:
9abd08d
git-author:
Kris Moore <kris@…> (02/12/14 14:36:17)
git-committer:
Kris Moore <kris@…> (02/12/14 14:37:04)
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

    rf106e15 r011295d  
    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.