Fedora Account System
Red Hat Associate
Red Hat Customer
Summary: SELinux is preventing /opt/google/picasa/3.0/wine/bin/wine-preloader from loading /opt/google/picasa/3.0/wine/lib/wine/cryptdlg.dll.so which requires text relocation. Detailed Description: The wineboot.exe application attempted to load /opt/google/picasa/3.0/wine/lib/wine/cryptdlg.dll.so which requires text relocation. This is a potential security problem. Most libraries do not need this permission. Libraries are sometimes coded incorrectly and request this permission. The SELinux Memory Protection Tests (http://people.redhat.com/drepper/selinux-mem.html) web page explains how to remove this requirement. You can configure SELinux temporarily to allow /opt/google/picasa/3.0/wine/lib/wine/cryptdlg.dll.so to use relocation as a workaround, until the library is fixed. Please file a bug report. Allowing Access: If you trust /opt/google/picasa/3.0/wine/lib/wine/cryptdlg.dll.so to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t '/opt/google/picasa/3.0/wine/lib/wine/cryptdlg.dll.so'" You must also change the default file context files on the system in order to preserve them even on a full relabel. "semanage fcontext -a -t textrel_shlib_t '/opt/google/picasa/3.0/wine/lib/wine/cryptdlg.dll.so'" Fix Command: chcon -t textrel_shlib_t '/opt/google/picasa/3.0/wine/lib/wine/cryptdlg.dll.so' Additional Information: Source Context unconfined_u:system_r:rpm_script_t:s0-s0:c0.c1023 Target Context system_u:object_r:lib_t:s0 Target Objects /opt/google/picasa/3.0/wine/lib/wine/cryptdlg.dll. so [ file ] Source wineboot.exe Source Path /opt/google/picasa/3.0/wine/bin/wine-preloader Port <Unknown> Host (removed) Source RPM Packages picasa-3.0.5744-02 Target RPM Packages picasa-3.0.5744-02 Policy RPM selinux-policy-3.6.32-46.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name allow_execmod Host Name (removed) Platform Linux (removed) 2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14 EST 2009 x86_64 x86_64 Alert Count 1 First Seen Sat 28 Nov 2009 01:49:29 AM EST Last Seen Sat 28 Nov 2009 01:49:29 AM EST Local ID 66ace1e6-8529-4a03-9f2b-749783db9fb6 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1259390969.590:51067): avc: denied { execmod } for pid=18369 comm="wineboot.exe" path="/opt/google/picasa/3.0/wine/lib/wine/cryptdlg.dll.so" dev=dm-0 ino=473438 scontext=unconfined_u:system_r:rpm_script_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1259390969.590:51067): arch=40000003 syscall=125 success=no exit=-13 a0=6094e000 a1=1000 a2=7 a3=4d items=0 ppid=1 pid=18369 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="wineboot.exe" exe="/opt/google/picasa/3.0/wine/bin/wine-preloader" subj=unconfined_u:system_r:rpm_script_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-46.fc12,allow_execmod,wineboot.exe,rpm_script_t,lib_t,file,execmod audit2allow suggests: #============= rpm_script_t ============== allow rpm_script_t lib_t:file execmod;
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.6.32-51.fc12.noarch
selinux-policy-3.6.32-52.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-52.fc12
selinux-policy-3.6.32-52.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-2009-12549
selinux-policy-3.6.32-55.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-55.fc12
selinux-policy-3.6.32-55.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-2009-12650
selinux-policy-3.6.32-55.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
selinux-policy-3.6.32-120.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-120.fc12
selinux-policy-3.6.32-120.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.