Package Details: apparmor-openrc 20170719-1

Git Clone URL: https://aur.archlinux.org/apparmor-openrc.git (read-only)
Package Base: apparmor-openrc
Description: Apparmor init script for OpenRC (from systemd-free.org - not apg's way)
Upstream URL: http://apparmor.net/
Keywords: apparmor init openrc script
Licenses: GPL2
Submitter: JMCF125
Maintainer: JMCF125
Last Packager: JMCF125
Votes: 3
Popularity: 0.000008
First Submitted: 2015-10-10 23:11
Last Updated: 2017-07-19 16:05

Latest Comments

JMCF125 commented on 2017-07-19 16:07

Ok, /usr/libexec is now discouraged in Arch Linux and no longer provided by apparmor-parser, so the init file needed one more replacement (s|libexec|lib/apparmor|).

JMCF125 commented on 2017-03-24 23:58

pacman -Qo /usr/libexec/rc.apparmor.functions reveals that file is in the apparmor-parser package, which is a dependency of the apparmor package (all right here in the AUR). Are you sure you have those installed? It's weird that you could install this init file since it does depend on apparmor.

Megver83 commented on 2017-03-23 16:40

Hi, when starting up the service I get:

# service apparmor start
/etc/init.d/apparmor: line 59: /usr/libexec/rc.apparmor.functions: No such file or directory
* ERROR: apparmor failed to start

So I tried with that file from here https://gitweb.gentoo.org/dev/zeypher.git/tree/sys-apps/apparmor-parser/files/rc.apparmor.functions
But then I got:

# service apparmor start
* Starting AppArmor ...
/etc/init.d/apparmor: line 65: is_apparmor_loaded: command not found
/usr/libexec/rc.apparmor.functions: line 232: sd_action: command not found
/usr/libexec/rc.apparmor.functions: line 215: sd_log_failure_msg: command not found
* ERROR: apparmor failed to start</code>

Then I removed that line and got the following:

# service apparmor start
* Starting AppArmor ...
/etc/init.d/apparmor: line 64: is_apparmor_loaded: command not found
/etc/init.d/apparmor: line 65: load_module: command not found
* AppArmor kernel support is not present [ !! ]
* ERROR: apparmor failed to start</code>

But in fact I use https://aur.archlinux.org/packages/linux-libre-apparmor/ which has apparmor support enabled, so, what is it?

My output of:

$ cat /sys/module/apparmor/parameters/enabled
Y