Description of problem: Together with devtoolset-7-gcc a shell script wrapper for sudo is installed under /opt/rh/devtoolset-7/root/usr/bin. This wrapper uses -E option to pass necessary environment vars to make sudo working as desired but if user pass -E argument for sudo it fails. Version-Release number of selected component (if applicable): 7.1-4.el7.x86_64 How reproducible: Always Steps to Reproduce: 1.yum install devtoolset-7-gcc 2.scl enable devtoolset-7 bash 3.sudo -E ls Actual results: /var/tmp/scl8zRdWD: line 8: -E: command not found Expected results: ls output Additional info:
*** This bug has been marked as a duplicate of bug 1319936 ***