| Summary: | SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home/mikhail/.local/share/icc/edid-9925b74b93ed0b16f5a34947f9129e38.icc. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl, mikhail.v.gavrilov |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:eaa0c6abb0140f1bd50cc7e4b029e9f8448f5e348c111ef00c6b084ad0f70e02 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-12 12:59:06 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
You need to execute # restorecon -R -v /home/mikhail which will fix it. |
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-7.fc16.i686 reason: SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home/mikhail/.local/share/icc/edid-9925b74b93ed0b16f5a34947f9129e38.icc. time: Sat Dec 10 23:06:05 2011 description: :SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home/mikhail/.local/share/icc/edid-9925b74b93ed0b16f5a34947f9129e38.icc. : :***** Plugin restorecon (82.4 confidence) suggests ************************* : :If you want to fix the label. :/home/mikhail/.local/share/icc/edid-9925b74b93ed0b16f5a34947f9129e38.icc default label should be icc_data_home_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /home/mikhail/.local/share/icc/edid-9925b74b93ed0b16f5a34947f9129e38.icc : :***** Plugin file (7.05 confidence) suggests ******************************* : :If you think this is caused by a badly mislabeled machine. :Then you need to fully relabel. :Do :touch /.autorelabel; reboot : :***** Plugin file (7.05 confidence) suggests ******************************* : :If you think this is caused by a badly mislabeled machine. :Then you need to fully relabel. :Do :touch /.autorelabel; reboot : :***** Plugin catchall_labels (4.59 confidence) suggests ******************** : :If you want to allow dbus-daemon to have read access on the edid-9925b74b93ed0b16f5a34947f9129e38.icc file :Then you need to change the label on /home/mikhail/.local/share/icc/edid-9925b74b93ed0b16f5a34947f9129e38.icc :Do :# semanage fcontext -a -t FILE_TYPE '/home/mikhail/.local/share/icc/edid-9925b74b93ed0b16f5a34947f9129e38.icc' :where FILE_TYPE is one of the following: bin_t, cert_t, init_t, net_conf_t, locale_t, usr_t, setroubleshootd_exec_t, etc_t, sambagui_exec_t, proc_t, sysfs_t, kdumpgui_exec_t, firewallgui_exec_t, NetworkManager_exec_t, devicekit_disk_exec_t, dbusd_exec_t, system_dbusd_tmp_t, gnomesystemmm_exec_t, abrt_var_run_t, cupsd_config_exec_t, accountsd_exec_t, system_dbusd_t, devicekit_power_exec_t, shell_exec_t, dhcpc_exec_t, abrt_exec_t, rpm_exec_t, sysctl_crypto_t, security_t, pulseaudio_exec_t, cert_t, dbusd_etc_t, systemd_systemctl_exec_t, etc_t, system_bus_type, init_script_file_type, cpufreqselector_exec_t, pppd_exec_t, icc_data_home_t, sssd_public_t, NetworkManager_initrc_exec_t, NetworkManager_unit_file_t, domain, puppet_tmp_t, semanage_exec_t, avahi_exec_t, abrt_t, lib_t, debuginfo_exec_t, gconfd_exec_t, colord_exec_t, ld_so_t, xdm_var_lib_t, afs_cache_t, abrt_helper_exec_t, krb5_conf_t, modemmanager_exec_t, fprintd_exec_t, udev_var_run_t, setroubleshoot_fixit_exec_t, anon_inodefs_t, sysctl_kernel_t, sectoolm_exec_t, rtkit_daemon_exec_t, firewalld_exec_t, named_exec_t, consolekit_exec_t, textrel_shlib_t, gconfdefaultsm_exec_t, devicekit_exec_t, policykit_exec_t, system_dbusd_var_lib_t, system_dbusd_var_run_t, rpm_script_tmp_t, pam_var_console_t, policykit_auth_exec_t, user_cron_spool_t, kerneloops_exec_t, selinux_config_t, NetworkManager_t, samba_var_t, gnomeclock_exec_t, default_context_t, ld_so_cache_t. :Then execute: :restorecon -v '/home/mikhail/.local/share/icc/edid-9925b74b93ed0b16f5a34947f9129e38.icc' : : :***** Plugin catchall (1.31 confidence) suggests *************************** : :If you believe that dbus-daemon should be allowed read access on the edid-9925b74b93ed0b16f5a34947f9129e38.icc file by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep dbus-daemon /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 :Target Context system_u:object_r:file_t:s0 :Target Objects /home/mikhail/.local/share/icc/edid- : 9925b74b93ed0b16f5a34947f9129e38.icc [ file ] :Source dbus-daemon :Source Path /bin/dbus-daemon :Port <Unknown> :Host (removed) :Source RPM Packages dbus-1.4.10-3.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-46.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.0-7.fc16.i686 #1 : SMP Tue Nov 1 21:00:16 UTC 2011 i686 i686 :Alert Count 2 :First Seen Sat 10 Dec 2011 10:04:49 PM YEKT :Last Seen Sat 10 Dec 2011 10:04:55 PM YEKT :Local ID e32551c1-866e-4f7f-a4c9-f2e08320ed40 : :Raw Audit Messages :type=AVC msg=audit(1323536695.716:73): avc: denied { read } for pid=988 comm="dbus-daemon" path="/home/mikhail/.local/share/icc/edid-9925b74b93ed0b16f5a34947f9129e38.icc" dev=sda5 ino=9831220 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file : : :type=SYSCALL msg=audit(1323536695.716:73): arch=i386 syscall=socketcall success=yes exit=588 a0=11 a1=bfa890d0 a2=80a0ff4 a3=0 items=0 ppid=1 pid=988 auid=4294967295 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(none) ses=4294967295 comm=dbus-daemon exe=/bin/dbus-daemon subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null) : :Hash: dbus-daemon,system_dbusd_t,file_t,file,read : :audit2allow : :#============= system_dbusd_t ============== :allow system_dbusd_t file_t:file read; : :audit2allow -R : :#============= system_dbusd_t ============== :allow system_dbusd_t file_t:file read; :