Package Details: apparmor-parser 2.13.0-2

Git Clone URL: (read-only)
Package Base: apparmor
Description: AppArmor parser - loads AA profiles to kernel module
Upstream URL:
Keywords: hardening linux LSM MAC security
Licenses: GPL
Submitter: Harvie
Maintainer: edh
Last Packager: edh
Votes: 97
Popularity: 0.121500
First Submitted: 2010-10-28 14:55
Last Updated: 2018-04-16 18:33

Latest Comments

phil.dubois commented on 2018-05-01 00:05

@sipakli That error has to do with the perl-rpc-xml package and is documented here:

My workaround was to comment out the IPv6 part of my /etc/hosts file during the installation. I don't use IPv6 so I don't know if you'll be affected.

edh commented on 2018-04-23 08:50

@sipaktli I can not reproduce the error you are experiencing. However your comment is also somewhat laconic. Please better describe what you have tried and at what stage the process failed. Btw. the comment section has markdown support. Hence you can properly format any text messages and log output.

sipaktli commented on 2018-04-23 04:34

Failed test 'RPC::XML::Server::url method (set)'
at t/40_server.t line 188.
doesn't match '(?^:http://(127[.]0[.]0[.]1|myhostname|myhostname[.]domain|localhost|localhost[.]localdomain|myhostname[.]domain|myhostname|localhost[.]localdomain):40483)'

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.

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'

All comments