[lxc-users] lxcfs segfaults since around 2019-07-23, containers malfunction

Christian Brauner christian at brauner.io
Tue Jul 23 13:44:21 UTC 2019


On Tue, Jul 23, 2019 at 01:31:12PM +0200, Tomasz Chmielewski wrote:
> Since around 2019-07-23, lxcfs segfaults randomly on Ubuntu 18.04 servers
> with LXD from snap:
> 
> lxcfs[1424]: segfault at 0 ip 00007f518f5e4326 sp 00007f519da1f9a0 error 4
> in liblxcfs.so[7f518f5d8000+1a000]
> 
> 
> As a result, containers malfunction. If a container is stopped, then started
> again - everything works well, however - after a few hours, it happens
> again.
> 
> root at uni01:~# free
> 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"
> 
> root at uni01:~# uptime
> 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"
> 
> 
> root at uni01:~# ls /proc
> ls: cannot access '/proc/stat': Transport endpoint is not connected
> ls: cannot access '/proc/swaps': Transport endpoint is not connected
> ls: cannot access '/proc/uptime': Transport endpoint is not connected
> ls: cannot access '/proc/cpuinfo': Transport endpoint is not connected
> ls: cannot access '/proc/meminfo': Transport endpoint is not connected
> ls: cannot access '/proc/diskstats': Transport endpoint is not connected
> (...)
> 
> Is it a known issue? I'm observing it on around 10 servers.

I've had that issue reported today. Can you get a coredump for this so I
can see where lxcfs is segfaulting?

Christian


More information about the lxc-users mailing list