Ubuntu 22.04 netboot install uses selinux enabled kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ODROID |
New
|
Undecided
|
Unassigned |
Bug Description
I installed Ubuntu 22.04 on a odroid M-1 using netboot_default
uname -a
Linux test 5.18.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.18.0-
When trying to run lxc I get selinux warnings.
lxc list
2022/11/02 16:16:51.131884 cmd_run.go:1046: WARNING: cannot create user data directory: failed to verify SELinux context of /root/snap: exec: "matchpathcon": executable file not found in $PATH
It looks like the kernel has been compiled with selinux although Ubuntu uses appamor. snapd uses selinux if available but selinux is not configured.
work around:
install selinux-
some background:
https:/
https:/
How do you install Ubuntu 22.04 LTS directly onto the ODROID M1? I tried, and failed. To work around the issue, I had to use the older 20.04 LTS image, from HardKernel, and perform an OS upgrade to 22.04 LTS. It worked fine, but I would rather directly install the latest LTS version fresh onto the eMMC chip.