[Bug 1172501] New: kexec-tools: kexec-bootloader fails without 'which'
http://bugzilla.opensuse.org/show_bug.cgi?id=1172501 Bug ID: 1172501 Summary: kexec-tools: kexec-bootloader fails without 'which' Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: ptesarik@suse.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de Found By: Development Blocker: --- On a minimalistic VM, I got # kexec-bootloader kexec not available. Install kexec-tools. This is because it uses "which kexec" to determine if the kexec binary is available. I would propose to just drop that check, because both come from the same kexec-tools package. Alternatives would be 1: to add Requires: which 2: to use the fallback which defined in /etc/profile.d/alias.bash with system("bash -i -c \"which kexec\" &>/devnull") 3: use perl libraries for that check. Unfortunately File::Which is not part of the default distribution. 4: just call kexec --help to see if it works -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172501 http://bugzilla.opensuse.org/show_bug.cgi?id=1172501#c1 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> --- submitted https://build.opensuse.org/request/show/811718 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com