Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867739 - Remove apparmor USE mask on arm64
Summary: Remove apparmor USE mask on arm64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Palimaka (kensington)
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 867754
Blocks:
  Show dependency tree
 
Reported: 2022-08-31 17:15 UTC by Kevan Baker
Modified: 2022-09-02 15:46 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevan Baker 2022-08-31 17:15:04 UTC
lxc has apparmor masked as a USE flag by profile. I unmasked it to emerge lxc with apparmor, in order to use waydroid. I successfully compiled and installed both packages, and got a "working" (I put working in quotes because currently it is very slow due to hardware limitations) installation of Waydroid, which otherwise would not be working without the apparmor USE in lxc.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge app-containers/lxc on arm64 with apparmor USE flag
2. USE flag is masked by profile
3. Head to IRC to politely ask for help, learn how to unmask the USE flag
4. emerge lxc with apparmor
Actual Results:  
I originally could not emerge lxc with apparmor, but after unmasking the USE flag, I successfully was able to emerge it.

Expected Results:  
Emerging lxc without needing to unmask apparmor USE flag

I am using a Pinebook Pro, and had some trouble getting Waydroid to work, but ultimately was successful. One hurdle was this USE flag, so I am hoping to see that we can confirm it is working, and unmask it.
Comment 1 Mike Gilbert gentoo-dev 2022-08-31 17:54:35 UTC
It looks like I masked the 'apparmor' USE flag way back in 2014.

https://gitweb.gentoo.org/archive/repo/gentoo-2.git/commit/?id=3f9066c861ee37bffe04e9dd7ddc525dd47490e5

I'll look into updating it.
Comment 2 Mike Gilbert gentoo-dev 2022-08-31 18:54:19 UTC
To remote the use.mask entry, the following packages would need to be keyworded/stabilized on arm64.

sys-libs/libapparmor
sys-apps/apparmor
sys-apps/apparmor-utils
Comment 3 Greg Kubaryk 2022-08-31 22:34:59 UTC
alternately, could unmask the flag on arm64 and add to arm64's use.stable.mask if sys-apps/apparmor-utils is keyworded ~arm64
Comment 4 Larry the Git Cow gentoo-dev 2022-09-02 15:46:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b73965146752936a77445389ab89e31402c8e5

commit 86b73965146752936a77445389ab89e31402c8e5
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-08-31 18:09:08 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-09-02 15:40:26 +0000

    profiles/arch/arm64: unmask 'apparmor' USE flag
    
    Closes: https://bugs.gentoo.org/867739
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 profiles/arch/arm64/use.mask | 4 ++++
 1 file changed, 4 insertions(+)