Comment 2 for bug 1081323

Revision history for this message
Scott Duckworth (scott-duckworth) wrote :

The attached patch removes the -p option from the shebang line of /etc/security/namespace.init and fixes this bug. The effect of the -p option with bash is to not reset the effective UID to match the real UID if they are different, but this is the default behavior if bash is invoked as /bin/sh. Similarly, this is also the default if dash is invoked as /bin/sh. So the -p option is extraneous in the first place and causes warnings if dash is being used for /bin/sh.