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

Fajar A. Nugraha list at fajar.net
Mon Feb 15 12:40:47 UTC 2016


On Mon, Feb 15, 2016 at 7:29 PM, Mateusz Korniak <
mateusz-lists at ant.gliwice.pl> wrote:

> Hi !
> I am facing problem that
> /proc/self
> is missing after I enter container via lxc-attach. [1]
>
> When I log in to same container via lxc-start -F console, everything looks
> OK.
> [2]
>
> Is it bug or feature?
>
>
Works for me.

wily ~ # lxc-attach -n r
r ~ # ls -la /proc/self
lrwxrwxrwx 1 root root 0 Feb  9 11:04 /proc/self -> 28035
r ~ # exit

wily ~ # lxc-attach -n r -- ls -la /proc/self
lrwxrwxrwx 1 root root 0 Feb  9 11:04 /proc/self -> 28036

ubuntu 15.10, kernel  4.2.0-27-generic,
lxc 2.0.0~beta2-0ubuntu2~ubuntu15.10.1~ppa1,
lxcfs 0.17-0ubuntu2~ubuntu15.10.1~ppa1

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160215/290ad576/attachment.html>


More information about the lxc-users mailing list