Package: lxc
Version: 0.8.0~rc1-8+deb7u1
Severity: important

Hi,

running lxc on a Wheezy machine with Wheezy inside the container,
I cannot attach to the running container:

root@wheezy:~# lxc-list
RUNNING
  lxc2

root@wheezy:~# lxc-attach -n lxc2
lxc-attach: No such file or directory - failed to open '/proc/2680/ns/pid'
lxc-attach: failed to enter the namespace
lxc-attach: No such file or directory - failed to open 
'/sys/fs/cgroup//lxc/lxc/lxc2/tasks'

root@wheezy:~# ls /sys/fs/cgroup//lxc/lxc/lxc2/tasks
ls: cannot access /sys/fs/cgroup//lxc/lxc/lxc2/tasks: No such file or directory

root@wheezy:~# ls /sys/fs/cgroup//lxc/lxc2/tasks
/sys/fs/cgroup//lxc/lxc2/tasks

With 0.9.0~alpha3-2 from sid, I get a different behaviour:

root@wheezy:~# cat /var/lib/lxc/lxc2/rootfs/etc/apt/sources.list
deb http://192.168.13.1:9000 wheezy main

root@wheezy:~# cat /etc/apt/sources.list
deb http://192.168.13.1:9000/ wheezy main
deb-src http://192.168.13.1:9000/ wheezy main

deb http://ftp.de.debian.org/debian/ sid main
root@wheezy:~# lxc-attach -n lxc2 cat /etc/apt/sources.list
deb http://192.168.13.1:9000/ wheezy main
deb-src http://192.168.13.1:9000/ wheezy main

deb http://ftp.de.debian.org/debian/ sid main

Note that I get the sources.list from the host, as lxc-attach never enters the 
running container.

Regards
Evgeni

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to