Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525894 - sys-apps/systemd - add support for sys-libs/libapparmor
Summary: sys-apps/systemd - add support for sys-libs/libapparmor
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-10-19 19:26 UTC by Dainius Masiliūnas
Modified: 2014-10-19 20:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
systemd-215-r3-apparmor.patch (systemd-apparmor.patch,1.28 KB, patch)
2014-10-19 19:27 UTC, Dainius Masiliūnas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.