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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1081323

Title:
  /bin/sh illegal option -p when using pam_namespace.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1081323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to