Description of problem: I edited /etc/postfix/canonical_sender and then ran "sudo postmap /etc/postfix/canonical_sender" and restarted postfix. SELinux is preventing postmap from read, write access on the chr_file /dev/pts/6. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that postmap should be allowed read write access on the 6 chr_file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'postmap' --raw | audit2allow -M my-postmap # semodule -X 300 -i my-postmap.pp Additional Information: Source Context staff_u:sysadm_r:postfix_map_t:s0-s0:c0.c1023 Target Context staff_u:object_r:user_devpts_t:s0 Target Objects /dev/pts/6 [ chr_file ] Source postmap Source Path postmap Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.26.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.15.7-300.fc27.x86_64 #1 SMP Wed Feb 28 17:53:39 UTC 2018 x86_64 x86_64 Alert Count 4 First Seen 2018-03-28 15:11:01 AEDT Last Seen 2018-03-28 15:11:01 AEDT Local ID e9abb69a-5bf9-4dfe-ba4e-09830b886793 Raw Audit Messages type=AVC msg=audit(1522210261.394:422): avc: denied { read write } for pid=14005 comm="postmap" path="/dev/pts/6" dev="devpts" ino=9 scontext=staff_u:sysadm_r:postfix_map_t:s0-s0:c0.c1023 tcontext=staff_u:object_r:user_devpts_t:s0 tclass=chr_file permissive=0 Hash: postmap,postfix_map_t,user_devpts_t,chr_file,read,write Version-Release number of selected component: selinux-policy-3.13.1-283.26.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.15.7-300.fc27.x86_64 type: libreport
selinux-policy-3.13.1-283.30.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3791c3118
selinux-policy-3.13.1-283.30.fc27 has been pushed to the Fedora 27 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-b3791c3118
selinux-policy-3.13.1-283.30.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.