pcp
[Top] [All Lists]

Re: PCP Updates: qa fallout from ipv6/unix sockets for pmlogger and pmlc

To: Dave Brolley <brolley@xxxxxxxxxx>
Subject: Re: PCP Updates: qa fallout from ipv6/unix sockets for pmlogger and pmlc
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Tue, 18 Feb 2014 11:09:34 -0500
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <53023D4E.1060504@xxxxxxxxxx> (Dave Brolley's message of "Mon, 17 Feb 2014 11:48:14 -0500")
References: <52FE5058.4030702@xxxxxxxxxx> <53023D4E.1060504@xxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
brolley wrote:

> Handle unix domain socket binding (creation) for pmlogger when run
> as a normal user.  When running as a normal user, pmlogger is unable
> to bind to (i.e. create) a unix domain socket in /var/run/pcp
> (PCP_RUN_DIR), because that directory is not writable by normal
> users. [... so skip it ...]

Another solution would be to bind the socket to another predictable
path that is private to the user.  It would be desirable let people
have personal pmloggers that are just as immune to foul play as system
pmloggers will be (once they switch onto authenticated-AF_UNIX-only
pmlc).

- FChE

<Prev in Thread] Current Thread [Next in Thread>