Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing /usr/libexec/totem-plugin-viewer from 'write' accesses on the directory /etc/pki/nssdb. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that totem-plugin-viewer should be allowed write access on the nssdb directory 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 totem-plugin-vi /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c 0.c1023 Target Context system_u:object_r:cert_t:s0 Target Objects /etc/pki/nssdb [ dir ] Source totem-plugin-vi Source Path /usr/libexec/totem-plugin-viewer Port <Unknown> Host (removed) Source RPM Packages totem-mozplugin-3.6.3-2.fc18.x86_64 Target RPM Packages nss-3.14.1-3.fc18.x86_64 Policy RPM selinux-policy-3.11.1-73.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.4-204.fc18.x86_64 #1 SMP Wed Jan 23 16:44:29 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-01-30 21:50:59 EET Last Seen 2013-01-30 21:50:59 EET Local ID 1a515052-e969-4fb8-b889-d990181d0d8d Raw Audit Messages type=AVC msg=audit(1359575459.719:447): avc: denied { write } for pid=2071 comm="totem-plugin-vi" name="nssdb" dev="dm-1" ino=1963201 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cert_t:s0 tclass=dir type=SYSCALL msg=audit(1359575459.719:447): arch=x86_64 syscall=access success=no exit=EACCES a0=7f98dacd15a8 a1=2 a2=2474af0 a3=7fff2e518e30 items=0 ppid=1 pid=2071 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=2 tty=(none) comm=totem-plugin-vi exe=/usr/libexec/totem-plugin-viewer subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) Hash: totem-plugin-vi,mozilla_plugin_t,cert_t,dir,write audit2allow #============= mozilla_plugin_t ============== #!!!! The source type 'mozilla_plugin_t' can write to a 'dir' of the following types: # cache_home_t, data_home_t, pulseaudio_home_t, gnome_home_type, xdm_tmp_t, gnome_home_t, gconf_home_t, home_cert_t, mozilla_home_t, user_home_dir_t, mplayer_home_t, mozilla_plugin_tmp_t, tmpfs_t, config_home_t, user_fonts_cache_t, tmp_t, user_tmp_t, user_tmpfs_t, mozilla_plugin_tmpfs_t, user_home_t allow mozilla_plugin_t cert_t:dir write; audit2allow -R #============= mozilla_plugin_t ============== #!!!! The source type 'mozilla_plugin_t' can write to a 'dir' of the following types: # cache_home_t, data_home_t, pulseaudio_home_t, gnome_home_type, xdm_tmp_t, gnome_home_t, gconf_home_t, home_cert_t, mozilla_home_t, user_home_dir_t, mplayer_home_t, mozilla_plugin_tmp_t, tmpfs_t, config_home_t, user_fonts_cache_t, tmp_t, user_tmp_t, user_tmpfs_t, mozilla_plugin_tmpfs_t, user_home_t allow mozilla_plugin_t cert_t:dir write; Additional info: hashmarkername: setroubleshoot kernel: 3.7.4-204.fc18.x86_64 type: libreport
*** Bug 906087 has been marked as a duplicate of this bug. ***
Did you enable shared DB feature in Mozilla applications?
Miroslav this is an access check, which we should just add a dontaudit_all access check.
Ah, you are right.
selinux-policy-3.11.1-76.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-76.fc18
Package selinux-policy-3.11.1-76.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-76.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2101/selinux-policy-3.11.1-76.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-76.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.