On 2024-02-15 09:00:57 -0800, Russ Allbery wrote: > I think the obvious solution is to ensure that both the /bin and /usr/bin > paths for mksh are registered in /etc/shells. In other words, I think we > have a missing usrmerge-related transition here that we should just fix. > I'm copying Thorsten on this message in case he hasn't noticed this > thread, but if I were you I'd just file a bug against mksh asking for the > /usr/bin paths to also be added to /etc/shells to match the new behavior > of add-shell.
I had reported a bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063905 but Thorsten closed it because |The OP’s $SHELL should not be set to /usr/bin/bash as that |value is not in /etc/shells and not its canonical path in |the first place. (The issue was initially detected with bash, which gave bug 817168.) But having a requirement on what pathnames $SHELL may contain (in the case a same shell can be referenced by several pathnames, e.g. due to the /bin -> /usr/bin symbolic link) is not acceptable. Hence my post about this. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)