Bug 558418
| Summary: | SELinux is preventing /usr/bin/chsh "execute" access on nxserver. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Teichmann <jan.teichmann> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:34f06e00fd4970c86d462e6501a3ed1b5c2e509e5e817e7461f8c139e5ff01cd | ||
| Fixed In Version: | 3.6.32-78.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-02-02 01:23:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jan Teichmann
2010-01-25 10:01:11 UTC
Why would chsh be executing the nxserver? Is this the login shell? it happens on the system start-up. my login shell should be bash but maybe the starting nxserver try to change the shell. but the nxserver is also working with this restriction. Any chance nxserver is listed in /etc/shells? chsh might be checking which shells are executables? is nxserver in the /etc/passwd? the nxserver is not in the /etc/shells but in /etc/passwd: nx:x:491:475::/usr/NX/home/nx:/usr/NX/bin/nxserver and I noticed that's the NoMachine server... I completely forgot that I changed to the proprietary one some months ago. Miroslav, add optional_policy(` nx_exec_server(chfn_t) ') to usermanage.te and ######################################## ## <summary> ## Execute the NX server. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`nx_exec_server',` gen_require(` type nx_server_exec_t; ') can_exec($1, nx_server_exec_t) ') to nx.if Fixed in selinux-policy-3.6.32-78.fc12 selinux-policy-3.6.32-78.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-78.fc12 selinux-policy-3.6.32-78.fc12 has been pushed to the Fedora 12 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/F12/FEDORA-2010-1207 selinux-policy-3.6.32-78.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |