]> git.ipfire.org Git - thirdparty/dracut.git/commit
95ssh-client: attempt to copy UserKnownHostsFile to kdump's initramfs 184/head
authorTong Li <tonli@redhat.com>
Wed, 30 Nov 2016 09:05:57 +0000 (17:05 +0800)
committerTong Li <tonli@redhat.com>
Wed, 30 Nov 2016 09:05:57 +0000 (17:05 +0800)
commit32f5af2f5e20ee982745262c444c50b20bfb4c01
treec2b42ca7125a37eaba1d23af6df506e2e248f966
parentcc81672cefae136fff760a907d23d27c64539741
95ssh-client: attempt to copy UserKnownHostsFile to kdump's initramfs

Bug related to this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1360131
Now dracut only attempts to copy GlobalKnownHostsFile while generating kdump's
initramfs. This method will cause kdump's failure if users set customized
UserKnownHostsFile in /etc/ssh/ssh_config. This patch simply attempts to copy
those files too while going through /etc/ssh/ssh_config. Note that we need to
make sure ~/foo will be copied as /root/foo in kdump's initramfs.
modules.d/95ssh-client/module-setup.sh