Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657816 - app-emulation/lxc: Enable apparmor support
Summary: app-emulation/lxc: Enable apparmor support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virgil Dupras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-11 12:50 UTC by Nils Freydank
Modified: 2018-08-22 12:35 UTC (History)
2 users (show)

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


Attachments
lxc-3.0.0-r1.ebuild (lxc-3.0.0-r1.ebuild,5.40 KB, text/plain)
2018-06-11 12:52 UTC, Nils Freydank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Freydank 2018-06-11 12:50:07 UTC
Hi,

lxc has the apparmor support unconditionally disabled. I'll add a revbumped ebuild with IUSE="apparmor" and open a git push request on github.com.



Reproducible: Always
Comment 1 Nils Freydank 2018-06-11 12:52:28 UTC
Created attachment 535648 [details]
lxc-3.0.0-r1.ebuild
Comment 2 Virgil Dupras (RETIRED) gentoo-dev 2018-06-12 00:19:45 UTC
Thanks. There was previously a comment "Why is this disabled?" in the ebuild. Have you figured out why? Have you tried LXC in an apparmor-enabled setup?
Comment 3 Nils Freydank 2018-08-16 13:35:01 UTC
(In reply to Virgil Dupras from comment #2)
> Thanks. There was previously a comment "Why is this disabled?" in the
> ebuild. Have you figured out why? Have you tried LXC in an apparmor-enabled
> setup?

Sorry for the huge delay. I still have no testcase nor a real apparmor profile for lxc to see if it actually works.

On the other hand I didn't find a reason to disable support; if I remember correctly the whole comment came into the tree by a merged pull request of myself (or copied ebuild from b.g.o.).

I suggest to enable it „hidden“ behind a USE flag.
Comment 4 Larry the Git Cow gentoo-dev 2018-08-22 12:35:08 UTC
The bug has been closed via the following commit(s):

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

commit f63fbe792e3f4db205f04df2376a5aa0f92de494
Author:     Nils Freydank <holgersson@posteo.de>
AuthorDate: 2018-08-21 21:45:23 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-08-22 12:24:57 +0000

    app-emulation/lxc: Bump to 3.0.2.
    
    Closes: https://bugs.gentoo.org/583886
    Closes: https://bugs.gentoo.org/657816
    Closes: https://bugs.gentoo.org/663780
    Package-Manager: Portage-2.3.48, Repoman-2.3.10
    Closes: https://github.com/gentoo/gentoo/pull/9651

 app-emulation/lxc/Manifest         |   1 +
 app-emulation/lxc/lxc-3.0.2.ebuild | 158 +++++++++++++++++++++++++++++++++++++
 app-emulation/lxc/metadata.xml     |   1 +
 3 files changed, 160 insertions(+)