On Fri, Nov 09, 2018 at 04:29:46AM +0900, Tomasz Chmielewski wrote:
> LXD 3.6 from a snap on an up-to-date Ubuntu 18.04 server:
> 
> lxd   3.6        9510  stable    canonical✓  -
> 
> 
> Suddenly, some (but not all) containers lost their /proc filesystem:
> 
> # ps auxf
> Error: /proc must be mounted
>   To mount /proc at boot you need an /etc/fstab line like:
>       proc   /proc   proc    defaults
>   In the meantime, run "mount proc /proc -t proc"
> 
> #
> 
> 
> I think I've seen something similar like this in the past.
> Can it be attributed to some not-so-well automatic snap upgrades?

That can either be a lxcfs crash or lxcfs bug of some kind.

Can you show "ps fauxww | grep lxcfs" on the host.

And then inside an affected container run "grep lxcfs /proc/mounts" and
for each of the /proc path listed, attempted to read them with "cat",
that should let you check if it's just one lxcfs file that's broken or
all of them.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: PGP signature

_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to