Bug 452830
| Summary: | Thunar fails to start in a vnc session | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jonathan Underwood <jonathan.underwood> | |
| Component: | Thunar | Assignee: | Kevin Fenzi <kevin> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 9 | CC: | christoph.wickert, dwalsh, pertusus | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | 72 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 549962 (view as bug list) | Environment: | ||
| Last Closed: | 2008-06-30 20:14:33 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
Jonathan Underwood
2008-06-25 11:59:21 UTC
Just in case it matters: $ rpm -qa | grep xfwm xfwm4-theme-nodoka-0.1-1.fc9.noarch xfwm4-4.4.2-3.fc9.x86_64 And, also: ]$ rpm -qa | grep dbus dbus-python-0.82.4-2.fc9.x86_64 dbus-1.2.1-2.fc9.x86_64 dbus-libs-1.2.1-2.fc9.x86_64 dbus-x11-1.2.1-2.fc9.x86_64 dbus-glib-0.74-8.fc9.x86_64 This looks like it might be a selinux policy issue.
Do you have selinux set to enforcing mode? (check /etc/sysconfig/selinux and/or
getenforce)
If so, can you see if you see any avc denial messages in /var/log/audit/audit.log.
Also, see if 'setenforce 0' causes it to work.
I see the following avc here:
type=USER_AVC msg=audit(1214595857.856:724): user pid=2367 uid=81
auid=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:
denied { send_msg } for msgtype=method_return dest=:1.40 spid=2418 tpid=16743
scontext=system_u:system_r:hald_t:s0
tcontext=unconfined_u:unconfined_r:unconfined_notrans_t:s0-s0:c0.c1023
tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
Yes indeed, switching SElinux to permissive allows thunar to start, and everything is as expected. I do see exactly the same avc in audit.log as you. ok. I am adding dwalsh to CC here. Dan: Is there anything that needs to change in policy or something I need to change in Thunar to get this working? You can allow this for now. # audit2allow -M mypol -l -i /var/log/audit/audit.log # semodule -i mypol.pp Fixed in selinux-policy-3.3.1-72.fc9.noarch |