[Fai-commit] r5965 - branches/stable/3.4/lib

Michael Prokop mika at alioth.debian.org
Tue Aug 17 12:51:52 UTC 2010


Author: mika
Date: 2010-08-17 12:51:51 +0000 (Tue, 17 Aug 2010)
New Revision: 5965

Modified:
   branches/stable/3.4/lib/subroutines
Log:
add comment


Signed-off-by: Michael Prokop <mika at grml.org>

Modified: branches/stable/3.4/lib/subroutines
===================================================================
--- branches/stable/3.4/lib/subroutines	2010-08-17 12:51:47 UTC (rev 5964)
+++ branches/stable/3.4/lib/subroutines	2010-08-17 12:51:51 UTC (rev 5965)
@@ -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