Bug Description: On prefix build, the defaultuser/defaultgroup is set to dirsrv. While the installed build belongs to the local user.
By default selinux is True in general option. Selinux should be true only if if the instance['user'] = 'root'.
Fix Description: Define defaultuser/defaultgroup as local user if in prefix deployment. Set selinux=False if the user is not root
https://pagure.io/389-ds-base/issue/50297
Reviewed by: ?
Platforms tested: F28
Flag Day: no
Doc impact: no
Looks okay to me, ack
I thought the selinux routines check for if root and then skip if they don't have permission now? Look in utils.py I think ...
rebased onto 36b3d889af5afcb7a238881b7773b42d4aaeaf3c
rebased onto 6b08e590c23673f5bf39a2b42efa9a22d7447145
rebased onto 38b49c07d3fb1f50d8d8b7725d12bb25605d2f89
rebased onto 495207017f0996d5a71065b0f7997fea2b0cf663
rebased onto 4ce1364fe607ccea24511125713efa69b4c4a904
rebased onto 15790cbdc0ba8e61134f5b8e015e00d40bd13110
rebased onto ae3368505597beece8555b6cc5659e99b25f4f58
rebased onto bb6230389981ec286faf7bc631569bb475c4730d
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This pull request has been cloned to Github as issue and is available here: - https://github.com/389ds/389-ds-base/issues/3357
If you want to continue to work on the PR, please navigate to the github issue, download the patch from the attachments and file a new pull request.
Thank you for understanding. We apologize for all inconvenience.
Pull-Request has been closed by spichugi
Bug Description:
On prefix build, the defaultuser/defaultgroup is set to dirsrv.
While the installed build belongs to the local user.
Fix Description:
Define defaultuser/defaultgroup as local user if in prefix deployment.
Set selinux=False if the user is not root
https://pagure.io/389-ds-base/issue/50297
Reviewed by: ?
Platforms tested: F28
Flag Day: no
Doc impact: no