https://bugzilla.redhat.com/show_bug.cgi?id=1275293
--- Comment #2 from Nathan Scott <nathans@xxxxxxxxxx> ---
(In reply to Marko Myllynen from comment #0)
> Description of problem:
> When starting PCP clients with -L, there's a needless PMCD connection
> attempted:
Yep. Is there an actual problem here though? PMDAs started via local context
are started in the same way as DSO PMDAs running under PMCD ... so there's no
way to tell whether this connection will be needed or not, so we have to
attempt it. Its safe to fail this connection attempt though, just means some
functionality is not available.
> access("/var/lib/pcp/pmdas//var/lib/pcp/pmdas/linux/pmda_linux.so", F_OK) =
> -1 ENOENT (No such file or directory)
Ken, this is coming from approx line 345 in connectlocal.c::__pmConnectLocal -
certainly the ordering of the search could be fixed (starting from the
innermost "if" which is nowadays the most likely DSO path from pmcd.conf).
However, it may be the case nowadays that only that innermost "if" can be true
- do we always use full paths to DSOs in pmcd.conf now? (I think we do...) In
that case, we can drop ~10 lines of code there, I think.
--
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=38OgfK9E4P&a=cc_unsubscribe
|