Bug 840116
| Summary: | systemctl enable kdump.service errors out | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | joshua |
| Component: | kexec-tools | Assignee: | Baoquan He <bhe> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwmw2, nhorman, ruyang, xiyou.wangcong |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-25 08:51:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
joshua
2012-07-13 18:58:54 UTC
Sorry, using these packages: kernel-3.4.4-5.fc17.x86_64 kexec-tools-2.0.3-38.fc17.x86_64 systemd-44-17.fc17.x86_64 Jul 13 15:08:43 mb06-002 kdump: No crashkernel parameter specified for running kernel Jul 13 15:08:43 mb06-002 kdumpctl[8861]: Starting kdump: Jul 13 15:08:43 mb06-002 kdump: failed to start up Jul 13 15:08:43 mb06-002 systemd[1]: kdump.service: main process exited, code=exited, status=1 Job failed. See system journal and 'systemctl status' for details. Jul 13 15:08:43 mb06-002 systemd[1]: Unit kdump.service entered failed state. (In reply to comment #2) > Jul 13 15:08:43 mb06-002 kdump: No crashkernel parameter specified for > running kernel > Jul 13 15:08:43 mb06-002 kdumpctl[8861]: Starting kdump: > Jul 13 15:08:43 mb06-002 kdump: failed to start up > Jul 13 15:08:43 mb06-002 systemd[1]: kdump.service: main process exited, > code=exited, status=1 > Job failed. See system journal and 'systemctl status' for details. > Jul 13 15:08:43 mb06-002 systemd[1]: Unit kdump.service entered failed state. Hi, Have you tried systemctl enable kdump.service? is it ok? Above message just means the service failed startup due to no crashkernel= cmdline in grub conf. Sorry, I shouldn't have confused the issue with Comment #2. I do have crashkernel=128M in grub2.conf: # cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.4.4-5.fc17.x86_64 root=/dev/mapper/VolGrp01-root_fs ro rd.lvm.lv=VolGrp01/swap rd.md=0 rd.dm=0 SYSFONT=True KEYTABLE=us rd.lvm.lv=VolGrp01/root_fs rd.luks=0 LANG=en_US.UTF-8 crashkernel=128M quiet ... and still: # systemctl enable kdump.service The unit files have no [Install] section. They are not meant to be enabled using systemctl. "chkconfig kdump on" doesn't work either ... so how is one supposed to ensure that the kdump service starts at boot? (In reply to comment #4) > # systemctl enable kdump.service > The unit files have no [Install] section. They are not meant to be enabled > using systemctl. Oh, sorry, you are using 2.0.3-38, the fix got merged in 2.0.3-40, please download latest f17 version from below url: http://kojipkgs.fedoraproject.org//packages/kexec-tools/2.0.3/ Yes! http://kojipkgs.fedoraproject.org//packages/kexec-tools/2.0.3/47.fc17.1/x86_64/kexec-tools-2.0.3-47.fc17.1.x86_64.rpm does much better: # systemctl enable kdump.service ln -s '/usr/lib/systemd/system/kdump.service' '/etc/systemd/system/multi-user.target.wants/kdump.service' When can we get this is Fedora 17? just upgrade it with yum should work. 'yum upgrade kexec-tools' I'm not finding this to be true. It isn't in the regular Fedora 17 86_64 update repos. (In reply to comment #8) > I'm not finding this to be true. It isn't in the regular Fedora 17 86_64 > update repos. Hi, could you try again? I have manually set it as stable. Yes! That did it, thank you This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. |