Bug ID | 1195794 |
---|---|
Summary | grub2-check-default not POSIX sh conform, but calls /bin/sh |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Major |
Priority | P5 - None |
Component | Bootloader |
Assignee | screening-team-bugs@suse.de |
Reporter | kukuk@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
grub2-check-default has "#!/bin/sh", but the code uses many instructions which are undefined for a POSIX sh (see shellcheck output). Either the undefined instructions get replaced by POSIX sh instructions, or the shebang needs to be fixed to "#!/bin/bash" (This is a problem as we allow dash and ash and hush as /bin/sh, which break this script. See opensuse-factory mailinglist for the discussions).