Package Details: apparmor-profiles 2.12.0-2

Git Clone URL: (read-only)
Package Base: apparmor
Description: AppArmor sample pre-made profiles
Upstream URL:
Keywords: hardening linux LSM MAC security
Licenses: GPL
Submitter: Harvie
Maintainer: edh
Last Packager: edh
Votes: 98
Popularity: 0.438340
First Submitted: 2010-10-28 14:55
Last Updated: 2018-02-08 19:01

Latest Comments

edh commented on 2018-02-08 19:01

@svadkos Done, thanks!

svadkos commented on 2018-02-08 18:52

Please, add 'backup' to apparmor-parser and apparmor-utils for files located in /etc/apparmor/.

egrupled commented on 2018-01-17 21:05

Great job, thank you!

edh commented on 2018-01-17 20:41

@egrupled Seems like a reasonable suggestion. Done.

egrupled commented on 2018-01-17 13:06

I propose to replace apparmor.service with

And + with

Plus add aa-teardown

That would need following PKGBUILD changes:

package_apparmor-utils() {
    pkgdesc='AppArmor userspace utilities'
    depends=('perl' 'perl-locale-gettext' 'perl-term-readkey' 'perl-file-tail' 'perl-rpc-xml' 'python')

    cd "${srcdir}/${pkgbase}-${_majorver}"
    make -C utils DESTDIR="${pkgdir}" BINDIR="${pkgdir}/usr/bin" install
    install -D -m755 "${srcdir}/apparmor.systemd" "${pkgdir}/usr/lib/apparmor/apparmor.systemd"
    install -D -m755 "${srcdir}/aa-teardown" "${pkgdir}/usr/bin/aa-teardown"
    install -D -m644 "${srcdir}/apparmor.service" "${pkgdir}/usr/lib/systemd/system/apparmor.service"

edh commented on 2018-01-15 18:40

@SonOfANoMomGoat Thanks for the information!

It seems like @towo and initially you as well confused a failing test in a different packages (a dependency of apparmor-libapparmor) with an error in this package. Just for completeness sake, here is the referenced link for the upstream bug ticket which is mentioned in the discussion of the package (perl-rpc-xml) which actually yields this error.

SonOfANoMomGoat commented on 2018-01-15 09:21

Temporary fix to the failing test issue seems to be to edit /etc/hosts and comment out any IPv6 localhost lines. '#::1 localhost.localdomain localhost'

SonOfANoMomGoat commented on 2018-01-15 09:11

Test t/40 is failing on the call as the test is calling for an IPv6 localhost address on line 4 of the codeblock and that doesn't match the IPv4 localhost address expected on line 5 in the match condition. I have the same issue.

Edit: This is trying to build the apparmor-libapparmor package.

Edit2: is the problem, they have the same issue.

edh commented on 2018-01-08 17:14

@towo Could you please elaborate a little more. AppArmor is building and working just fine for me.

towo commented on 2018-01-08 10:22

Should probably be bumped again, the tests are currently failing:

t/40_server.t ................... 1/91 
#   Failed test 'RPC::XML::Server::url method (set)'
#   at t/40_server.t line 188.
#                   'http://[::1]:46683/'
#     doesn't match '(?^:http://(127[.]0[.]0[.]1|localhost[.]localdomain|localhost|localhost):46683)'
t/40_server.t ................... 35/91 Use of uninitialized value in subroutine entry at t/40_server.t line 276.
t/40_server.t ................... 41/91 Not an ARRAY reference at t/40_server.t line 333.
# Looks like your test exited with 255 just after 43.
    ^Cmake: *** [Makefile:960: test_dynamic] Interrupt

All comments