Address aufs2/kernel 2.6.33 issue through 05mountpoints. v1.177.1-1grml.02
authorMichael Prokop <mika@grml.org>
Thu, 1 Apr 2010 13:10:22 +0000 (15:10 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 1 Apr 2010 13:10:22 +0000 (15:10 +0200)
debian/changelog
grml/05mountpoints

index b6bb81a..0db34ef 100644 (file)
@@ -1,3 +1,11 @@
+live-initramfs (1.177.1-1grml.02) unstable; urgency=low
+
+  * aufs2 in kernel 2.6.33 has a regression with regards to
+    accessing directories, causing e.g. FAI to fail.
+    A simple workaround in 05mountpoints addresses this issue.
+
+ -- Michael Prokop <mika@grml.org>  Thu, 01 Apr 2010 15:08:46 +0200
+
 live-initramfs (1.177.1-1grml.00) unstable; urgency=low
 
   * New patch to prefer removable devices over non-removable devices,
index 66706a8..d8bb646 100755 (executable)
@@ -38,4 +38,10 @@ if [ -n "$MOUNTED_ON" ] ; then
    echo " * Mounted live system from $MOUNTED_ON">/dev/console
 fi
 
+# aufs2 in 2.6.33 has a regression: directories
+# can't be accessed when read for the first the time,
+# causing a failure when accessing /var/lib/fai for
+# example when booting FAI, this simple workaround solves it
+ls /root/* >/dev/null 2>&1
+
 log_end_msg