You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling pcs auth, if the call to /usr/lib/pcsd/pcsd-cli.rb produces any output on stderr, then it causes the pcs auth command to succeed, but display a failure message.
This may actually happen in other instances, but pcs auth is where I noticed it.
# pcs cluster auth node1 node2 -u hacluster -p hacluster
Error: Unable to communicate with pcsd
I can reproduce this every time, if I set the permissions on /usr/bin to 777. (I know this should never be done, but it's an easy way to reproduce):
/usr/lib/pcsd/bootstrap.rb:58: warning: Insecure world writable dir /usr/bin in PATH, mode 040777
Contaminates the output, and renders the JSON unparseable. This causes the pcs command to look like it's failed, even though the action was successful.
The text was updated successfully, but these errors were encountered:
When calling
pcs auth
, if the call to/usr/lib/pcsd/pcsd-cli.rb
produces any output on stderr, then it causes thepcs auth
command to succeed, but display a failure message.This may actually happen in other instances, but
pcs auth
is where I noticed it.I can reproduce this every time, if I set the permissions on /usr/bin to 777. (I know this should never be done, but it's an easy way to reproduce):
The line:
Contaminates the output, and renders the JSON unparseable. This causes the pcs command to look like it's failed, even though the action was successful.
The text was updated successfully, but these errors were encountered: