You are not logged in.

#1 2023-10-03 22:30:03

Mr_nUUb
Member
Registered: 2023-08-02
Posts: 1

AppArmor and systemd-homed with BTRFS subvolumes

Hi!

I did setup my home directory using systemd-homed as a btrfs subvolume. Now that I enabled AppArmor, akonadi fails to start. If I run ` aa-complain akonadiserver` it starts working again.
I'm assuming AppArmor is not aware my home directory is actually a mount point like this:

/dev/mapper/luks-root on /home/mrnuub type btrfs (subvol=/@home/mrnuub.homedir)

These are the home directories:
- /home/mrnuub, owned by mrnuub:mrnuub
- /home/mrnuub.homedir, owned by nobody:nobody

As you can see, my home directory is still inside /home, so adjusting homedirs tunable shouldn't be required.
What setting do I have to change to fix this issue and possibly prevent future issues?

Best regards
Mr nUUb

PS: I already tried Google and the Arch Linux Forums search ;-)

EDIT: is there a way to debug/print AppArmor variables, like what is @{HOME} pointing to?

Last edited by Mr_nUUb (2023-10-03 22:31:42)

Offline

Board footer

Powered by FluxBB