On Sat, Jan 05, 2019 at 11:20:52PM +0100, Pierre Couderc wrote: > Strange ls -lh : > > On the host : > > root@server:/# ls -lh /var/lib/lxd/containers/bind/rootfs/ > total 0 > ....... > drwxr-xr-x 1 231072 231072 0 Oct 4 07:25 opt > drwxr-xr-x 1 231072 231072 0 Jun 26 2018 proc > drwx------ 1 231072 231072 102 Jan 5 19:19 root > ... > > The same directory in the "bind" container : > > root@bind:/etc/bind/normal# ls -lh / > total 0 > .... > drwxr-xr-x 1 root root 0 Oct 4 07:25 opt > dr-xr-xr-x 250 nobody nogroup 0 Oct 30 09:21 proc > drwx------ 1 root root 102 Jan 5 19:19 root > ... > > Question : > > 1- why /proc is owned by nobody.nogroup inside the container and on the host > by 231072.231072 , which seems to be root.root ? > > 2- how can this occur ? > > The container is in bad state as "ps -aux" work no more... > > Thanks all, > > and Happy new year to all, and particularly the team of brave developers...
Bit late, but I would take a look at /proc/self/mounts and /proc/$(lxc-info -p -n media -H)/mountinfo. I'm guessing the mntid will be different for the proc entries. _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
