Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627328 - app-emulation/lxc-2.0.8 unable to start containers
Summary: app-emulation/lxc-2.0.8 unable to start containers
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virgil Dupras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-08 14:35 UTC by alexander haensch
Modified: 2018-10-03 13:15 UTC (History)
5 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 alexander haensch 2017-08-08 14:35:37 UTC
with app-emulation/lxc-2.0.8 i get
lxc-start: start.c: lxc_spawn: 1182 Failed to set up id mapping.

with app-emulation/lxc-2.0.7 everything works fine.
Comment 1 Mitch Harder 2017-08-13 21:43:21 UTC
I was also getting a similar error with version 2.0.8.

I found a work-around here:

https://github.com/lxc/lxc/issues/1555#issuecomment-301254419

Upstream seems to indicate we are installing newuidmap and newgidmap with incorrect permissions.

Lxc 2.0.8 works fine after I run:

sudo chmod 04755 /usr/bin/newuidmap
sudo chmod 04755 /usr/bin/newgidmap
Comment 2 Virgil Dupras (RETIRED) gentoo-dev 2018-09-09 18:21:39 UTC
Do you still have the same problems in newer LXC versions? Things have been working fine here and newuidmap/newgidmap have 4711 perms on my system.