Description of problem: Printing from libreoffice to a (USB connected) cups printer SELinux is preventing /opt/brother/Printers/dcpj552dw/cupswrapper/brcupsconfpt1 from using the 'execmem' accesses on a process. ***** Plugin catchall_boolean (89.3 confidence) suggests ****************** If you want to allow cups to execmem Then you must tell SELinux about this by enabling the 'cups_execmem' boolean. You can read 'None' man page for more details. Do setsebool -P cups_execmem 1 ***** Plugin catchall (11.6 confidence) suggests ************************** If you believe that brcupsconfpt1 should be allowed execmem access on processes labeled cupsd_t 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: # grep brcupsconfpt1 /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Objects Unknown [ process ] Source brcupsconfpt1 Source Path /opt/brother/Printers/dcpj552dw/cupswrapper/brcups confpt1 Port <Unknown> Host (removed) Source RPM Packages dcpj552dwlpr-3.0.0-1.i386 Target RPM Packages Policy RPM selinux-policy-3.13.1-128.12.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.1.6-200.fc22.x86_64 #1 SMP Mon Aug 17 19:54:31 UTC 2015 x86_64 x86_64 Alert Count 8 First Seen 2015-08-30 15:04:19 CEST Last Seen 2015-08-30 15:14:16 CEST Local ID a1fac2bd-0192-4e80-a64a-a8aced16fa90 Raw Audit Messages type=AVC msg=audit(1440940456.917:526): avc: denied { execmem } for pid=3070 comm="brdcpj552dwfilt" scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tclass=process permissive=0 type=SYSCALL msg=audit(1440940456.917:526): arch=x86_64 syscall=execve per=400000 success=no exit=EACCES a0=562d16294f20 a1=562d162936c0 a2=562d162952f0 a3=8 items=0 ppid=3056 pid=3070 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm=brdcpj552dwfilt exe=/opt/brother/Printers/dcpj552dw/lpd/brdcpj552dwfilter subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) Hash: brcupsconfpt1,cupsd_t,cupsd_t,process,execmem Version-Release number of selected component: selinux-policy-3.13.1-128.12.fc22.noarch Additional info: reporter: libreport-2.6.2 hashmarkername: setroubleshoot kernel: 4.1.6-200.fc22.x86_64 type: libreport
***** Plugin catchall_boolean (89.3 confidence) suggests ****************** If you want to allow cups to execmem Then you must tell SELinux about this by enabling the 'cups_execmem' boolean. You can read 'None' man page for more details. Do setsebool -P cups_execmem 1
Description of problem: Trying to print an image from eog. Version-Release number of selected component: selinux-policy-3.13.1-128.12.fc22.noarch Additional info: reporter: libreport-2.6.2 hashmarkername: setroubleshoot kernel: 4.1.6-200.fc22.x86_64 type: libreport
Yajo, please read comment 1. Thank you.
Sorry, it was ABRT. Thanks.
Description of problem: Initial installation of RPM packages from Brother allowed the printer to print. Updates to selinux in the last 6 - 8 weeks(?) result in selinux stopping CUPS from printing a test page from CUPs administration (localhost:631) Version-Release number of selected component: selinux-policy-3.13.1-128.13.fc22.noarch Additional info: reporter: libreport-2.6.2 hashmarkername: setroubleshoot kernel: 4.1.8-200.fc22.i686+PAE type: libreport
Description of problem: Only needed to runSELinux Troubleshooter and was there. Version-Release number of selected component: selinux-policy-3.13.1-128.10.fc22.noarch Additional info: reporter: libreport-2.6.2 hashmarkername: setroubleshoot kernel: 4.1.10-200.fc22.x86_64 type: libreport