Wind River Support Network

HomeDefectsOVP-645
Fixed

OVP-645 : [OVP PHY2]Audit avc denied for shm and pts on DVD "Wind River Linux - OVP Dev 5.0.1.8"

Created: Oct 9, 2013    Updated: Mar 11, 2016
Resolved Date: Oct 28, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.9
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Problem Description
======================
Audit avc denied for shm and pts  on  DVD "Wind River Linux - OVP Dev
5.0.1.8"


Expected Behavior
======================
it works well

Observed Behavior
======================
None

Logs
======================
root@intel_5500_server:/# dmesg | grep 'avc:  denied'
type=1400 audit(1381309652.810:4): avc:  denied  { associate } for
pid=1596 comm="restorecon" name="shm" dev="devtmpfs" ino=15367
scontext=system_u:object_r:tmpfs_t:s0
tcontext=system_u:object_r:device_t:s0 tclass=filesystem
type=1400 audit(1381309652.833:5): avc:  denied  { associate } for
pid=1596 comm="restorecon" name="pts" dev="devtmpfs" ino=21
scontext=system_u:object_r:devpts_t:s0
tcontext=system_u:object_r:device_t:s0 tclass=filesystem
root@intel_5500_server:/# cat /proc/cmdline
console=ttyS0,115200 ip=dhcp root=/dev/sda3 rw
root@intel_5500_server:/# cat /proc/version
Linux version 3.4.62-ovp-ga-rt77-WR5.0.1.8_preempt-rt
(swang1@pek-lpgtest1) (gcc version 4.6.3 (Wind River Linux Sourcery
CodeBench 4.6a-116) ) #1 SMP PREEMPT RT Wed Oct 9 12:48:27 CST 2013
root@intel_5500_server:/#

Workaround

None

Steps to Reproduce

1.
/lpg-build/cdc/fast_prod/wrlinuxovp501/dvd_install/lv27_13sp/wrlinux-5/wrlinux/configure
--enable-board=intel-xeon-core --enable-rootfs=ovp-ovirt-node
--enable-addons=wr-ovp
--with-template=feature/openvswitch,feature/ovp-benchmark,feature/vxlan,feature/virtio,feature/target-toolchain,feature/benchmark
--enable-parallel-pkgbuilds=5 --enable-jobs=5 --with-rcpl-version=0008

2. make fs
Live chat
Online