[Fai-commit] r5782 - trunk/lib
Thomas Lange
lange at alioth.debian.org
Tue May 11 17:13:46 UTC 2010
Author: lange
Date: 2010-05-11 17:13:40 +0000 (Tue, 11 May 2010)
New Revision: 5782
Modified:
trunk/lib/subroutines
Log:
add comment
Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines 2010-04-30 14:57:52 UTC (rev 5781)
+++ trunk/lib/subroutines 2010-05-11 17:13:40 UTC (rev 5782)
@@ -520,6 +520,11 @@
[ -z "$FAI_ROOT" ] && return
[ -d $FAI_ROOT/proc/self ] && umount $FAI_ROOT/proc $FAI_ROOT/sys
umount $FAI_ROOT/dev/pts 2>/dev/null || true
+ # sometimes umount $FAI_ROOT/dev fails, because a process is
+ # still running in the background and accesses /dev
+ # this occured sometimes when using dirinst and a long package
+ # list if dhelp.postinst is starting an index process in the
+ # bg which did not finished until the installation was finished.
[ -f /etc/init.d/udev ] && umount $FAI_ROOT/dev
mkramdisk -u $target/var/lib/dpkg 2>/dev/null
}
More information about the Fai-commit
mailing list