Permalink
Browse files

Merge pull request #101 from jdstrand/lp1584456

add workaround rule for LP: #1584456
  • Loading branch information...
2 parents 806f7b5 + 8013574 commit 6cdff0d4f5c1cdd0d09a0079e8b8381956eec364 @zyga zyga committed Aug 12, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/snap-confine.apparmor.in
@@ -84,6 +84,9 @@
mount options=(rw bind) /{tmp/snap.rootfs_*/,}tmp/snap.*/tmp/ -> /{tmp/snap.rootfs_*/,}tmp/,
mount fstype=devpts options=(rw) devpts -> /{tmp/snap.rootfs_*/,}dev/pts/,
mount options=(rw bind) /{tmp/snap.rootfs_*/,}dev/pts/ptmx -> /{tmp/snap.rootfs_*/,}dev/ptmx, # for bind mounting
+ # Workaround for LP: #1584456 on older kernels that mistakenly think
+ # /dev/pts/ptmx needs a trailing '/'
+ mount options=(rw bind) /{tmp/snap.rootfs_*/,}dev/pts/ptmx/ -> /{tmp/snap.rootfs_*/,}dev/ptmx/,
# for running snaps on classic
mount options=(rw rslave) -> /,

0 comments on commit 6cdff0d

Please sign in to comment.