Mailinglist Archive: opensuse-factory (649 mails)

< Previous Next >
[opensuse-factory] Howto setup /etc/subuid and /etc/subgid?
Since some weeks my LXC guests do not start anymore on Tumbleweed.

After some debugging I found this possible cause:

$ lxc-start -n ubuntu-xenial --foreground --logfile libvirt.log --logpriority
$ grep ERROR libvirt.log
lxc-start 20170803204255.404 ERROR lxc_start - start.c:lxc_spawn:1182
- Failed to set up id mapping.
lxc-start 20170803204255.451 ERROR lxc_start -
start.c:__lxc_start:1354 - Failed to spawn container "ubuntu-xenial".
lxc-start 20170803204255.994 ERROR lxc_start_ui -
tools/lxc_start.c:main:366 - The container failed to start.
lxc-start 20170803204255.994 ERROR lxc_start_ui -
tools/lxc_start.c:main:370 - Additional information can be obtained by setting
the --logfile and --logpriority options.

Some comments (like here
suggest to setup /etc/subuid and /etc/subgid correctly.

But what is the correct content? Could someone give me an example
/etc/subuid and /etc/subgid file?

(On my TW installation both files do not exist. On another PC with Leap
42.2 I have both files, but /etc/subuid and /etc/subgid was somehow
filled with the three users and groups, which I recently created with
useradd and groupadd.)

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >