Red Hat Bugzilla – Bug 206035
Bash3 only features in init scripts
Last modified: 2014-03-16 23:02:23 EDT
There is only one occasion of a bash3-only feature that prevents one to use
other shells as /bin/sh. It is at /etc/init.d/functions in function
resolve_dm_name() and it is the operator =~. Please consider using another
method to allow replacing of bash3 as /bin/sh.
Another thing causing some headaches is the style to source function libraries
in this manner:
This does not work with all shells as /bin/sh, eg zsh, as they always require a
Please consider also fixing this one.
This is why there is:
Requires: bash >= 3.0
in the spec file.
'.' usage fixed in CVS.