[freeipa PR#3047][opened] Add ExecStartPre hook to wait for Dogtag PKI
by tiran
URL: https://github.com/freeipa/freeipa/pull/3047
Author: tiran
Title: #3047: Add ExecStartPre hook to wait for Dogtag PKI
Action: opened
PR body:
"""
Dogtag PKI typically takes around 10 seconds to start and respond to
requests. Dogtag uses a simple systemd service, which means systemd is
unable to detect when Dogtag is ready. Commands like ``systemctl start``
and ``systemctl restart`` don't block and wait until the CA is up. There
have been various workarounds in Dogtag and IPA.
Systemd has an ExecStartPost hook to run programs after the main service
is started. The post hook blocks systemctl start and restart until all
post hooks report ready, too. The new ipa-pki-wait-running script polls
on port 8080 and waits until the CA subsystem returns ``running``.
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/3047/head:pr3047
git checkout pr3047
5 years
[freeipa PR#3050][opened] Add missing deps for `make pylint`
by stanislavlevin
URL: https://github.com/freeipa/freeipa/pull/3050
Author: stanislavlevin
Title: #3050: Add missing deps for `make pylint`
Action: opened
PR body:
"""
The make target `pylint` hasn't a full list of its dependencies.
This leads to problems like:
- different build results
- PR tests just do not run pylint over some Python scripts.
The new build target (`python_scripts`) was implemented.
It's intended for building all Python scripts (files, containing
@PYTHONSHEBANG@ as a shebang placeholder).
The make `pylint` should require it.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3050/head:pr3050
git checkout pr3050
5 years