Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Selinux reports a problem stemming from gnash whenever I try to view videos on youtube.com or logon to my gmail account. Version-Release number of selected component (if applicable): selinux-policy-3.10.0-128.fc17.noarch gnash-0.8.10-2.fc17.x86_64 gnash-plugin-0.8.10-2.fc17.x86_64 How reproducible: Always when using Firefox and the gnash plugin to view Gmail or a youtube video. Actual results: SELinux is preventing /usr/bin/gtk-gnash from write access on the file /home/orr/.gnash/SharedObjects/mail.google.com/wakeup.sol. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /home/orr/.gnash/SharedObjects/mail.google.com/wakeup.sol default label should be mozilla_home_t. Then you can run restorecon. Do # /sbin/restorecon -v /home/orr/.gnash/SharedObjects/mail.google.com/wakeup.sol ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that gtk-gnash should be allowed write access on the wakeup.sol 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 gtk-gnash /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 unconfined_u:object_r:user_home_t:s0 Target Objects /home/orr/.gnash/SharedObjects/mail.google.com/wak eup.sol [ file ] Source gtk-gnash Source Path /usr/bin/gtk-gnash Port <Unknown> Host aidan-fedora Source RPM Packages gnash-0.8.10-2.fc17.x86_64 Target RPM Packages Policy RPM selinux-policy-3.10.0-128.fc17.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name aidan-fedora Platform Linux aidan-fedora 3.3.7-1.fc17.x86_64 #1 SMP Mon May 21 22:32:19 UTC 2012 x86_64 x86_64 Alert Count 30 First Seen Tue 05 Jun 2012 12:55:26 PM CDT Last Seen Wed 06 Jun 2012 10:59:09 AM CDT Local ID 3cec05ad-0c0e-4f37-ab55-7519db95c077 Raw Audit Messages type=AVC msg=audit(1338998349.192:676): avc: denied { write } for pid=7803 comm="gtk-gnash" name="wakeup.sol" dev="sda5" ino=23331255 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file type=SYSCALL msg=audit(1338998349.192:676): arch=x86_64 syscall=open success=no exit=EACCES a0=12427a8 a1=241 a2=1b6 a3=238 items=0 ppid=11633 pid=7803 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=gtk-gnash exe=/usr/bin/gtk-gnash subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) Hash: gtk-gnash,mozilla_plugin_t,user_home_t,file,write audit2allowunable to open /sys/fs/selinux/policy: Permission denied audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied Expected results: No Selinux alerts Additional info: Seems to be a regression of the bug reported in https://bugzilla.redhat.com/show_bug.cgi?id=804163.
Where is the "wakeup.sol" exactly located in your homedir?
/home/devel/dwalsh/.macromedia/Flash_Player/#SharedObjects/5S8NLH5P/mail.google.com/wakeup.sol restorecon -R -v /home Should fix your problem.
Thank you, that seems to have worked.
selinux-policy-3.10.0-130.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-130.fc17
Package selinux-policy-3.10.0-130.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-130.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9520/selinux-policy-3.10.0-130.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-130.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.