Bug 595219
Summary: | SELinux is preventing hald-addon-ipw- "write" access on /usr/libexec. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Hutař <jhutar> |
Component: | hal | Assignee: | Richard Hughes <richard> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 12 | CC: | dwalsh, mgrepl, richard |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:105d1a56666f0041e84a64ee3b558de9c906f574b9e034b9647e32bd616090a0 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-11-04 08:31:58 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
Jan Hutař
2010-05-24 06:01:39 UTC
Hello, this happens each time after the login (to Gnome, using gdm). hald is probably trying to write to /usr/libexec directory because there is a python module there that is not compiled. Take a look for python programs in /usr/libexec/ And see if you have the corrosponding pyc file. If you run python directly on the files it should create the compiled version. It looks like there is no such a module from what I see: $ find /usr/libexec/ | while read i; do file $i; done | grep -i ': python' | sort /usr/libexec/deskbar-applet/modules-2.20-compatible/beagle-live.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/beagle-live.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/beagle-static.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/beagle-static.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/calculator.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/calculator.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/desklicious.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/desklicious.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/epiphany.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/epiphany.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/evolution.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/evolution.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/fedorabz.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/fedorabz.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/files.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/files.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/gdmactions.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/gdmactions.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/googlecodesearch.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/googlecodesearch.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/googlesearch.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/googlesearch.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/history.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/history.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/iswitch-window.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/iswitch-window.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/mozilla.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/mozilla.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/opensearch.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/opensearch.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/programs.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/programs.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/recent.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/recent.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/templates.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/templates.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/tomboy.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/tomboy.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/twitter.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/twitter.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/web_address.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/web_address.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/wikipedia-suggest.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/wikipedia-suggest.pyo: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/yahoo.pyc: python 2.6 byte-compiled /usr/libexec/deskbar-applet/modules-2.20-compatible/yahoo.pyo: python 2.6 byte-compiled /usr/libexec/gnome-panel-add: python script text executable /usr/libexec/rhts/rhts-mk-generate-specfile: python script text executable /usr/libexec/rhts/rhts-mk-test-import: python script text executable /usr/libexec/telepathy-butterfly: python script text executable Or does something from this look suspicious to you? Thanks, Jan execute python /usr/libexec/gnome-panel-add python /usr/libexec/rhts/rhts-mk-generate-specfile python /usr/libexec/rhts/rhts-mk-test-import python /usr/libexec/telepathy-butterfly Which should create the pyc and pyo files. Then SELinux will stop complaining. I have tried: # ls -al /usr/libexec/gnome-panel-add* -rwxr-xr-x. 1 root root 10436 2009-12-08 21:07 /usr/libexec/gnome-panel-add # python /usr/libexec/gnome-panel-add Usage: gnome-panel-add [options] Options: -h, --help show this help message and exit --applet=APPLET Applet to add --copy-launcher Copy the launcher to the user directory --launcher=LAUNCHER Launcher to add --panel=TOPLEVEL Identifier of the panel where to add the applet --position=POSITION Position on the panel where to add the applet --right-stick Make the applet right-aligned on the panel # cd /usr/libexec/; python -c "import gnome-panel-add" File "<string>", line 1 import gnome-panel-add ^ SyntaxError: invalid syntax # ls -al /usr/libexec/gnome-panel-add* -rwxr-xr-x. 1 root root 10436 2009-12-08 21:07 /usr/libexec/gnome-panel-add It looks like it is more issue with hald or with packaging of these utilities as it should not try to do so. Reassigning to hal to get some feedback. Thanks in advance, Jan This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Hello, I have not seen this for quite a long time, so can be closed I guess (still using F12). |