Bug 632988
| Summary: | SELinux is preventing /usr/bin/kdialog "write" access on /usr/libexec/kde4/drkonqi. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jaroslav Franek <jarin.franek> |
| Component: | kdebase-runtime | Assignee: | Than Ngo <than> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | dwalsh, eparis, jreznik, kevin, ltinkl, mgrepl, rdieter, rnovacek, ry, smparrish, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:d2389721869d791ed613a44bea3e6a8bbc422faa6aa1bfcb55ca3d8da9a4aa65 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-16 21:05:21 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 633297 | ||
|
Description
Jaroslav Franek
2010-09-12 11:11:42 UTC
Why is kdialog running under nsplugin? jaraslov, you can turn off the nsplugin transition by executing setsebool -P allow_unconfined_nsplugin_transition 0 *** Bug 632992 has been marked as a duplicate of this bug. *** *** Bug 632991 has been marked as a duplicate of this bug. *** Konqueror ships a /usr/bin/nspluginscan tool which appears to invoke kdialog to display messages. (It's normally a tool which doesn't produce any output, but if there's an error, it fires up kdialog to show it. That said, it links kdeui among other things, so I'm not sure why it doesn't just use KMessageBox directly.) Well, actually, the 4.4.x version links kdeui, but that dependency may have been dropped in 4.5, using the external kdialog tool instead (to cut down on shared library dependencies). Seems nspluginscan from kde-4.5.1 still does link kdeui, fwiw. Well kdialog thinks it needs write access to a whole bunch of files, which I am sure it does not. drkonqi, entry.desktop, index.theme? Is it doing an access check on these files? Since this seems to be popping up all over, I'd venture there's some kde library call guilty here, not kdialog specifically. Kerberos libries like to do something like filecont.writable=access(PATH,W_OK) Which causes these types of AVCs. Yeah, basically, kdelibs does access checks of "the world", which is triggering all those AVCs. KConfig is used to parse all INI-style files in KDE (which includes .desktop, .theme etc. files), and KConfig always checks whether it can write to a config file or not. I think at least the access check AVCs in KConfig could be prevented by simply checking whether the path is in /usr/share and assuming the file to be non-writable in that case. It doesn't make sense to write to /usr/share, even if you're root. That should fix this and possibly a few other bugs. (It won't fix the issues with execute checks being done on some executables in some places though.) Well, actually this one is on /usr/libexec/kde4/drkonqi, that doesn't look like KConfig to me (and why is it a write check, I'd expect execute?). This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached 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, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. 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 |