Bug 1469450
| Summary: | [KEXEC] kexec_load failed: Operation not permitted on UEFI SecureBoot enable machine | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Qiao Zhao <qzhao> |
| Component: | kexec-tools | Assignee: | kdump team <kdump-team-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | Qiao Zhao <qzhao> |
| Severity: | medium | Docs Contact: | Mark Flitter <mflitter> |
| Priority: | high | ||
| Version: | 7.5 | CC: | bhe, bhsharma, ruyang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-07-20 03:03:44 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1473055 | ||
|
Description
Qiao Zhao
2017-07-11 09:45:48 UTC
Do you use 'root' to execute the command? Please use kexec -l -s to load the kernel.. (In reply to Baoquan He from comment #1) > Do you use 'root' to execute the command? Yes, user is root. (In reply to Dave Young from comment #2) > Please use kexec -l -s to load the kernel.. Great! '-s' options work. # kexec -l -s /boot/vmlinuz-3.10.0-691.el7.x86_64 --initrd=/boot/initramfs-3.10.0-691.el7.x86_64.img --reuse-cmdline Other: I didn't find '-s' option from 'man kexec'. So, can we add this? (In reply to Qiao Zhao from comment #4) > (In reply to Dave Young from comment #2) > > Please use kexec -l -s to load the kernel.. > > Great! '-s' options work. > > # kexec -l -s /boot/vmlinuz-3.10.0-691.el7.x86_64 > --initrd=/boot/initramfs-3.10.0-691.el7.x86_64.img --reuse-cmdline > > Other: I didn't find '-s' option from 'man kexec'. So, can we add this? I find some from kdumpctl code: # For secureboot enabled machines, use new kexec file based syscall. # Old syscall will always fail as it does not have capability to # to kernel signature verification. if is_secure_boot_enforced; then echo "Secure Boot is enabled. Using kexec file based syscall." KEXEC_ARGS="$KEXEC_ARGS -s" elif is_secure_mode_enforced; then echo "securelevel is set to 1 (Secure Mode). Using kexec file based syscall." KEXEC_ARGS="$KEXEC_ARGS -s" fi I think if we add '-s' options to kexec manual, it is useful for the customer. |