Artix Linux Forum

Init systems => S6 => Topic started by: renguangxi on 17 September 2022, 13:23:10

Title: Can't start apparmor service with s6
Post by: renguangxi on 17 September 2022, 13:23:10
I have the exact same problem that is described in  this (https://forum.artixlinux.org/index.php/topic,3401.0.html) old thread. If I try to start the apparmor's s6 service I get this error:
Code: [Select]
unable to exec /usr/lib/apparmor/apparmor.systemd: No such file or directory
s6-rc: warning: unable to start service apparmor: command exited 127

Looks like the needed script is still missing.
Title: Re: Can't start apparmor service with s6
Post by: Dudemanguy on 17 September 2022, 20:24:42
Someone deleted the "install-systemd" line at one point again (unintuitively, it actually installs a sysvinit-style script). Should be fixed now though.
Title: Re: Can't start apparmor service with s6
Post by: renguangxi on 19 September 2022, 10:58:05
Thank you. It's working again now.