If I don’t access my containers for a few days when I do an exec bash to access the command line I get the following: Error: Failed to retrieve PID of executing child process
I restart the container and then everything works fine. I might have updated Ubuntu on the host computer but I’m not sure. Containers seem to be functioning correctly.
Any ideas?
simos
(Simos Xenitellis)
January 22, 2024, 1:11am
2
Works for me, which likely means some other parameter is different for you.
Can you provide
Version of Incus (incus --version
).
Version of host OS (lsb_release -a
).
Have you enabled Ubuntu Pro? (pro status
)
If the affected container is mycontainer
, then you can view logs in /var/log/incus/mycontainer/
.
stgraber
(Stéphane Graber)
January 22, 2024, 3:27am
3
That usually suggests something aggressively expiring files under /var/log/incus/.
We’ve had a few other reports of this happening on some systems so Incus 0.5 will have a mitigation for it.
simos:
(incus --version
incus --version 0.4
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
No Pro
/var/log/incus/10TBBACK/lxc.log [----] 0 L:[ 1+ 0 1/ 3] (0 / 226b) 0108 0x06C [ ] lxc 10TBBACK 20240122134050.688 WARN conf - …/src/lxc/conf.c:lxc_map_ids:3621 - newuidmap binary is missing
lxc 10TBBACK 20240122134050.688 WARN conf - …/src/lxc/conf.c:lxc_map_ids:3627 - newgidmap binary is missing
lxc AD-TEST 20240122185912.274 WARN conf - …/src/lxc/conf.c:lxc_map_ids:3621 - newuidmap binary is missing
lxc AD-TEST 20240122185912.274 WARN conf - …/src/lxc/conf.c:lxc_map_ids:3627 - newgidmap binary is missing
lxc AD-TEST 20240122190042.976 WARN conf - …/src/lxc/conf.c:lxc_map_ids:3621 - newuidmap binary is missing
lxc AD-TEST 20240122190042.976 WARN conf - …/src/lxc/conf.c:lxc_map_ids:3627 - newgidmap binary is missing
lxc AD-TEST 20240122190114.489 WARN conf - …/src/lxc/conf.c:lxc_map_ids:3621 - newuidmap binary is missing
lxc AD-TEST 20240122190114.489 WARN conf - …/src/lxc/conf.c:lxc_map_ids:3627 - newgidmap binary is missing
I dont know if these have anything to do with them.
Pricey
(Joseph Price)
January 23, 2024, 11:26am
5
Re question 3: What is the impact of enabling Ubuntu Pro?
I have it enabled on my home server for livepatch and am leaning towards migrating to Incus in the near future. Is there an incompatability there?
simos
(Simos Xenitellis)
January 23, 2024, 2:05pm
6
This is me trying to get a fuller picture. When you enable Ubuntu Pro, you might enable Livepatch.
Livepatch live-patches the Linux kernel and this may lead to some instability. The description provided in this post prompted me to ask about that.
Livepatch is enabled by default if you are sticking with an LTS Linux kernel (no intermediate updates), otherwise it is not enabled.
1 Like
I have an LTS, I update a lot but manually as far as I know. May be it is doing something in the background. How can I tell
simos
(Simos Xenitellis)
January 23, 2024, 11:54pm
8
You wrote earlier No Pro , therefore this does not apply here.
Note @stgraber ’s reply above.