Description of problem:
Fish shell currently cannot be selected as a default shell in either the Mageia Setting GUI nor `chsh`, because it does not exist in the "/etc/shells" file. This is a very annoying bug for a shell.
Upstream considers (rightfully so, I think) this as a downstream/packaging bug.
Steps to Reproduce:
1. urpmi fish
2. chsh -s `which fish`
chsh: "/usr/bin/fish" is not listed in /etc/shells.
Use chsh -l to see list.
Be able to select the Fish as a default shell.
Steps to fix:
1. make sure the package adds "/usr/bin/fish" to "/etc/shells" when itâs installed (and removes it when itâs deleted)
2. thatâs it really
Pushed fixed fish-2.1.1-2.1.mga5 to core/updates_testing. Please test it.
Test case is very simple:
1. chsh -l and no fish in output
2. update fish
3. chsh -l and fish exists in output
4. remove fish
5. chsh -l and again no fish
Tested this on x86_64. Can confirm that the update makes fish available.
An update for this issue has been pushed to the Mageia Updates repository.