Re: [libvirt] [PATCH 2/7] Don't bind mount onto a char device for /dev/ptmx in LXC

2012-01-23 Thread Eric Blake
On 01/11/2012 09:33 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The current setup code for LXC is bind mounting /dev/pts/ptmx ontop of a character device /dev/ptmx. This is denied by SELinux s/ontop/on top/ policy and is just wrong. The target of a bind mount

[libvirt] [PATCH 2/7] Don't bind mount onto a char device for /dev/ptmx in LXC

2012-01-11 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com The current setup code for LXC is bind mounting /dev/pts/ptmx ontop of a character device /dev/ptmx. This is denied by SELinux policy and is just wrong. The target of a bind mount should just be a plain file * src/lxc/lxc_container.c: Don't bind