| To: | Nathan Scott <nathans@xxxxxxxxxx>, "Frank Ch. Eigler" <fche@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] PCP Updates: qa fallout from ipv6/unix sockets for pmlogger and pmlc |
| From: | Dave Brolley <brolley@xxxxxxxxxx> |
| Date: | Wed, 19 Feb 2014 10:39:37 -0500 |
| Cc: | pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <896174788.10421447.1392770006295.JavaMail.zimbra@xxxxxxxxxx> |
| References: | <52FE5058.4030702@xxxxxxxxxx> <53023D4E.1060504@xxxxxxxxxx> <y0mmwhoqu69.fsf@xxxxxxxx> <757832688.10280462.1392753861578.JavaMail.zimbra@xxxxxxxxxx> <896174788.10421447.1392770006295.JavaMail.zimbra@xxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 02/18/2014 07:33 PM, Nathan Scott wrote: On my system, PCP_TMP_DIR is /var/lib/pcp/tmp, which is where the pmlogger port map file is kept, and has the same issue as PCP_RUN_DIR, i.e. not writable by normal users.----- Original Message -----[...] A great idea! We could use ~/.pcp/pmlogger (which also houses the pmchart/pmcollectl/pm* personal recordings, so maybe not there) or ~/.pcp/tmp/pmlogger ala ($PCP_TMP_DIR/pmlogger) - somewhere below ~/.pcp anyway. I think that ~/.pcp/pmlogger would be a good place. Just realised we'll probably want other tools doing similar things - the pmtime socket should be switched to af_unix too (having to seek for an available port is not ideal), so we'll need a home for those files too. Please choose a location with this in mind. For other tools we could use ~/.pcp/<toolname>.I don't see an existing environment variable for ~/.pcp. Systemtap uses SYSTEMTAPDIR, but PCPDIR doesn't seem to fit convention. How about PCP_USER_DIR. Any other suggestions? Dave |
| Previous by Date: | Re: [pcp] datetime enhancements, Stan Cox |
|---|---|
| Next by Date: | Re: Detecting of a host is being logged by pmlogger, Frank Ch. Eigler |
| Previous by Thread: | Re: [pcp] PCP Updates: qa fallout from ipv6/unix sockets for pmlogger and pmlc, Nathan Scott |
| Next by Thread: | Re: [pcp] PCP Updates: qa fallout from ipv6/unix sockets for pmlogger and pmlc, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |