URL:
https://github.com/freeipa/freeipa/pull/3721
Author: tiran
Title: #3721: Don't create log files from help scripts
Action: opened
PR body:
"""
Helper scripts now use api.bootstrap(log=None) to avoid the creation of
log files. Helper scripts are typically executed from daemons which
perform their own logging. The helpers still log to stderr/stdout.
This also gets rid of some SELinux AVCs when the script tries to write
to /root/.ipa/.
Fixes:
https://pagure.io/freeipa/issue/8075
Signed-off-by: Christian Heimes <cheimes(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3721/head:pr3721
git checkout pr3721