On 3/21/2019 3:23 PM, Richard W.M.
Jones wrote:
Fedora has certainly made a lot of make-work projects over the last decade, under arguably more questionable reasoning. IMO the situation that we're in now ("Assume you're running in
bash, but called as -/bin/sh") is a worst-of-both-worlds middle
ground, somewhat akin to mandating webpages be written in IE
Quirks Mode for all time. It's neither pedantically correct, nor
flexible for users and downstreams. And the resolution from all of
this last time remains lacking in the guarantees that an
independent spec should have: http://web.archive.org/web/20150821020837/http://rpm.org/ticket/877 RPM should IMHO indicate scriptlets are to be written in Bourne shell, give a 'SHOULD'-level recommendation for POSIX-correctness, and provide a mechanism for distros to override that default. And If Fedora's packaging guidelines are going to continue to state that bashisms are completely OK, then it should use that override mechanism to set the shell to "/bin/bash" explicitly.
|
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx