OK for us with 1:4.0.1-0ubuntu2 package on focal :
root@scribe:~# lxc-start --version
4.0.1
root@scribe:~# lxc-attach --logpriority=DEBUG --name=addc -- exit
lxc-attach: addc: attach.c: lxc_attach_run_command: 1452 No such file or
directory - Failed to exec "exit"
root@scribe:~# echo $?
127
--
This bug was fixed in the package lxc - 1:4.0.0-0ubuntu2
---
lxc (1:4.0.0-0ubuntu2) focal; urgency=medium
* Cherry-pick upstream bugfixes:
- 0036-fix-non-root-user-cannot-write-dev-stdout.patch
- 0037-cgroups-fix-uninitialized-transient_len-warning.patch
- 0038-utils-rew
** Changed in: lxc (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861880
Title:
lxc-attach command does not return error exit code if the command is
fa
** Changed in: lxc (Debian)
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861880
Title:
lxc-attach command does not return error exit code if the command is