[SCM] live-boot branch, debian-next, updated. debian/3.0_a1-1-4-gf60f672

Daniel Baumann daniel at debian.org
Tue Aug 31 19:12:52 UTC 2010


The following commit has been merged in the debian-next branch:
commit f60f672d9111725b43130bb8b60a86a53b1433f0
Author: Michael Prokop <mika at debian.org>
Date:   Tue Aug 31 21:09:08 2010 +0200

    Adding workaround for aufs issue in kernel versions around 2.6.33.
    
    Directories can't be accessed when read for the first the time,
    causing a failure when accessing them. This simple workaround
    solves this issue.

diff --git a/scripts/live b/scripts/live
index 07226fa..0e9b0aa 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1874,6 +1874,12 @@ mountroot ()
 		mount --move /live/image /root/live/image
 	fi
 
+	# aufs2 in kernel versions around 2.6.33 has a regression:
+	# directories can't be accessed when read for the first the time,
+	# causing a failure for example when accessing /var/lib/fai
+	# when booting FAI, this simple workaround solves it
+	ls /root/* >/dev/null 2>&1
+
 	maybe_break live-bottom
 	log_begin_msg "Running /scripts/live-bottom\n"
 

-- 
live-boot



More information about the debian-live-changes mailing list