Description of problem: ovirt-engine fails to start with the following error: PermissionError: [Errno 1] Operation not permitted The problem caused by the new python-daemon version (2.1.0) that adds 'initgroups' parameter with default value True. That causes subsequent attempt of changing the process GID (if the parameter is omitted), which fails on insufficient privileges. Version-Release number of selected component (if applicable): ovirt-engine (any) python-daemon-2.1.0 How reproducible: 100% Steps to Reproduce: 1. Try to start ovirt-engine with python-daemon-2.1.0 installed 2. 3. Actual results: Fails with "PermissionError: [Errno 1] Operation not permitted" Expected results: Runs smoothly. Additional info: Currently the bug appears on fc24 as it ships python-daemon-2.1.0. python-daemon-2.1.1 resolves the problem, but currently is available through pip or in fc25/rawhide only. The bug [1] has been opened on fc24 asking to provide the new version. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1343041
If it's a bug on python-daemon, I assume we should: 1. Block this BZ on that bug. 2. Change the title to 'consume fix for bug 1343041' ...
Yaniv, 1. This bug is dependent on Fedora one already. 2. Once Fedora provides the new rpm, consuming that isn't a big problem, but what do we do until then? Should we change our code to be able to use any python-daemon version (see http://gerrit.ovirt.org/58635)?
Moving back to post since this bug is targeted to 4.0.1 but referenced patch is not included in 4.0.1 branch. Please check this bug status and eventually re-target to 4.0.2.
The patch was cherry-picked to ovirt-engine-4.0 branch. Please review/merge.
Verified ovirt-engine-lib-4.1.0-0.0.master.20160724001827.gite5294ab.fc24.noarch conflicts with python-daemon = 2.1.0 provided by python-daemon-2.1.0-2.fc24.noarch engine was sucessfully installed with python-daemon-2.1.1-1.fc24.noarch (from @System repository)