James Morris
2012-07-19 19:59:43 UTC
hi,
a user reported strange behaviour in my implementation of nsm support in
petri-foo (pf). he said when adding pf as a client, two entries appear
in nsm, the first never leaves the olive/launch state, and the second
proceeds to green/ready state and works as normal.
i couldn't reproduce this until the op showed he was starting pf from a
subdir in his home directory. after some experimenting i discovered the
strange behaviour arose whenever i specified a path to petri-foo.
eventually figured the problem arises with the executable name of
"petri-foo" i'd provided to nsm_send_announce. when petri-foo was
started by nsm without a specific path this was fine, but as soon as a
path is specified there's a mismatch in executable names.
just thought i'd share this as it was rather perplexing for some time,
but also i don't know if it's something you might want to know about.
cheers,
james.
a user reported strange behaviour in my implementation of nsm support in
petri-foo (pf). he said when adding pf as a client, two entries appear
in nsm, the first never leaves the olive/launch state, and the second
proceeds to green/ready state and works as normal.
i couldn't reproduce this until the op showed he was starting pf from a
subdir in his home directory. after some experimenting i discovered the
strange behaviour arose whenever i specified a path to petri-foo.
eventually figured the problem arises with the executable name of
"petri-foo" i'd provided to nsm_send_announce. when petri-foo was
started by nsm without a specific path this was fine, but as soon as a
path is specified there's a mismatch in executable names.
just thought i'd share this as it was rather perplexing for some time,
but also i don't know if it's something you might want to know about.
cheers,
james.