@stgraber I have discovered a major issue in the last 48 hours in 6.0. I am upgraded to the latest iteration. I had to rebuild an existing server five times to pin it down.
Apparently certain containers that have not had security.privileged=true have thrown this error.
error mounting "mqueue" to rootfs at "/dev/mqueue": ... permission denied
These are containers with security.nesting=true because these containers have docker applications nest in them.
The really insidious problem occurred after rebooting the host which is the Ubuntu 24.04.3 LTS server. After a reboot:
mount | grep devpts
reveals devpts mounted with ptxmode=000
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
Worse yet:
ls -l /dev/ptmx
reveals that the symbolic link is GONE!
lrwxrwxrwx 1 root root 13 Aug 15 20:10 /dev/ptmx
I have started from scratch rebuilding Ubuntu and reinstalling Incus 5 times now and each time this happens. It happens right after incus starts.
I don’t have to tell you that a corrupted PTS results in no ability to either ssh or sudo.
I put a band-aid on the problem by creating a service that remounts devpts properly and restores the symbolic link.
The issue is that apparently after the upgrade to one of the interim Incus 6.0 releases in the last three days, the mqueue issue starting popping up and that seems to be the thing that initiated this issue.
I sort of understand that. However, I reinstalled Ubuntu 24.04 server from scratch this morning. I installed Incus from scratch this morning. The problem persists till now. If I didn’t have the band-aid and I rebooted it would still persist. I don’t understand this because I have eight other Incus servers and I update them all at the same time. They all updated fine. Only my most critical one saw this problem. All the others are fine.
Ah, you’re hitting the mess caused by Canonical always prioritizing their ESM repos over everything else on the system, so you’re not at all using the Zabbly packages.
@stgraber very astute. I am now preferring the Zabbly packages as intended. Do you think that with this I will be able to remove my band-aid fix and be sure that devpts will not be messed with?
@stgraber The thing is, the apt upgrades always called out 6.15 when I did sudo nala upgrade. However, apparently 6.0 was the one with priority. Both were on the system. Only 6.0 was being used. Something I need to call out on my channel. I am a bit paranoid. I would hate to remove my code that remounts devpts and restores the symbolic link. If it still persists in messing up the system, I need to go hook up a console again to get back in since sudo and ssh are rendered DEAD.