[Bug 1275293] Suboptimal client initialization with -L

[email protected]
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
https://bugzilla.redhat.com/show_bug.cgi?id=1275293

Nathan Scott <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



--- Comment #4 from Nathan Scott <[email protected]> ---
(In reply to Marko Myllynen from comment #0)
> Description of problem:
> When starting PCP clients with -L, there's a needless PMCD connection
> attempted:
> sun_path="/var/lib/pcp/tmp/pmcd/root.socket"}, 110) = -1 EACCES (Permission

To clarify something from Kens note in #c1 that I missed - this is a pmdaroot
connection attempt and not a pmcd connection attempt as was initially thought. 
This is not something we can skip, PMDAs running in DSO mode can use pmdaroot
services too.

> access("/var/lib/pcp/pmdas//var/lib/pcp/pmdas/linux/pmda_linux.so", F_OK) =
> -1 ENOENT (No such file or directory)

I've tweaked the code (commit da4d9c82db70a) such that the ordering of DSO
lookups now hits the correct paths first and we no longer see these access(2)
attempts with dodgey paths using the default DSO table.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=SZRxNlQjhm&a=cc_unsubscribe
_______________________________________________
pcp mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/pcp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.