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

Bug 729322

Summary: app-emulation/lxc - add acct-group/lxc, acct-user/lxc
Product: Gentoo Linux Reporter: Rage <oxr463> <ramage.lucas>
Component: New packagesAssignee: Virtualization Team <virtualization>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rage <oxr463> 2020-06-23 16:32:06 UTC
Please add new packages:

acct-group/lxc
acc-user/lxc

Package affected by this change:

- app-emulation/lxc

This will be used to allow for unprivileged lxc containers.

Reproducible: Always

Actual Results:  
N/A


N/A
Comment 1 Joonas Niilola gentoo-dev 2020-06-24 03:14:31 UTC
Hmm, I'm pretty sure I've mapped everything to my own user. How'd this help? How to use it? Should it be optional in the ebuild?
Comment 2 Rage <oxr463> 2020-06-24 11:41:36 UTC
(In reply to Joonas Niilola from comment #1)
> Hmm, I'm pretty sure I've mapped everything to my own user. How'd this help?
> How to use it? Should it be optional in the ebuild?

I am simply following the instructions on the Wiki, (See: https://wiki.gentoo.org/wiki/LXC#Configuring_unprivileged_LXC).
Comment 3 Larry the Git Cow gentoo-dev 2021-01-14 03:31:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/api.git/commit/?id=8e24c6cf403a6a0345d2d9a179f1a4f56eb359e0

commit 8e24c6cf403a6a0345d2d9a179f1a4f56eb359e0
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-01-14 03:31:32 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-01-14 03:31:32 +0000

    uid-gid.txt: add 358 UID+GID for lxc
    
    Bug: https://bugs.gentoo.org/729322
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 files/uid-gid.txt | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-01-14 03:39:18 UTC
The bug has been closed via the following commit(s):

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

commit 7e107ad831468a1840a501f2a3dfe1de2aafc6db
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-01-14 03:38:37 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-01-14 03:38:37 +0000

    app-emulation/lxc: bump to 4.0.6
    
     - always enable seccomp,
     - introduce acct-*/lxc for unprivileged container support.
    
    Closes: https://bugs.gentoo.org/729322
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-emulation/lxc/Manifest         |   2 +
 app-emulation/lxc/lxc-4.0.6.ebuild | 174 +++++++++++++++++++++++++++++++++++++
 2 files changed, 176 insertions(+)