Description of problem: 1) sudo dnf install Canna 2) sudo systemctl start canna.service (canna started) 3) sudo cannakill SELinux is preventing cannaserver from 'search' accesses on the directory /var/lib/sss. ***** Plugin catchall (100. confidence) suggests ************************** If cannaserver に、 sss directory の search アクセスがデフォルトで許可されるべきです。 Then バグとして報告してください。 ローカルのポリシーモジュールを生成すると、 このアクセスを許可することができます。 Do このアクセスを一時的に許可するには、以下を実行してください。 # grep cannaserver /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:canna_t:s0 Target Context system_u:object_r:sssd_var_lib_t:s0 Target Objects /var/lib/sss [ dir ] Source cannaserver Source Path cannaserver Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages sssd-common-1.12.2-4.fc21.x86_64 Policy RPM selinux-policy-3.13.1-103.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.17.7-300.fc21.x86_64 #1 SMP Wed Dec 17 03:08:44 UTC 2014 x86_64 x86_64 Alert Count 2 First Seen 2014-12-23 22:22:32 JST Last Seen 2014-12-23 22:22:32 JST Local ID a06a08c2-86fb-49b2-8bac-b74daa2cbd17 Raw Audit Messages type=AVC msg=audit(1419340952.361:534): avc: denied { search } for pid=3395 comm="cannaserver" name="sss" dev="dm-0" ino=1711662 scontext=system_u:system_r:canna_t:s0 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=dir permissive=0 Hash: cannaserver,canna_t,sssd_var_lib_t,dir,search Version-Release number of selected component: selinux-policy-3.13.1-103.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.17.7-300.fc21.x86_64 type: libreport
0e04862307f792862bf78790cbddde62741c4848 fixes this in git.
commit 37649a409cf3d85a7a9e03eb16ac7faf1ca3de5b Author: Dan Walsh <dwalsh> Date: Tue Dec 23 14:15:36 2014 -0500 Allow canna go call getpw*
selinux-policy-3.13.1-105.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-105.fc21
Package selinux-policy-3.13.1-105.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.13.1-105.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1337/selinux-policy-3.13.1-105.fc21 then log in and leave karma (feedback).
selinux-policy-3.13.1-105.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.