From b335cf8d4b56a49d5bc3fd1229139c2595779891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Tue, 14 Jan 2014 17:24:14 -0500 Subject: [PATCH] lxc-archlinux: Cleanup fstab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's been brought to my attention that the read-only mount of /proc/sys is causing problems to archlinux users, so instead just have LXC mount proc and sysfs normally (read-write). Reported-by: John Lane Signed-off-by: Stéphane Graber --- templates/lxc-archlinux.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/lxc-archlinux.in b/templates/lxc-archlinux.in index 9dc5e4f86..dfd909f39 100755 --- a/templates/lxc-archlinux.in +++ b/templates/lxc-archlinux.in @@ -156,10 +156,8 @@ EOF grep -q "^lxc.rootfs" ${config_path}/config 2>/dev/null || echo "lxc.rootfs = ${rootfs_path}" >> ${config_path}/config cat > "${config_path}/fstab" << EOF -sysfs sys sysfs ro,defaults 0 0 +sysfs sys sysfs defaults 0 0 proc proc proc nodev,noexec,nosuid 0 0 -/proc/sys ${rootfs_path}/proc/sys none ro,bind 0 0 -#/var/log/journal ${rootfs_path}/var/log/journal none bind 0 0 EOF return 0