[Bug 1263738] Re: login console 0 in user namespace container is not configured right

Serge Hallyn 1263738 at bugs.launchpad.net
Tue Jan 14 20:42:06 UTC 2014


Quoting Seth Forshee (seth.forshee+lp at canonical.com):
> stderr actually is mapped to a pty. The problem seems to be that getty
> can't set /dev/console as its controlling terminal because it's already
> the controlling tty for init, which is in a different process group.
> Thus getty ends up with no controlling tty, this is inherited by bash,
> and thus bash cannot set up job control.

Interesting.

Note that what you describe should also be the case if using a regular
container

	sudo lxc-create -t ubuntu-cloud -n u1
	sudo lxc-start -n u1

Is the process group of init somehow ending up different in the user
namespace case?  Or else why would this only be a problem in the
user namespace case?

-- 
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/1263738

Title:
  login console 0 in user namespace container is not configured right

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



More information about the Ubuntu-server-bugs mailing list