Ubuntu Pastebin

Paste from stgraber at Wed, 14 Oct 2015 20:46:20 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Nrup /home/stgraber/Desktop/lxc/lxc-1.0.7/config/apparmor/abstractions/start-container config/apparmor/abstractions/start-container
--- /home/stgraber/Desktop/lxc/lxc-1.0.7/config/apparmor/abstractions/start-container	2015-10-14 08:59:47.000000000 -0700
+++ config/apparmor/abstractions/start-container	2015-10-14 09:30:45.318068968 -0700
@@ -13,6 +13,7 @@
   mount -> /usr/lib/lxc/{**,},
   mount fstype=devpts -> /dev/pts/,
   mount options=bind /dev/pts/ptmx/ -> /dev/ptmx/,
+  mount options=bind /dev/pts/** -> /dev/**,
   mount options=(rw, make-slave) -> **,
   mount fstype=debugfs,
   # allow pre-mount hooks to stage mounts under /var/lib/lxc/<container>/
diff -Nrup /home/stgraber/Desktop/lxc/lxc-1.0.7/config/apparmor/profiles/lxc-default-with-nesting config/apparmor/profiles/lxc-default-with-nesting
--- /home/stgraber/Desktop/lxc/lxc-1.0.7/config/apparmor/profiles/lxc-default-with-nesting	2015-10-14 08:59:47.000000000 -0700
+++ config/apparmor/profiles/lxc-default-with-nesting	2015-10-14 09:30:45.318068968 -0700
@@ -12,5 +12,5 @@ profile lxc-container-default-with-nesti
   deny /dev/.lxc/sys/** rw,
   mount fstype=proc -> /var/cache/lxc/**,
   mount fstype=sysfs -> /var/cache/lxc/**,
-  mount options=(rw,bind) /var/cache/lxc/**/dev/shm/ -> /var/cache/lxc/**/run/shm/,
+  mount options=(rw,bind),
 }
Download as text