Hey Nathan,
I was still unable to find a suitable place among the {GNU}makefiles,
but making changes to src/pmcd/rc_pmcd seems to do the trick (when pmcd
is started as a system daemon). Please have a look at the attached patch.
Thanks
Dave
On 06/19/2013 07:11 PM, Nathan Scott wrote:
Hi Dave,
<brolley> nathans, do you recall an irc conversation in which we
agreed to adjust the permissions of ${localstatedir}/pcp to:
root pcp rwxrwxr-x ?
<brolley> (to allow pmcd to delete ${localstatedir}/pcp/pmcd.socket)
<brolley|afk> nathans, gotta run now, but the thing is that I
looked a couple of times, but couldn't find the right place to
get that done in the rpm (at least the one used by ./Makepkgs).
Any pointers would be appreciated
* brolley|afk has left #pcp
Yeah, you're blazing a trail here :) - don't think we install
anything else not-as-root:root yet. The install.sh script has
-o/-g (owner/group) options, and $PCP_USER and $PCP_GROUP are
nowadays defined in the build ... I'd start with those and see
if they work out (makefile changes, iow). If not, we'll need
to find where that info is getting dropped/lost and tackle that.
cheers.
--
Nathan
PCP_RUN_DIR-perms.patch
Description: Text Data
|