Re: usrmerge breaks POSIX
Thorsten Glaser <tg@mirbsd.de> writes:
> Russ Allbery dixit:
>> 3. Something else that I don't yet understand happened that caused pkexec
>> to detect the shell as /usr/bin/mksh instead of /bin/mksh. I'm not
> What sets $SHELL for the reporter’s case? Fix that instead. login(1)
> sets it to the path from passwd(5), which hopefully is from shells(5).
My guess is that pkexec is calling realpath to canonicalize the path
before checking for it in /etc/shells, although I have not confirmed this.
Regardless, I think we should list both paths in /etc/shells because both
paths are valid and there are various benign reasons why one might see the
other path.
--
Russ Allbery (rra@debian.org) <https://www.eyrie.org/~eagle/>
Reply to: