[Fusionforge-commits] FusionForge branch master updated. 3bcd1b519c8d49d0d9a39bdd0afa739217bdf856

Christian Bayle cbayle at fusionforge.org
Tue Nov 20 00:50:06 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  3bcd1b519c8d49d0d9a39bdd0afa739217bdf856 (commit)
      from  63545301c5ac5bd2988de247212f6e299dee6e26 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3bcd1b519c8d49d0d9a39bdd0afa739217bdf856
Author: Christian Bayle <chris at bayle.eu>
Date:   Tue Nov 20 00:49:10 2012 +0100

    Fix some grave console problems

diff --git a/tests/lxc/lxc-centos6 b/tests/lxc/lxc-centos6
index a8d6ac4..317ee5c 100755
--- a/tests/lxc/lxc-centos6
+++ b/tests/lxc/lxc-centos6
@@ -195,6 +195,8 @@ EOF
     echo "root:root" | chroot $rootfs chpasswd
 
 sed -i -e 's:/sbin/start_udev:#/sbin/start_udev:' $rootfs/etc/rc.d/rc.sysinit
+#CB# remove lines acting on /dev/pts
+sed -i -e 's:\(.*/dev/pts.*\):#\1:' $rootfs/etc/rc.d/rc.sysinit 
 #CB#chroot $rootfs chkconfig udev-post off
 #chroot $rootfs chkconfig network on
 
@@ -456,6 +458,19 @@ lxc.rootfs = $rootfs
 # lxc.console = /dev/console
 
 lxc.cgroup.devices.deny = a
+
+#lxc.cgroup.devices.allow = b 1:0 rwm
+#lxc.cgroup.devices.allow = b 1:1 rwm
+#lxc.cgroup.devices.allow = c 1:1 rwm
+#lxc.cgroup.devices.allow = c 1:2 rwm
+#lxc.cgroup.devices.allow = c 1:4 rwm
+#lxc.cgroup.devices.allow = c 1:6 rwm
+#lxc.cgroup.devices.allow = c 1:7 rwm
+#lxc.cgroup.devices.allow = c 1:11 rwm
+#
+#lxc.cgroup.devices.allow = c 2:* rwm
+#lxc.cgroup.devices.allow = c 3:* rwm
+
 # /dev/null and zero
 lxc.cgroup.devices.allow = c 1:3 rwm
 lxc.cgroup.devices.allow = c 1:5 rwm
@@ -485,12 +500,12 @@ lxc.mount.entry=devpts $rootfs/dev/pts devpts defaults 0 0
 lxc.mount.entry=sysfs $rootfs/sys sysfs defaults  0 0
 EOF
 
-#    cat <<EOF > $path/fstab
+    cat <<EOF > $path/fstab
 #proc            $rootfs/proc         proc    nodev,noexec,nosuid 0 0
 #devpts          $rootfs/dev/pts      devpts defaults 0 0
 ##sysfs           $rootfs/sys          sysfs defaults  0 0
 #tmpfs           $rootfs/dev/shm      tmpfs defaults 0 0
-#EOF
+EOF
 
     if [ $? -ne 0 ]; then
 	echo "Failed to add configuration"

-----------------------------------------------------------------------

Summary of changes:
 tests/lxc/lxc-centos6 |   19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list