Service kdump propagate fails in RHEL 6
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.