Bug 885432
Summary: | selinux prevents RHEV-M SSO plugin from accessing credentials channel created by ovirt/rhevm-guest-agent | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Vinzenz Feenstra [evilissimo] <vfeenstr> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.3 | CC: | cpelland, dwalsh, jbelka, michal.skrivanek, mmalik, pstehlik |
Target Milestone: | rc | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.7.19-188.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 08:33:02 UTC | Type: | Bug |
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: | 882239, 886210 |
Description
Vinzenz Feenstra [evilissimo]
2012-12-09 12:21:09 UTC
Please note that the package rhevm-guest-agent was previously known as rhev-agent. The package rhevm-guest-agent-gdm-plugin was previously known as rhev-agent-gdm-plugin-rhevcred. Correction: The problem occurs within the SSO PAM module - rhevm-guest-agent-pam-module (Previously known as rhev-agent-pam-rhev-cred) Additional note: The rhevm-guest-agent-kdm-plugin package is also affected by this. The workaround mentioned in comment#0 works for it as well. The problem is the ovirt-guest-agent service has not a policy. What does # ps -efZ |grep initrc system_u:system_r:initrc_t:s0 175 1747 1 0 09:08 ? 00:00:00 /usr/bin/python /usr/share/ovirt-guest-agent/ovirt-guest-agent.py -p /var/run/ovirt-guest-agent.pid -d system_u:system_r:initrc_t:s0 root 1790 1 0 09:08 ? 00:00:00 rhnsd unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 root 1998 1934 0 09:10 tty1 00:00:00 grep initrc OK, we need to backport changes from Fedora. You can test it for now using # chcon -t rhev_agentd_exec_t /usr/share/ovirt-guest-agent/ovirt-guest-agent.py Also please updat to the latest policy build. rhnsd deamon should be confined. Fixed in selinux-policy-3.7.19-186.el6 Little issue with guest agent pid file (selinux type), will check when BZ882239 is solved. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0314.html |