[lxc-users] Device node in LXC is not accessible when connected via SSH

Serge E. Hallyn serge at hallyn.com
Mon Feb 3 15:18:55 UTC 2020


On Mon, Feb 03, 2020 at 02:16:07PM +0000, Tim Jaacks wrote:
> > -----Ursprüngliche Nachricht-----
> > Von: Serge E. Hallyn <serge at hallyn.com> 
> > Gesendet: Montag, 3. Februar 2020 12:36
> > An: Tim Jaacks <tim.jaacks at garz-fricke.com>
> > Cc: Serge E. Hallyn <serge at hallyn.com>; LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> > Betreff: Re: [lxc-users] Device node in LXC is not accessible when connected via SSH
> > 
> > On Mon, Feb 03, 2020 at 10:02:27AM +0000, Tim Jaacks wrote:
> > > OK, this shows me "/lxc/mylxc/init.scope", which sounds reasonable. So do you have any idea, which using "sudo lxc-attach" results in the wrong cgroup "/user.slice"?
> > 
> > You can check for an 'lxc.cgroup.keep' entry in your container configuration.  
> 
> Nope, I don't have that option set.
> 
> > The lxc-attach manpages has a note from Feb 2016 about how "previous versions"
> > "suffered a bug whereby a user could attach to a containers namespace without being placed in a writeable cgroup for some critical subsystems."  If you're on an older version, it could be that.
> 
> I am running LXC version 3.0.3, which is the default on Debian Buster:
> https://packages.debian.org/buster/lxc
> 
> Is that an "older version"?

Oh, no - yes after I sent that email I remembered I had tried this
earlier and do think there is still a bug.  I'll try to find it soon.


More information about the lxc-users mailing list