I am using a archlinux incus container. It works fine, I’ve noticed when I try to update the packages using pacman, the packages install but I get a lot of Permission denied errors…maybe 100s of errors. They all seem to be trying to write to /sys/devices…
I have a feeling I am doing something wrong (or missing an option or something…)
I am issuing the command as follows (in the container)
container> sudo pacman -S -y; sudo pacman -S -u;
Here are a couple of errors in case it helps
device:72: Failed to write 'change' to '/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:43/device:45/device:72/uevent': Permission denied
...
tty47: Failed to write 'change' to '/sys/devices/virtual/tty/tty47/uevent': Permission denied
...
scsi_tmf_8: Failed to write 'change' to
...
Basically something in your package update seems to be running an udevadm trigger or equivalent. This attempts to write change to every uevent file in /sys.
Most of those devices are not owned by the container but owned by the host instead, so they won’t let you write to the file.
Sorry for the late reply…as I mentioned in the post, the install works fine, everything works fine…I was just worried by all the errors.
Thank you for your response…One reason for my late response is that I have not been able to pin down exactly what is writing to uevent. I think on my system it maybe Mkinitcpio.
I will come back to this problem later…I am hoping that I can avoid all the error messages at some point