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

Serge Hallyn 1242913 at bugs.launchpad.net
Tue Oct 22 16:48:15 UTC 2013


Quoting John Peacock (jpeacock at messagesystems.com):
> 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

On my (ubuntu) host /dev/pts is also owned by root:root.  Why should
this matter?  You don't manually create files in there, the kernel does
it for you, and AFAIK it doesn't check for your access(2) rights before
doing so.  (I could be wrong)  Does changing the ownership actually
improve things for you?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1242913

Title:
  /dev/pts being created with mode=600 by Lxc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1242913/+subscriptions



More information about the Ubuntu-server-bugs mailing list