On Mon, Jan 20, 2014 at 06:30:24PM -0000, James Hunt wrote:
> Upstart does not open /dev/console without O_NOCTTY afaics. Are you sure
> your kernel debug is showing pid 1 is doing this?
Yes, pid 1 within the namespace at least. I couldn't find anywhere where
upstart opened /dev/console without O_NOCTTY set either, but evidently
it is happening somehow.
I just looked though, and this doesn't seem to be happening for actual
pid 1, only pid 1 in containers. The container is saucy and the host is
trusty, but they both have upstart 1.11-0ubuntu1.
On Mon, Jan 20, 2014 at 06:30:24PM -0000, James Hunt wrote:
> Upstart does not open /dev/console without O_NOCTTY afaics. Are you sure
> your kernel debug is showing pid 1 is doing this?
Yes, pid 1 within the namespace at least. I couldn't find anywhere where
upstart opened /dev/console without O_NOCTTY set either, but evidently
it is happening somehow.
I just looked though, and this doesn't seem to be happening for actual
pid 1, only pid 1 in containers. The container is saucy and the host is
trusty, but they both have upstart 1.11-0ubuntu1.