[Fai-commit] r5136 - people/michael/experimental/patches

mt at alioth.debian.org mt at alioth.debian.org
Mon Sep 8 14:22:07 UTC 2008


Author: mt
Date: 2008-09-08 14:22:07 +0000 (Mon, 08 Sep 2008)
New Revision: 5136

Added:
   people/michael/experimental/patches/bugfix-464541
Modified:
   people/michael/experimental/patches/series
Log:
added patch for #464541 (as previously posted to the BTS)


Added: people/michael/experimental/patches/bugfix-464541
===================================================================
--- people/michael/experimental/patches/bugfix-464541	                        (rev 0)
+++ people/michael/experimental/patches/bugfix-464541	2008-09-08 14:22:07 UTC (rev 5136)
@@ -0,0 +1,18 @@
+2008-08-23  Michael Tautschnig  <mt at debian.org>
+
+	* lib/mount2dir: Add commands to create /var/lock and /var/run on the
+		filesystem mounted at / (closes: #464541)
+Index: trunk/lib/mount2dir
+===================================================================
+--- trunk.orig/lib/mount2dir
++++ trunk/lib/mount2dir	
+@@ -87,6 +87,9 @@
+ 	    # should we fsck the partition first?
+ 	    [ "$fscheck" = 1 ] && fsck -nt $fstype $device
+ 	    mount -t $fstype -o noatime $mopt $device $target$mountpoint
++	    if [ "$mountpoint" = "/" ] ; then
++	      mkdir $target/var/lock $target/var/run
++	    fi
+     esac
+ done
+ 

Modified: people/michael/experimental/patches/series
===================================================================
--- people/michael/experimental/patches/series	2008-09-08 14:13:42 UTC (rev 5135)
+++ people/michael/experimental/patches/series	2008-09-08 14:22:07 UTC (rev 5136)
@@ -1 +1,2 @@
 logtail
+bugfix-464541




More information about the Fai-commit mailing list