Description of problem: Users can't use dash as their shell since it's not present in the /etc/shells file. Version-Release number of selected component (if applicable): 0.5.6-3 How reproducible: Always. Steps to Reproduce: 1. Install dash. 2. Try to set dash as your shell (e.g. via chsh) Actual results: chsh: "/bin/dash" is not listed in /etc/shells. Expected results: Shell changed. Additional info: This can be solved via %post and %postun scriptlets.
%post if [ $1 -eq 1 ]; then grep -qF /bin/dash /etc/shells || echo '/bin/dash' >> /etc/shells fi %postun if [ $1 -eq 0 ]; then sed -i '/\/bin\/dash/d' /etc/shells fi
dash-0.5.6-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/dash-0.5.6-3.fc14
dash-0.5.6-4.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/dash-0.5.6-4.fc15
Package dash-0.5.6-4.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dash-0.5.6-4.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/dash-0.5.6-4.fc15 then log in and leave karma (feedback).
dash-0.5.6-4.fc15 update has not yet fixed this issue on Fedora 15: ~]$ rpm -q dash dash-0.5.6-4.fc15.i686 ~]$ cat /etc/shells /bin/sh /bin/bash /sbin/nologin
Not fixed on F14 either, with dash-0.5.6-3.fc14.x86_64 installed.
This only applies to new installations, not upgrades. I understand that's not really convenient. A new update is on its way...
dash-0.5.6-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/dash-0.5.6-4.fc14
dash-0.5.6-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/dash-0.5.6-5.fc15
Seems to be fixed on f15: $ cat /etc/shells /bin/sh /bin/bash /sbin/nologin /bin/dash
Package dash-0.5.6-4.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dash-0.5.6-4.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/dash-0.5.6-4.fc14 then log in and leave karma (feedback).
dash-0.5.6-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
dash-0.5.6-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.