From f1842f4fd9cf9c294c23438ee74971c6dc71c4ec Mon Sep 17 00:00:00 2001 From: Sven Anderson Date: Wed, 26 Jul 2017 18:49:06 +0200 Subject: [PATCH] Add libvirt group to base image The libvirt-daemon controls socket access with the libvirt group, which is created dynamically. If different containers would get different GIDs for the libvirt group that would break cross-container socket access. Because creation of only a group is not supported and for the uids and gid to stay in sync, an unused libvirt user is created as well. Change-Id: Ie484a6ad1493f4b867c9577fc0beeb8b2e16c371 --- kolla/common/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kolla/common/config.py b/kolla/common/config.py index 4db07efffd..00c8649c77 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -927,6 +927,10 @@ USERS = { 'uid': 42472, 'gid': 42472, }, + 'libvirt-user': { + 'uid': 42473, # unused user, but we need the group for socket access + 'gid': 42473, + }, }