[lxc-users] Creating a Linux container that is just a sandbox of my actual installation

james harvey jamespharvey20 at gmail.com
Mon Jun 1 02:21:09 UTC 2015


Also encountering what I consider a bug.

[inside lxc instance] /root # touch in
[OUTSIDE] # ls -la /var/lib/lxc/overlay/rw/root/in
-rw-r--r--. 1 root root    0 May 31 22:12 /var/lib/lxc/overlay/rw/root/in
[inside lxc instance] # rm -f in
[OUTSIDE] # ls -la /var/lib/lxc/overlay/rw/root/in
... No such file or directory

^^ Works as expected

[OUTSIDE] /root # touch out
[inside lxc instance] /root # ls -la out
-rw-r--r--. 1 root root   0 May 31 22:14 out
[inside lxc instance] /root # rm -f out
[OUTSIDE] # ls -la /var/lib/lxc/overlay/rw/root/out    {because
something has to be here to "contain" the rm}
c--------. 1 root root 0, 0 May 31 22:15 out     {interesting, haven't
seen that before - it's a character device file}
[inside lxc instance] /root # ls -la out
??????????? ? ?    ?      ?            ? out

^^ Great, until the last line.  Expected to see ... No such file or directory

Do you know if this is within the control of lxc, to instead show no
file?  If not, do you know where I should report it to?  Kernel,
overlayfs people (maybe still kernel)?


More information about the lxc-users mailing list