Artix Linux Forum

Init systems => S6 => Topic started by: ni0nrtvc on 02 March 2023, 21:20:50

Title: Cannot start apparmor with s6
Post by: ni0nrtvc on 02 March 2023, 21:20:50
Hi everyone,
I think apparmor version 3.1.3-1 reintroduced an old problem described here (https://forum.artixlinux.org/index.php/topic,4560.msg29301.html) and here (https://forum.artixlinux.org/index.php/topic,3401.0.html)
Code: [Select]
sudo s6-rc -u change apparmor
exec: fatal: unable to exec /usr/lib/apparmor/apparmor.systemd: No such file or directory
s6-rc: warning: unable to start service apparmor: command exited 127
I think the problem also affects apparmor-dinit (https://gitea.artixlinux.org/packagesA/apparmor-dinit/src/branch/master/x86_64/extra/apparmor) because it too uses the /usr/lib/apparmor/apparmor.systemd script to reload apparmor profiles.
Title: Re: Cannot start apparmor with s6
Post by: corysanin on 03 March 2023, 20:37:58
I think Dudemanguy fixed this in 3.1.3-1.1. Give that a try
Title: Re: Cannot start apparmor with s6
Post by: ni0nrtvc on 07 March 2023, 01:26:25
It's working now. Thank you