FAI 3.4.0 config space mount problem

Nicolas Courtel courtel at cena.fr
Mon Aug 30 11:42:33 CEST 2010


Hello Michael,
>
>> please send a patch against debian-old-2.0 branch of live-boot, thanks.
>>     
>
> Patch against debian-old-1.0 (couldn't find debian-old-2.0 in
> public live-boot, though shouldn't be a difference):
>
>   http://grml.org/patches/0001-workaround-aufs-issue-in-kernel-versions-around-2.6..patch
>
> -mika-
>   
I have a similar problem (/var/lib/fai doesn't exist in the aufs system) 
with a squeeze nfsroot built from fai 3.3.5 experimental (Lenny), and 
the patch does not fit in live-initramfs 2.0.0-1 that is installed in 
the nfsroot, as there is no script 05mountpoints.

I have tried to insert your patch in live-bottom/08persistence_excludes, 
as you can see below, but it doesn't work. Do you have an idea of what I 
could do to make it work?

-- 
Nicolas


--- 08persistence_excludes.~1~  2010-08-10 01:51:40.000000000 +0200
+++ 08persistence_excludes      2010-08-30 11:30:21.000000000 +0200
@@ -72,6 +72,13 @@
 
        # Bind mount it to origin
        mount -o bind "${PERSTMP}/${dir}" "/root/${dir}"
+
+    # 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
+
 done
 
 log_end_msg

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100830/6877f153/attachment-0001.htm 


More information about the linux-fai mailing list