Description of problem: Under "Crash dump location" when the location is "Remote over ssh" the default value for the directory field is "/var/crash" and cannot be empty, if the path does not exist on the NFS, the operation will fail with the following error: "Unable to apply settings: Error: systemd job RestartUnit ["kdump.service","replace"] failed with result failed" Version-Release number of selected component (if applicable): cockpit-260-1.el8.x86_64 How reproducible: 100% Steps to Reproduce: 1. Launch cockpit "http://localhost:9090" 2. Set crash dump location to "Remote over NFS" 3. Use the default value in the Directory field and make sure it doesn't exist on the NFS 4. Test kernel dump Actual results: Getting an unclear error message - "Unable to apply settings: Error: systemd job RestartUnit ["kdump.service","replace"] failed with result failed" Expected results: Get a clear error message Additional info: See also bug 1713633#c30
Created attachment 1864913 [details] Error message screenshot
Created attachment 1864914 [details] Error message screenshot
I improved this in https://github.com/cockpit-project/cockpit/pull/17214 , the dialog now shows the kdump.service journal to give more details. kdump's error message is still confusing though, I filed bug 2071529 about that. When that is fixed, it should be clear enough. Thanks!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (cockpit bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:7718