Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 525894

Summary: sys-apps/systemd - add support for sys-libs/libapparmor
Product: Gentoo Linux Reporter: Dainius Masiliūnas <pastas4>
Component: [OLD] Core systemAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: systemd-215-r3-apparmor.patch

Description Dainius Masiliūnas 2014-10-19 19:26:07 UTC
Currently the systemd ebuild explicitly disables AppArmor support. It should be toggleable by a USE flag instead.

Reproducible: Always

Steps to Reproduce:
1. Emerge systemd
2. Run systemd --version
Actual Results:  
Reports -APPARMOR every time

Expected Results:  
When USE="apparmor", should report +APPARMOR

I'm also attaching a patch built against 215-r3 for this.
Comment 1 Dainius Masiliūnas 2014-10-19 19:27:27 UTC
Created attachment 386976 [details, diff]
systemd-215-r3-apparmor.patch
Comment 2 Mike Gilbert gentoo-dev 2014-10-19 20:14:24 UTC
Added to systemd-216; libapparmor is not stable anywhere, so there is little point in adding it to systemd-215.

+  19 Oct 2014; Mike Gilbert <floppym@gentoo.org> metadata.xml,
+  systemd-216-r1.ebuild, systemd-9999.ebuild:
+  Add use flag to control apparmor support, bug 525894 by Dainius Masiliūnas.