Service kdump propagate fails in RHEL 6

Solution Unverified - Updated -

Issue

  • When setting up RHEL6 clients, 'service kdump propagate' seems to fail
  • Client key gets copied over to the the kdump server
  • Keys are propagated by the 'propagate_ssh_key' function of /etc/init.d/kdump
  • The line that propagates the key: ssh-copy-id -i $KEYFILE $SSH_USER@$SSH_SERVER &>/dev/null
  • If the exit code of this command is different from 0, then an error message is printed to stdout saying that the propagation failed, even though the key gets copied over.
  • The exit code of the ssh-copy-id command (when it's run manually) is 1, despite the fact that it was able to cpy the key over.

Environment

  • RHEL 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content