[Fai-commit] r3519 - in trunk: bin debian

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Tue Jun 13 16:15:45 UTC 2006


Author: lange
Date: 2006-06-13 16:15:44 +0000 (Tue, 13 Jun 2006)
New Revision: 3519

Modified:
   trunk/bin/fai
   trunk/debian/changelog
Log:
do not mount /tmp/fai during softupdate


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2006-06-13 15:56:06 UTC (rev 3518)
+++ trunk/bin/fai	2006-06-13 16:15:44 UTC (rev 3519)
@@ -208,9 +208,12 @@
 
     export LOGDIR=/var/log/fai/current
     mkdir -p $LOGDIR
+
     # for compability, can be removed later
-    mkdir /tmp/fai
-    mount --bind /var/log/fai/current /tmp/fai 
+    if [ $DO_INIT_TASKS -eq 0 ]; then
+	mkdir /tmp/fai
+	mount --bind /var/log/fai/current /tmp/fai 
+    fi
 
 fai_init
 

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-06-13 15:56:06 UTC (rev 3518)
+++ trunk/debian/changelog	2006-06-13 16:15:44 UTC (rev 3519)
@@ -11,8 +11,9 @@
   * lib/subroutines-linux: task_prepareapt(): check $IPADDR before
     appending to file (closes: #331258)
   * lib/subroutines: make 100MB ramdisk for /fai when booting from CD
+  * bin/fai: do not mount --bind /tmp/fai on softupdate
   
- -- Thomas Lange <lange at debian.org>  Tue, 13 Jun 2006 17:48:10 +0200
+ -- Thomas Lange <lange at debian.org>  Tue, 13 Jun 2006 18:14:16 +0200
 
 fai (2.10.1) unstable; urgency=low
 




More information about the Fai-commit mailing list