Bug 1378462
Summary: | systemtap-server SSL/TLS certificates needs to be unique per instance or install but this value is created at install-time and not during the first run. | ||
---|---|---|---|
Product: | Red Hat Developer Toolset | Reporter: | Martin Cermak <mcermak> |
Component: | systemtap | Assignee: | Frank Ch. Eigler <fche> |
Status: | CLOSED ERRATA | QA Contact: | Martin Cermak <mcermak> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | DTS 6.0 RHEL 7 | CC: | bgollahe, fche, jistone, kseifried, lberk, mbenitez, mcermak, mjw, mnewsome, ohudlick, tjay |
Target Milestone: | alpha | ||
Target Release: | 6.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | devtoolset-6-systemtap-3.0-8s.el[67] | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1346112 | Environment: | |
Last Closed: | 2016-11-15 10:17:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Martin Cermak
2016-09-22 13:14:55 UTC
I've successfully tested following patch: ======= $ git diff diff --git a/stap-server b/stap-server index c39ae49..7cb75d6 100644 --- a/stap-server +++ b/stap-server @@ -503,7 +503,7 @@ prepare_stat_dir () { prepare_certs () { if [ "$USER" != "`id -un`" ]; then if ! runuser -s /bin/bash - $USER -c 'test -f $HOME/.systemtap/ssl/server/stap.cert'; then - runuser -s /bin/bash - $USER -c %{_libexecdir}/systemtap/stap-gen-cert >/dev/null + runuser -s /bin/bash - $USER -c ${PKGLIBEXECDIR}stap-gen-cert >/dev/null fi else if ! test -f $HOME/.systemtap/ssl/server/stap.cert; then $ ======= in the DTS environment. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2746.html |