Description of problem: When you try to change your login shell to mksh or yash using the chsh command, SELinux prevents it. Version-Release number of selected component (if applicable): mksh.i686 39c-1.fc13 selinux-policy.noarch 3.7.19-33.fc13 yash.i686 2.22-0.3.b0.fc13 How reproducible: Always when SELinux is enabled. Steps to Reproduce: $ sudo yum install mksh yash $ chsh -s /bin/mksh Changing shell for magicant. Password: [enter password] chsh: "/bin/mksh" is not executable. $ chsh -s /bin/yash Changing shell for magicant. Password: [enter password] chsh: "/bin/yash" is not executable. Additional info: The situation seems much alike to: https://bugzilla.redhat.com/show_bug.cgi?id=503286
What AVC are you seeing?
If you change the context of the yash shell to shell_exec_t chcon -t shell_exec_t /bin/yash Does it work?
Just after executing the chsh command, I see AVC alert notification. But when I click the "show" button in the notification, the "SELinux Security Alerts" window says "No alerts to view"... After doing chcon, chsh successfully changes the shell.
Fixed in selinux-policy-3.7.19-34.fc13
I'm now trying selinux-policy-3.7.19-35.fc13 and can verify fix for yash, but still get the same error for mksh.
Looks like you fixed this in Rawhide but not F13.
Fixed in selinux-policy-3.7.19-36.fc13
selinux-policy-3.7.19-37.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-37.fc13
selinux-policy-3.7.19-37.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-37.fc13
This bug has been fixed. Closing. Thanks!