I am using Manjaro in a Distrobox / podman container. It comes with bash as a default shell and I wanted to change my shell to zsh, so I installed the zsh package. Then I ran chsh -s /bin/zsh but it said: Your shell is missing in /etc/shells, change denied, no permission. This is not true though. There’s several zsh entries in /etc/shells which are also displayed correctly by chsh -l. However, I noticed that the real path of zsh (which zsh) is not included, only all the symlinks. Adding that path did not help though. What’s going on?
The podman container is based on docker.io/manjarolinux/base:20241208.
/usr/sbin is a symbolic link to /usr/bin. So following the link, zsh can indeed be found, but it is possible that your virtualization software trips over that.
Hm - did I do something wrong when merging .pacnew for this file?
Or was this (perhaps not yet) addressed?
I still have /bin/$SHELL entries for all three in there.