Unable to run `setgid` on cent7 (sudo needed?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am running devstack on a cent7 virtual machine,
With the following configuration:
[[local|localrc]]
<tokens and stuff>
# Might as well do this (since it's for dev. anyway).
DATABASE_
LOGFILE=
VERBOSE=True
LOG_COLOR=False
ENABLE_
GIT_BASE=
SYSLOG=False
USE_SCREEN=False
LOG_COLOR=False
VIRT_DRIVER=libvirt
LIBVIRT_TYPE=qemu
FORCE_CONFIG_
ENABLED_
ENABLED_
DISABLED_
DISABLED_
DISABLED_
Upon starting though a weird issue happens (that isn't apparently handled correctly?)
Setup and such works out fine, but when starting the service I see the following:
setsid sg libvirtd '/usr/bin/
setgid: Operation not permitted
Tracking this into functions-common it almost feels like a sudo is needed on that operation?
$ cat n-cpu.log nova-compute --config-file /etc/nova/ nova.conf'
+ [[ -n libvirtd ]]
+ echo 8220
+ exit 0
+ setsid sg libvirtd '/usr/bin/
setgroups: Operation not permitted
setgid: Operation not permitted