Hi Serge,
> No, I'm afraid you're being misled. You simply can't strace lxc-attach.
ah, ok...
> Better to do
>
> lxc-attach -l trace -o debugout -n containername
>
> and look at (or mail here) the contents of the file debugout.
Now I get two error messages:
lxc_cgfs - cgroups/cgfs.c:lxc_cgroupfs_attach:2538 - could not move attached
process 22869 to cgroup of container
lxc_attach - attach.c:lxc_attach:992 - Expected to receive sequence number
0: No such file or directory.
Does this sound like a known problem? cgmanager is version 0.41, lxc
2.0.8.
I attach the whole trace...
Best regards
Dirk
--
+----------------------------------------------------------------------+
| Dr. Dirk Geschke / Plankensteinweg 61 / 85435 Erding |
| Telefon: 08122-559448 / Mobil: 0176-96906350 / Fax: 08122-9818106 |
| [email protected] / [email protected] / [email protected] |
+----------------------------------------------------------------------+
lxc-attach 20170717071909.190 INFO lxc_utils - utils.c:get_rundir:280
- XDG_RUNTIME_DIR isn't set in the environment.
lxc-attach 20170717071909.190 WARN lxc_confile -
confile.c:config_pivotdir:1916 - lxc.pivotdir is ignored. It will soon become
an error.
lxc-attach 20170717071909.191 INFO lxc_confile -
confile.c:config_idmap:1537 - read uid map: type u nsid 0 hostid 689825 range
65536
lxc-attach 20170717071909.191 INFO lxc_confile -
confile.c:config_idmap:1537 - read uid map: type g nsid 0 hostid 689825 range
65536
lxc-attach 20170717071909.191 DEBUG lxc_commands -
commands.c:lxc_cmd_rsp_recv:203 - command get_init_pid response data length is 0
lxc-attach 20170717071909.191 INFO lxc_attach_ui -
tools/lxc_attach.c:get_pty_on_host:288 - Trying to allocate a pty on the host
lxc-attach 20170717071909.192 DEBUG console -
console.c:lxc_console_peer_default:447 - using "/dev/tty" as peer tty device
lxc-attach 20170717071909.192 DEBUG console -
console.c:lxc_console_sigwinch_init:144 - 22862 got SIGWINCH fd 8
lxc-attach 20170717071909.192 DEBUG console -
console.c:lxc_console_winsz:71 - set winsz dstfd:5 cols:80 rows:24
lxc-attach 20170717071909.245 DEBUG lxc_commands -
commands.c:lxc_cmd_rsp_recv:203 - command get_init_pid response data length is 0
lxc-attach 20170717071909.245 INFO lxc_utils - utils.c:get_rundir:280
- XDG_RUNTIME_DIR isn't set in the environment.
lxc-attach 20170717071909.245 WARN lxc_confile -
confile.c:config_pivotdir:1916 - lxc.pivotdir is ignored. It will soon become
an error.
lxc-attach 20170717071909.246 INFO lxc_confile -
confile.c:config_idmap:1537 - read uid map: type u nsid 0 hostid 689825 range
65536
lxc-attach 20170717071909.246 INFO lxc_confile -
confile.c:config_idmap:1537 - read uid map: type g nsid 0 hostid 689825 range
65536
lxc-attach 20170717071909.246 DEBUG lxc_commands -
commands.c:lxc_cmd_rsp_recv:203 - command get_clone_flags response data length
is 0
lxc-attach 20170717071909.247 ERROR lxc_cgfs -
cgroups/cgfs.c:lxc_cgroupfs_attach:2538 - could not move attached process 22869
to cgroup of container
lxc-attach 20170717071909.247 ERROR lxc_attach -
attach.c:lxc_attach:992 - Expected to receive sequence number 0: No such file
or directory.
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users