Description of problem: Sent the form to printer from Firefox SELinux is preventing hpps from 'create' accesses on the file cups.cpython-34.pyc.140115014816312. ***** Plugin catchall_labels (83.8 confidence) suggests ******************* If you want to allow hpps to have create access on the cups.cpython-34.pyc.140115014816312 file Then необходимо изменить метку на cups.cpython-34.pyc.140115014816312 Do # semanage fcontext -a -t FILE_TYPE 'cups.cpython-34.pyc.140115014816312' где FILE_TYPE может принимать значения: cupsd_interface_t, cupsd_lock_t, cupsd_log_t, cupsd_rw_etc_t, cupsd_tmp_t, cupsd_var_lib_t, cupsd_var_run_t, krb5_host_rcache_t, print_spool_t. Затем выполните: restorecon -v 'cups.cpython-34.pyc.140115014816312' ***** Plugin catchall (17.1 confidence) suggests ************************** If вы считаете, что hpps следует разрешить доступ create к cups.cpython-34.pyc.140115014816312 file по умолчанию. Then рекомендуется создать отчет об ошибке. Чтобы разрешить доступ, можно создать локальный модуль политики. Do чтобы разрешить доступ, выполните: # grep hpps /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:object_r:usr_t:s0 Target Objects cups.cpython-34.pyc.140115014816312 [ file ] Source hpps Source Path hpps Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-155.fc23.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.2.6-301.fc23.x86_64 #1 SMP Fri Nov 20 22:22:41 UTC 2015 x86_64 x86_64 Alert Count 10 First Seen 2015-12-10 10:46:00 YEKT Last Seen 2015-12-10 14:30:16 YEKT Local ID 4186d61b-89b6-4b87-b419-b3965ebb7186 Raw Audit Messages type=AVC msg=audit(1449739816.823:643): avc: denied { create } for pid=14287 comm="hpps" name="cups.cpython-34.pyc.140115014816312" scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=0 Hash: hpps,cupsd_t,usr_t,file,create Version-Release number of selected component: selinux-policy-3.13.1-155.fc23.noarch Additional info: reporter: libreport-2.6.3 hashmarkername: setroubleshoot kernel: 4.2.6-301.fc23.x86_64 type: libreport Potential duplicate: bug 1241548
Where is cups.cpython-34.pyc.140115014816312 located? Try to execute # restorecon -R -v /usr/share/cups to see if it helps.
*** This bug has been marked as a duplicate of bug 1241548 ***