[lxc-users] lxcfs removed by accident, how to recover?

Stéphane Graber stgraber at ubuntu.com
Fri Feb 2 10:53:00 UTC 2018


On Fri, Feb 02, 2018 at 10:53:02AM +0100, Harald Dunkel wrote:
> Hi Stéphane,
> 
> On 01/30/18 17:17, Stéphane Graber wrote:
> > 
> > Yeah, there's effectively no way to re-inject those mounts inside a
> > running container.
> > 
> > So you're going to need to restart those containers.
> > Until then, you can "umount" the various lxcfs files from within the
> > container so that rather than a complete failure to access those files,
> > you just get the non-namespaced version of the file.
> > 
> 
> AFAICS lxcfs is useful only for unprivileged containers. All my affected
> containers were privileged. I didn't ask for lxcfs, but it was used
> automatically, so I wonder how I can forbid lxcfs to be used for these
> containers? Do I have to deinstall lxcfs completely?

lxcfs is used for both privileged and unprivileged containers, without
it you'd see the host uptime, host set of CPUs, host memory, ...

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180202/1533aecd/attachment.sig>


More information about the lxc-users mailing list