Bug 971769 - AVC denial would generate in audit.log when ssh into an app
Summary: AVC denial would generate in audit.log when ssh into an app
Keywords:
Status: CLOSED DUPLICATE of bug 966876
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers
Version: 1.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-07 08:52 UTC by Gaoyun Pei
Modified: 2017-03-08 17:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-07 12:26:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gaoyun Pei 2013-06-07 08:52:21 UTC
Description of problem:
When ssh into an app, avc denial would generate in audit.log

Version-Release number of selected component (if applicable):
http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.2/2013-06-06.1/
selinux-policy-targeted-3.7.19-195.el6_4.6.noarch
selinux-policy-3.7.19-195.el6_4.6.noarch


How reproducible:
Always

Steps to Reproduce:
1.Create an app and ssh into it, at the same time, monitor avc message on node


Actual results:
[root@node1 ~]# tailf /var/log/audit/audit.log|grep avc

type=AVC msg=audit(1370594282.953:117705): avc:  denied  { search } for  pid=3130 comm="sshd" name="cgroup" dev=dm-0 ino=5681 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cgroup_t:s0 tclass=dir
type=AVC msg=audit(1370594283.002:117706): avc:  denied  { getattr } for  pid=3255 comm="oo-namespace-in" path="/var/lib/openshift/51b192320f5b15a45d00007d/.env/CARTRIDGE_VERSION_2" dev=dm-0 ino=24925 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:openshift_var_lib_t:s0 tclass=file


Expected results:
No error message is seen

Additional info:

Comment 2 Jason DeTiberus 2013-06-07 12:26:46 UTC

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


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