Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2012180 - Selinux: ruby avc denied message
Summary: Selinux: ruby avc denied message
Keywords:
Status: CLOSED DUPLICATE of bug 1971051
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: SELinux
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-08 14:13 UTC by Stephen Wadeley
Modified: 2021-10-12 07:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-12 07:09:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stephen Wadeley 2021-10-08 14:13:42 UTC
Description of problem:

On a 6.9.7-1.0 SatLab provided test VM:

type=PROCTITLE msg=audit(1633476292.439:327): proctitle=70756D613A20636C757374657220776F726B657220323A2031313530205B666F72656D616E5D
type=SYSCALL msg=audit(1633476292.439:327): arch=c000003e syscall=4 success=no exit=-13 a0=14052f60 a1=7fb7099a6620 a2=7fb7099a6620 a3=1 items=0 ppid=1150 pid=2801 auid=4294967295 uid=995 gid=993 euid=995 suid=995 fsuid=995 egid=993 sgid=993 fsgid=993 tty=(none) ses=4294967295 comm="diagnostic_con*" exe="/opt/rh/rh-ruby25/root/usr/bin/ruby" subj=system_u:system_r:foreman_rails_t:s0 key=(null)
type=AVC msg=audit(1633476292.439:327): avc:  denied  { search } for  pid=2801 comm="diagnostic_con*" name="system" dev="vda1" ino=593896 scontext=system_u:system_r:foreman_rails_t:s0 tcontext=system_u:object_r:systemd_unit_file_t:s0 tclass=dir permissive=0


Version-Release number of selected component (if applicable):
6.9.7-1.0

How reproducible:


Steps to Reproduce:
1. get SatLab test VM
2. ausearch -m AVC,USER_AVC
3. Sync some repos
4. ausearch -m AVC,USER_AVC

Actual results:

 avc:  denied  { search } for  pid=2801 comm="diagnostic_con*" name="system" dev="vda1" ino=593896 scontext=system_u:system_r:foreman_rails_t:s0 tcontext=system_u:object_r:systemd_unit_file_t:s0 tclass=dir permissive=0

Expected results:

No AVCs

Additional info:

Found while testing: https://bugzilla.redhat.com/show_bug.cgi?id=2007357

Comment 1 Lukas Zapletal 2021-10-12 07:09:35 UTC

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


Note You need to log in before you can comment on or make changes to this bug.