change grep -qF '^/bin/dash$' to grep -qF '/bin/dash' or grep -q '^/bin/dash$'
dash-0.5.6-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/dash-0.5.6-6.fc16
Package dash-0.5.6-6.fc16: * should fix your issue, * was pushed to the Fedora 16 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-6.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-15957 then log in and leave karma (feedback).
I installed F16 yesterday. Today i installed virtualbox via repo and it complained that something about a shell... when i tried to install the extentions, but failed to do so. And to my surprise /bin/dash is in the /etc/shells but /bin/bash is not! No wonder it complained about the shell... I fixed the issue adding bash. Also new users (but the first created user does have the correct /bin/bash shell) have their default shell set as dash. In fact, i did not know dash before this issue. # yum list installed dash Loaded plugins: langpacks, presto, refresh-packagekit Installed Packages dash.x86_64 0.5.6-5.fc15 @updates
(In reply to comment #3) > I installed F16 yesterday. > Today i installed virtualbox via repo and it complained that something about a > shell... when i tried to install the extentions, but failed to do so. > > And to my surprise /bin/dash is in the /etc/shells but /bin/bash is not! No > wonder > it complained about the shell... > I fixed the issue adding bash. Also new users (but the first created user does > have the correct /bin/bash shell) have their default shell set as dash. In > fact, i did not know dash before this issue. > > # yum list installed dash > Loaded plugins: langpacks, presto, refresh-packagekit > Installed Packages > dash.x86_64 0.5.6-5.fc15 @updates The new 0.5.6-5.fc15 and 0.5.6-6.fc16 builds (see above) shouldn't re-add /bin/dash to /etc/shells on every installation or upgrade. Missing /bin/bash is a different issue, a bash bug. It's also been already resolved. Reinstalling (or update of) /bin/bash will fix the issue.
dash-0.5.6-6.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.