Skip to main content
Topic: Package request for incus-s6 package (Read 2141 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Package request for incus-s6 package

Reply #1
Spoiler (click to show/hide)
EDIT: the kernel module isn't loading bc my kernel modules aren't present. Known recurring issue on my system, not related to this.

 

Re: Package request for incus-s6 package

Reply #2
Code: [Select]
$ sudo incusd --group=incus --syslog
ERROR  [2025-06-15T09:41:12-06:00] Unable to parse system idmap                  err="No map found for user"
WARNING[2025-06-15T09:41:12-06:00] AppArmor support has been disabled because of lack of kernel support
WARNING[2025-06-15T09:41:12-06:00]  - AppArmor support has been disabled, Disabled because of lack of kernel support
WARNING[2025-06-15T09:41:12-06:00]  - Couldn't find the CGroup memory swap accounting, swap limits will be ignored

If I check /etc/subuid and /etc/subgid, root is not listed. It's required for incus or LXD, apparently. Adding a known-to-work root mapping seems to have fixed the problem (though I'm unsure why the user wasn't present in the first place).

Code: [Select]
$ sudo incusd --group=incus --syslog
WARNING[2025-06-15T09:50:26-06:00] AppArmor support has been disabled because of lack of kernel support
WARNING[2025-06-15T09:50:26-06:00]  - AppArmor support has been disabled, Disabled because of lack of kernel support
WARNING[2025-06-15T09:50:26-06:00]  - Couldn't find the CGroup memory swap accounting, swap limits will be ignored

When the above was running, the command sudo incus admin init worked, as did a few other commands like sudo incus top

This might not be all of the services desired, however. On my OpenRC Macaroni OS (Funtoo (Gentoo derivative) derivative) system, these are available:

Code: [Select]
$ rc-service --list | grep -E "(lxc|incus)"
incus
incus-lxcfs
incus-user
lxc
lxcfs

Re: Package request for incus-s6 package

Reply #3
Here's an execline script that's been working so far:

Code: [Select]
#!/bin/execlineb -P
fdmove -c 2 1
exec incusd --group=incus --syslog
# vi: ft=execline