[apparmor] [PATCH] make aa-unconfined include ipv6

Christian Boltz apparmor at cboltz.de
Fri Dec 9 23:21:06 UTC 2016


Hello,

Am Donnerstag, 1. Dezember 2016, 16:13:26 CET schrieb John Johansen:
> aa-unconfined currently does not check/display ipv6 fix this
> 
> Signed-off-by: John Johansen <john.johansen at canonical.com>
> 
> === modified file 'utils/aa-unconfined'
> --- utils/aa-unconfined	2016-10-01 18:57:09 +0000
> +++ utils/aa-unconfined	2016-12-02 00:09:27 +0000
...
> -        output = subprocess.check_output("LANG=C netstat -nlp",
> shell=True).split("\n") 
> +        output =
> subprocess.check_output("LANG=C netstat -nlp46",

Unfortunately this breaks aa-unconfined on openSUSE:
    netstat: invalid option -- '4'

(netstat is from net-tools-deprecated-1.60-770.1.x86_64)

Looks like we'll need to find another solution...


Regards,

Christian Boltz
-- 
Wenn Sie Consultant werden wollen, machen Sie ein Studium der
Sozialpädagogik. [Peer Heinlein, Chemnitzer LinuxTage 2011]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161210/d666ebe2/attachment.pgp>


More information about the AppArmor mailing list