Description of problem: This is a spin-off of cockpit bug 2062297. When kdump is configured with some NFS location, like nfs 10.111.113.2:/srv/kdump path dumps and the remote directory does not exist on the server (i.e. /srv/kdump/ does not have a "dumps" directory), kdump.service fails with a confusing error message. Version-Release number of selected component (if applicable): kexec-tools-2.0.22-7.fc35.x86_64 How reproducible: Always Steps to Reproduce: 1. Set up NFS location for non-existing directory, see above. 2. Start kdump.service Actual results: kdump.service fails with error: kdumpctl[2172]: kdump: Dump path "/tmp/mkdumprd.ftWhOF/target/dumps" does not exist in dump target "10.111.113.2:/srv/kdump" This is confusing -- Of course /tmp/mkdumprd.ftWhOF/ does not exist on the server. That's the local temporary mount point. Expected results: Skip the local mount prefix. Should be like this: kdumpctl[2172]: kdump: Dump path "dumps" does not exist in dump target "10.111.113.2:/srv/kdump"
This message is a reminder that Fedora Linux 35 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '35'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 35 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
This looks better in Fedora 37: kdumpctl[3583]: mount.nfs: mounting 10.111.113.2:/srv/kdump2 failed, reason given by server: No such file or directory kdumpctl[3505]: kdump: Failed to mount 10.111.113.2:/srv/kdump2 for kdump preflight check. Please make sure nfs-utils has been installed. So, closing. Thanks!