]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-archlinux: Cleanup fstab
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 14 Jan 2014 22:24:14 +0000 (17:24 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 14 Jan 2014 22:29:28 +0000 (17:29 -0500)
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 <john@lane.uk.net>
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-archlinux.in

index 9dc5e4f86e1a69440341d6fecfbd54cff092e101..dfd909f398902acf580aa1edda547cca4adc12e0 100755 (executable)
@@ -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