Bug#652946: partman-target should not create /var/run
Attached is an eventual patch that could fix the issue.
>From 93eec27e0bbedc9958ef6604f1d8062f6e1a9877 Mon Sep 17 00:00:00 2001
From: "Rui M. P. Bernardo" <rui.bernardo.pt@gmail.com>
Date: Wed, 11 Jul 2012 18:38:29 +0100
Subject: [PATCH] create /run instead of /var/run in target. Closes #652946.
---
finish.d/mount_partitions | 3 +--
1 ficheiro modificado, 1 adição(+), 2 eliminados(-)
diff --git a/finish.d/mount_partitions b/finish.d/mount_partitions
index 9c8499e..f0c4efe 100755
--- a/finish.d/mount_partitions
+++ b/finish.d/mount_partitions
@@ -62,8 +62,7 @@ for f in $fstab; do
/)
# Create these before /var is mounted,
# so that they can be mounted as tmpfses
- mkdir -p /target/var/lock
- mkdir -p /target/var/run
+ mkdir -p /target/run
;;
esac
continue 2
--
1.7.10
Reply to: