Bug#998051: initscripts: /dev/ptmx and /dev/pts/ptmx have wrong permissions after boot in lxc container

Anton Khirnov anton at khirnov.net
Fri Oct 29 09:00:59 BST 2021


Quoting Adam Borowski (2021-10-29 09:53:43)
> On Fri, Oct 29, 2021 at 08:47:38AM +0200, Anton Khirnov wrote:
> > upon booting with sysvinit in an LXC container, /dev/ptmx and
> > /dev/pts/ptmx have the permissions of 000, making them unusable
> > (typically they should be 666).
> 
> Data point: it Works For Me™, on:
> * unstable host, unstable guest
> * unstable host, bullseye guest
> * bullseye host, unstable guest
> * bullseye host, bullseye guest
> 
> (I haven't investigated more yet, busy at work.)

Interesting...
- are those privileged or unprivileged containers?
- can you look at the relevant mountinfo lines?

Thanks,

-- 
Anton Khirnov



More information about the Debian-init-diversity mailing list