[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usrmerge breaks POSIX



Russ Allbery dixit:

>> 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.

Now that would be weird and should be fixed…

>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.

For the record, I don’t agree with this, and /bin/mksh{,-static} are
the canonical paths.

I might add them in the next upload to keep peace, though… *sigh*

bye,
//mirabilos
-- 
21:12⎜<Vutral> sogar bei opensolaris haben die von der community so
ziemlich jeden mist eingebaut │ man sollte unices nich so machen das
desktopuser zuviel intresse kriegen │ das macht die code base kaputt
21:13⎜<Vutral> linux war früher auch mal besser :D


Reply to: