[Bug 1242913] Re: /dev/pts being created with mode=600 by Lxc

2013-10-22 Thread John Peacock
I've now confirmed that root:root on the mount point works. The Perl IO::Tty module had to be rebuilt against the glibc without pt_chown() before it would work and that confused the issue. Sorry for the noise... -- You received this bug notification because you are a member of Ubuntu Server Tea

[Bug 1242913] Re: /dev/pts being created with mode=600 by Lxc

2013-10-22 Thread John Peacock
Rebuilding IO::Tty on a system which lacks grantpt() and pt_chown() fixed the problem with the script not being able to create a pty. So the only remaining piece is to understand why /dev/pts is being chowned to root:root. Looking at src/lxc/conf.c, I can see where that directory is being created

[Bug 1242913] Re: /dev/pts being created with mode=600 by Lxc

2013-10-21 Thread John Peacock
Unfortunately, after I submitted this ticket, I discovered that the patch alone is not sufficient. It turns out that the group ownership of /dev/pts is also not being set correctly (it is still root:root), which also prevents users that are members of the tty group from being able to create ptys.