Bug 486742

Summary: satellite install, selinux denials osa-dispatcher
Product: Red Hat Satellite 5 Reporter: wes hayutin <whayutin>
Component: InstallerAssignee: Jan Pazdziora <jpazdziora>
Status: CLOSED NOTABUG QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: bperkins, msuchy
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
URL: na
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-16 13:08:32 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: 457079    

Description wes hayutin 2009-02-21 16:35:13 UTC
Description of problem:

satellite install, selinux denials osa-dispatcher

Satellite-5.3.0-RHEL5-re20090220.1-i386-embedded-oracle.iso

clear audit log
install latest satellite iso
check audit log


type=AVC msg=audit(1235187502.664:399): avc:  denied  { read write } for  pid=9614 comm="osa-dispatcher" path="socket:[7018]" dev=sockfs ino=7018 scontext=root:system_r:osa
_dispatcher_t:s0 tcontext=system_u:system_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket
type=AVC msg=audit(1235187502.664:399): avc:  denied  { read write } for  pid=9614 comm="osa-dispatcher" path="socket:[7018]" dev=sockfs ino=7018 scontext=root:system_r:osa
_dispatcher_t:s0 tcontext=system_u:system_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket
type=AVC msg=audit(1235187502.664:399): avc:  denied  { read write } for  pid=9614 comm="osa-dispatcher" path="socket:[7020]" dev=sockfs ino=7020 scontext=root:system_r:osa
_dispatcher_t:s0 tcontext=system_u:system_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket

Comment 1 wes hayutin 2009-02-21 16:37:30 UTC

*** This bug has been marked as a duplicate of bug 484653 ***

Comment 2 Jan Pazdziora 2009-02-24 11:17:11 UTC
The AVC denials are completely different. Reopening.

Comment 3 Jan Pazdziora 2009-02-24 11:18:37 UTC
What did you do after that installation? After the installer said

* Deploying configuration files.
* Update configuration in database.
* Setting up Cobbler..
* Restarting services.
Installation complete.
Visit https://your-satellite.redhat.com to create the RHN Satellite
administrator account.

what other steps did you make?

Could it be that you are not running the installer on a terminal but from some automation thing, and it's that thing which causes the problem?

Comment 4 Jan Pazdziora 2009-02-24 11:30:39 UTC
Generally, these look like leaked descriptors from whatever automation tool you are using.

Please provide info about how exactly you run those installations.

Comment 5 wes hayutin 2009-02-25 02:36:52 UTC
Jan and I chatted.. the differences we are seeing may be caused by running the installer in a "screen" session.

Comment 6 Jan Pazdziora 2009-02-25 08:04:59 UTC
Wes confirmed that the installation was run under screen and that re-running the installation without screen does not generate the AVC denials. So currently it looks like leaked file descriptor in screen.

Comment 7 wes hayutin 2009-02-25 18:58:30 UTC
running w/ the correct version of screen did NOT produce this error..
I think we can close this.

Comment 8 wes hayutin 2009-03-16 13:08:32 UTC
closing