FS#54024 - [lxc] containers fail to start under 1:2.0.8-1
Attached to Project:
Community Packages
Opened by John (graysky) - Friday, 12 May 2017, 19:37 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 15 May 2017, 16:12 GMT
Opened by John (graysky) - Friday, 12 May 2017, 19:37 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 15 May 2017, 16:12 GMT
|
Details
After updating to 1:2.0.8-1, none of my containers are able
to start. Below is an example. Downgrading to 1:2.0.7-1
fixes the problem.
# lxc-start -n playtime -F lxc-start: start.c: lxc_spawn: 1182 Failed to set up id mapping. lxc-start: start.c: __lxc_start: 1354 Failed to spawn container "playtime". lxc-start: tools/lxc_start.c: main: 366 The container failed to start. lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options. Additional info: * package version(s) lxc 1:2.0.8-1 |
This task depends upon
Description: Upgrade from lxc 2.0.7 to 2.0.8 broke container startup. The container fails to start with error message: Failed to set up id mapping
Full error:
lxc-start 20170512184234.155 ERROR lxc_start - start.c:lxc_spawn:1182 - Failed to set up id mapping.
lxc-start 20170512184234.179 ERROR lxc_start - start.c:__lxc_start:1354 - Failed to spawn container "mailbox".
lxc-start 20170512184239.184 ERROR lxc_start_ui - tools/lxc_start.c:main:366 - The container failed to start.
lxc-start 20170512184239.184 ERROR lxc_start_ui - tools/lxc_start.c:main:368 - To get more details, run the container in foreground mode.
lxc-start 20170512184239.184 ERROR lxc_start_ui - tools/lxc_start.c:main:370 - Additional information can be obtained by setting the --logfile and --logpriority options.
Additional info:
package version: 1:2.0.8-1
Steps to reproduce:
Everything worked normally in 2.0.7.
Upon upgrading to 2.0.8 and rebooting the server, the container which was stet to autostart did not start. Attempting to start in foreground mode produced the "Failed to set up id mapping" error.
Current work around was to downgrade back to 2.0.7, reboot the server, and the container autostarted with no issue.
@Grimm665 - does it work for you? Here is a patch you can apply the PKGBUILD for testing: https://gist.github.com/graysky2/bdf162670339dfad621d9f95301b849c
[root@ArchServer ~]# lxc-start -n 03-Ubuntu
lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.
lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.