[lxc-users] Missing /proc/self after lxc-attach ?

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Feb 15 14:04:31 UTC 2016


> On February 15, 2016 at 1:29 PM Mateusz Korniak <mateusz-lists at ant.gliwice.pl> wrote:
> [1]: After lxc-attach entry to container:
> # ls -la /proc/self
> ls: cannot read symbolic link /proc/self: No such file or directory
> lrwxrwxrwx 1 root root 0 Feb 15 12:05 /proc/self

What is the exact command you used to attach? Because eg. if you only
enter the mount namespace but not the PID namespace, then you see the
container's /proc with the *container*'s processes and thus your PID
doesn't show up, making /proc/self a dead symlink.



More information about the lxc-users mailing list