Description of problem: selinux-policy blocks motion access to v4l camera Version-Release number of selected component (if applicable): selinux-policy-3.14.1-32.fc28.noarch motion-4.1.1-4.fc28.x86_64 How reproducible: Always Steps to Reproduce: 1. use v4l usb camera for example ps3 eye 2. configure motion 3. start motion Actual results: access to camera is blocked Expected results: camera should be accessible for motion Additional info: type=AVC msg=audit(1528816280.009:425): avc: denied { map } for pid=14945 comm="ml1" path="/dev/video0" dev="devtmpfs" ino=18994 scontext=system_u:system_r:motion_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=0 type=MAC_STATUS msg=audit(1528816282.213:426): enforcing=0 old_enforcing=1 auid=1000 ses=6 type=USER_AVC msg=audit(1528816282.215:427): pid=774 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: received setenforce notice (enforcing=0) exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?' type=AVC msg=audit(1528816290.011:428): avc: denied { map } for pid=14945 comm="ml1" path="/dev/video0" dev="devtmpfs" ino=18994 scontext=system_u:system_r:motion_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
Also observing this on F27: selinux-policy.noarch 3.13.1-283.35.fc27 selinux-policy-targeted.noarch 3.13.1-283.35.fc27 motion.x86_64 4.1.1-1.fc27 Raw Audit Messages type=AVC msg=audit(1531083900.219:746): avc: denied { map } for pid=7339 comm="ml1" path="/dev/video0" dev="devtmpfs" ino=20595 scontext=system_u:system_r:motion_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=0
selinux-policy-3.14.1-36.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1050fb248b
selinux-policy-3.14.1-36.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1050fb248b
selinux-policy-3.14.1-36.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.