Public bug reported:
When I use the ps command's "lxc" format specifier, for example:
ps -eo pid,lxc,command
The second output column is supposed to show "the name of the lxc
container within which a task is running. If a process is not running
inside a container, a dash ('-') will be shown." [1]
This worked fine until I upgraded from ubuntu 19.04 to 19.10, which
brought me from lxc 3.03 to 3.04. Now, that column always contains a
dash instead of the container name, even for processes that are running
inside a container. The "lxc" format specifier seems to be broken now.
[1]
https://manpages.ubuntu.com/manpages/eoan/man1/ps.1.html#standard%20format%20specifiers
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Affects: procps (Ubuntu)
Importance: Undecided
Status: New
** Also affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
When I use the ps command's "lxc" format specifier, for example:
ps -eo pid,lxc,command
The second output column is supposed to show "the name of the lxc
container within which a task is running. If a process is not running
inside a container, a dash ('-') will be shown." [1]
- This worked fine until I upgraded from ubuntu 19.04 to 19.10. Now, that
- column always contains a dash instead of the container name, even for
- processes that are running inside a container. The "lxc" format
- specifier seems to be broken now.
+ This worked fine until I upgraded from ubuntu 19.04 to 19.10, which
+ brought me from lxc 3.03 to 3.04. Now, that column always contains a
+ dash instead of the container name, even for processes that are running
+ inside a container. The "lxc" format specifier seems to be broken now.
-
- [1]
https://manpages.ubuntu.com/manpages/eoan/man1/ps.1.html#standard%20format%20specifiers
+ [1]
+
https://manpages.ubuntu.com/manpages/eoan/man1/ps.1.html#standard%20format%20specifiers
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866124
Title:
ps -eo lxc no longer shows a task's lxc container
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1866124/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs