Hello everybody. I installed "apparmor" and "apparmor-s6" in my environment but I guess there is a problem with the services. I guess the problem is that it launch a command that it doesn't exist.
s6-rc -v 6 -u change apparmor
s6-rc: info: bringing selected services up
s6-rc: info: service s6rc-fdholder: already up
s6-rc: info: service udevd-log: already up
s6-rc: info: service s6rc-oneshot-runner: already up
s6-rc: info: service mount-tmpfs: already up
s6-rc: info: service mount-procfs: already up
s6-rc: info: service mount-devfs: already up
s6-rc: info: service mount-cgroups: already up
s6-rc: info: service kmod-static-nodes: already up
s6-rc: info: service tmpfiles-dev: already up
s6-rc: info: service udevd-srv: already up
s6-rc: info: service udevadm: already up
s6-rc: info: service modules: already up
s6-rc: info: service mount-filesystems: already up
s6-rc: info: service remount-root: already up
s6-rc: info: service apparmor: starting
s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
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
Reading the up file, I found this:
#!/bin/execlineb -P
exec /usr/lib/apparmor/apparmor.systemd reload
If you look for /usr/lib/apparmor/ there isn't apparmor.systemd script.
ls -lah /usr/lib/apparmor/
total 144K
drwxr-xr-x 2 root root 4.0K Dec 13 17:34 .
drwxr-xr-x 122 root root 124K Dec 14 05:14 ..
-rwxr-xr-x 1 root root 12K Dec 3 21:09 rc.apparmor.functions
I guess the issue is present on other inits too, I read the runit one and I has the same issue.