From 03301bc3e9401ad8614548c2c2e7180e8b782e3c Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Fri, 20 Nov 2009 14:19:30 -0500 Subject: PR 10905 - Ensure that /usr/share/systemtap/runtime/uprobes is writeable by the stap-server group. --- systemtap.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index d7cdc61b..c9ffe9b1 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -311,6 +311,11 @@ exit 0 chmod 664 %{_localstatedir}/log/stap-server.log chown stap-server %{_localstatedir}/log/stap-server.log chgrp stap-server %{_localstatedir}/log/stap-server.log +# Make sure that the uprobes module can be built by the server +test -e /usr/share/systemtap/runtime/uprobes ] || mkdir -p /usr/share/systemtap/runtime/uprobes +chgrp stap-server /usr/share/systemtap/runtime/uprobes +chmod 775 /usr/share/systemtap/runtime/uprobes +# Activate the service /sbin/chkconfig --add stap-server exit 0 -- cgit