Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 650735

Summary: Installing Proxy with MonitoringScout Fails
Product: Red Hat Satellite Proxy 5 Reporter: Dimitar Yordanov <dyordano>
Component: InstallerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Dimitar Yordanov <dyordano>
Severity: medium Docs Contact:
Priority: medium    
Version: 540CC: cperry, mminar, slukasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-monitoring-selinux-1.7.2-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-21 09:08:08 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: 818988    
Attachments:
Description Flags
Test Results - Full Log
none
The Test Fail with different, more serious ERROR.
none
See "Third Attempt" in this Log. configure-proxy.sh - FAILs, rhn-proxy restart - FAILs. none

Comment 7 Michael Mráka 2012-07-27 10:15:50 UTC
Fixed in spacewalk master by
commit ea1ca68ce17c17610aea640ef880fa1fb2a75756
    650735 - set proper context for cgi scripts
    fixing
    Permission denied: exec of '/usr/share/nocpulse/cgi-bin/fetch_nocpulseini.cgi' faile
    
    type=AVC msg=audit(1343380485.974:3218): avc:  denied  { execute } for
    pid=13525 comm="httpd" name="fetch_nocpulseini.cgi" dev=dm-0 ino=2629496
    scontext=unconfined_u:system_r:httpd_t:s0
    tcontext=system_u:object_r:usr_t:s0 tclass=file

Comment 8 Michael Mráka 2012-07-27 12:06:30 UTC
Backported to SATELLITE-5.5 as
commit 6d88ed70c216243ba74fd69a84b6231aa0dbff50
    650735 - set proper context for cgi scripts

Comment 11 Michael Mráka 2012-08-02 09:06:45 UTC
I've forgotten to add '/usr/share/nocpulse/cgi-bin/ into spacewalk-monitoring-selinux-enable. Fixed in spacewalk master by
commit 5fd6a0282746e665e293d9673475dec17a590ede
    650735 - fix context of /usr/share/nocpulse/cgi-bin

Comment 12 Michael Mráka 2012-08-02 09:07:33 UTC
Backported to SATELLITE-5.5 as
commit 461572d0c37c12f11d00ab5f1807d5b51425b6e7
    650735 - fix context of /usr/share/nocpulse/cgi-bin

Comment 16 Clifford Perry 2012-09-21 09:08:08 UTC
This issue is resolved with the release of RHN Proxy 5.5. 

As of September 20th 2012, RHN Proxy 5.5 has been generally available. 

http://rhn.redhat.com/errata/RHEA-2012-1297.html

Regards,
Clifford
- Engineering Manager, Satellite