Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-07 Thread Iliyan Stoyanov
I'm glad in the end it worked out for you, I hope this thread helps some other poor soul out there that decided to repeat our mistakes :). Cheers, --ilf On Wed, 2012-03-07 at 13:01 +0100, Mauras Olivier wrote: > I can say that it's true now :) > I did multiple tests, and i've been induced in err

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-07 Thread Mauras Olivier
I can say that it's true now :) I did multiple tests, and i've been induced in erroneous conclusions by having "newinstances" flag for devpts on the host. You're true you need to remove the devpts entry from the guest to make it work correctly. Thanks again, Olivier On Tue, Mar 6, 2012 at 11:06 A

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-06 Thread Mauras Olivier
On Tue, Mar 6, 2012 at 1:19 PM, Mauras Olivier wrote: > > > On Tue, Mar 6, 2012 at 12:13 PM, Ramez Hanna wrote: > >> On Tue, Mar 6, 2012 at 1:07 PM, Mauras Olivier >> wrote: >> > >> > >> > On Tue, Mar 6, 2012 at 11:12 AM, Ramez Hanna >> wrote: >> >> >> >> On Tue, Mar 6, 2012 at 12:06 PM, Iliyan

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-06 Thread Mauras Olivier
On Tue, Mar 6, 2012 at 12:13 PM, Ramez Hanna wrote: > On Tue, Mar 6, 2012 at 1:07 PM, Mauras Olivier > wrote: > > > > > > On Tue, Mar 6, 2012 at 11:12 AM, Ramez Hanna > wrote: > >> > >> On Tue, Mar 6, 2012 at 12:06 PM, Iliyan Stoyanov wrote: > >> > Hi Mauras, > >> > > >> > Do you by any chance

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-06 Thread Ramez Hanna
On Tue, Mar 6, 2012 at 1:07 PM, Mauras Olivier wrote: > > > On Tue, Mar 6, 2012 at 11:12 AM, Ramez Hanna wrote: >> >> On Tue, Mar 6, 2012 at 12:06 PM, Iliyan Stoyanov wrote: >> > Hi Mauras, >> > >> > Do you by any chance have an fstab file in your container's /etc >> > directory >> > that is try

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-06 Thread Mauras Olivier
On Tue, Mar 6, 2012 at 11:12 AM, Ramez Hanna wrote: > On Tue, Mar 6, 2012 at 12:06 PM, Iliyan Stoyanov wrote: > > Hi Mauras, > > > > Do you by any chance have an fstab file in your container's /etc > directory > > that is trying to mount devpts fs also. I had this issue a week ago with > > some

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-06 Thread Mauras Olivier
Just tried and same problem "PTY allocation request failed on channel 0" Cheers, Olivier On Tue, Mar 6, 2012 at 11:06 AM, Iliyan Stoyanov wrote: > ** > Hi Mauras, > > Do you by any chance have an fstab file in your container's /etc directory > that is trying to mount devpts fs also. I had this

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-06 Thread Ramez Hanna
On Tue, Mar 6, 2012 at 12:06 PM, Iliyan Stoyanov wrote: > Hi Mauras, > > Do you by any chance have an fstab file in your container's /etc directory > that is trying to mount devpts fs also. I had this issue a week ago with > some of my SL6.2 containers on a fedora 16 host. After removing everythin

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-06 Thread Iliyan Stoyanov
Hi Mauras, Do you by any chance have an fstab file in your container's /etc directory that is trying to mount devpts fs also. I had this issue a week ago with some of my SL6.2 containers on a fedora 16 host. After removing everything /dev/pts related from the fstab in the /etc directory of the con

[Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-06 Thread Mauras Olivier
Hello, I've finally successfully migrated my SMACK setup over SElinux to isolate my containers - Thanks to the folks on #selinux@freenode - on a Scientific Linux 6.2 host. (I may share my policy with some details if some of you are interested) So far so good, after loads of hits and misses almost