diff options
author | Dave Brolley <brolley@redhat.com> | 2010-02-05 14:14:53 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2010-02-05 14:14:53 -0500 |
commit | c33bb0d60c14eac88bdc50589799e1d065dec565 (patch) | |
tree | 043fd771a21e0e2aaf6905106c95c468b8771d3c /systemtap.spec | |
parent | 8155cc835adb286c456f30ebaa961508bc064e90 (diff) | |
download | systemtap-steved-c33bb0d60c14eac88bdc50589799e1d065dec565.tar.gz systemtap-steved-c33bb0d60c14eac88bdc50589799e1d065dec565.tar.xz systemtap-steved-c33bb0d60c14eac88bdc50589799e1d065dec565.zip |
Refer to the home directory of the 'stap-server' user as ~stap-server.
Diffstat (limited to 'systemtap.spec')
-rw-r--r-- | systemtap.spec | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/systemtap.spec b/systemtap.spec index 3a0a1205..193e1bbd 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -319,7 +319,7 @@ exit 0 %pre server getent group stap-server >/dev/null || groupadd -r stap-server getent passwd stap-server >/dev/null || useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -m -r -s /sbin/nologin stap-server -chmod 755 %{_localstatedir}/lib/stap-server +test -e ~stap-server && chmod 755 ~stap-server exit 0 %post server @@ -333,9 +333,9 @@ chmod 775 /usr/share/systemtap/runtime/uprobes # As stap-server, generate the certificate used for signing and for ssl. runuser -s /bin/sh - stap-server -c %{_libexecdir}/%{name}/stap-gen-cert >/dev/null # Authorize the certificate as a trusted ssl peer and as a trusted signer -# local host. -%{_bindir}/stap-authorize-server-cert %{_localstatedir}/lib/stap-server/.systemtap/ssl/server/stap.cert -%{_bindir}/stap-authorize-signing-cert %{_localstatedir}/lib/stap-server/.systemtap/ssl/server/stap.cert +# on the local host. +%{_bindir}/stap-authorize-server-cert ~stap-server/.systemtap/ssl/server/stap.cert +%{_bindir}/stap-authorize-signing-cert ~stap-server/.systemtap/ssl/server/stap.cert # Activate the service /sbin/chkconfig --add stap-server |