URL: https://github.com/freeipa/freeipa/pull/2301 Author: tiran Title: #2301: Fix SELinux violation in fedora-domainname.service detection Action: opened
PR body: """ ## Refactor os-release and platform information
Move the /etc/os-release parser and platform detection code out of the private _importhook module. The ipaplatform module now contains an osinfo module that provides distribution, os, and vendor information.
See: https://www.freedesktop.org/software/systemd/man/os-release.html See: https://pagure.io/freeipa/issue/7661
## Don't check for systemd service
ipaplatform no longer checks for the presence of a systemd service file to detect the name of the domainname service. Instead it uses osinfo's version to use the old name on Fedora 28 and the new name on Fedora 29.
This fixes a SELinux violation that prevented httpd from listing systemd service files.
Fixes: https://pagure.io/freeipa/issue/7661 """
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/2301/head:pr2301 git checkout pr2301
URL: https://github.com/freeipa/freeipa/pull/2301 Author: tiran Title: #2301: Fix SELinux violation in fedora-domainname.service detection Action: closed
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/2301/head:pr2301 git checkout pr2301
freeipa-devel@lists.fedorahosted.org