Bug 628392
| Summary: | SELinux is preventing /bin/bash access to a leaked /bin/sh file descriptor. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jay Rothschild <j85952010> |
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:a6e7b95bfebd72f6412487b5a44008289b3e9f75a551bc335f62bb1ee3d30b01 | ||
| Fixed In Version: | selinux-policy-3.9.0-2.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-09-08 04:32:07 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
Jay Rothschild
2010-08-29 21:29:50 UTC
This is the second time I have seen this AVC. Looking at the code I do not know what rpcbind is trying to execute. I guess allowing it to execute bash is ok. Miroslav can you add this to F13 corecmd_exec_shell(rpcbind_t) Fixed in selinux-policy-3.9.0-2.fc14 selinux-policy-3.9.0-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.0-2.fc14 selinux-policy-3.9.0-2.fc14 has been pushed to the Fedora 14 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: https://admin.fedoraproject.org/updates/selinux-policy-3.9.0-2.fc14 I did yum update yesterday, today I reboot my F14 vm everything appeared "normal". SELinux message flashes in upper right corner for a moment, I ignore it. Shortly thereafter I go to Applications > System Tools > SELinux troubleshooter, icon spins for normal amount of time, then nothing. System > Administration > Services, icon spins for normal amount of time, then nothing. OK, I start a terminal session, & su - it: [root@bonk log]# sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: permissive Policy version: 24 Policy from config file: targeted [root@bonk log]# service setroubleshoot status setroubleshoot: unrecognized service [root@bonk log]# service auditd status auditd (pid 1230) is running... ntsysv shows no setroubleshoot [root@bonk log]# yum info setroubleshoot Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit Adding en_US to language list Found 12 installed debuginfo package(s) Enabling updates-testing-debuginfo: Fedora 14 - x86_64 - Test Updates Debug Enabling fedora-debuginfo: Fedora 14 - x86_64 - Debug Installed Packages Name : setroubleshoot Arch : x86_64 Version : 2.2.95 Release : 1.fc14 Size : 295 k Repo : installed From repo : updates-testing Summary : Helps troubleshoot SELinux problems URL : https://fedorahosted.org/setroubleshoot License : GPLv2+ Description : setroubleshoot gui. Application that allows you to view : setroubleshoot-server messages. : Provides tools to help diagnose SELinux problems. When AVC : messages are generated an alert can be generated that will give : information about the problem and help track its resolution. : Alerts can be configured to user preference. The same tools can be : run on existing log files. [root@bonk log]# cat messages | grep setroubleshoot Aug 31 13:17:41 bonk setroubleshoot: [dbus.ERROR] could not start dbus: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/sealert exited with status 127 Aug 31 13:21:40 bonk setroubleshoot: [dbus.ERROR] could not start dbus: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/sealert exited with status 127 Aug 31 13:30:28 bonk setroubleshoot: [dbus.ERROR] could not start dbus: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/sealert exited with status 127 Aug 31 13:30:51 bonk setroubleshoot: [dbus.ERROR] could not start dbus: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/sealert exited with status 127 Any ideas what I should do here? THANKS in advance for all your efforts, wow much appreciated! Why Microsoft lasts even one minute with a community like this amazes me. Could you execute ausearch -m avc -ts today Also can you ask for help on fedora-list or open a different bug. I decided to scratch this install and re-install. Things seem to be fine now. In my opinion SELinux needs to be set to permissive for at least your first yum update. Subsequent SELinux policy is fixed I think but the one that comes on the non-updated alpha stops some things from being written properly during yum update and that causes a downstream mess... THANKS! What you really are saying is the Alpha was screwed up with a bug that should have been caught. But it is an alpha. Hopefully we will do better in the Beta. No not at all, you are guys doing a fantastic job. I presumed this is exactly why we are doing this; to catch this stuff for the Beta. More my fault in not attaching the significance to the original event which was blossoming into a larger difficult to reverse issue. As I became more familiar with the product I realized how fast I could put it back to order and didn't want you wasting your time as the SELinux policy is fixed now and I'm sure the Beta won't have that issue. Hopefully I was of some limited aid in that process, which is why I do it. In the whole of my experience I've seen much slower progress with various products over the years sometimes at as much $500/hour. Microsoft can take as long as a year to turn over an issue like this. I would congratulate yourselves as the best and doing a fine job. THANKS! selinux-policy-3.9.0-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |