Description of problem: I found this issue in these steps. 1) sudo dnf install Canna 2) sudo systemctl start canna.service 3) sudo cannakill SELinux is preventing cannaserver from 'read' accesses on the file /etc/passwd. ***** Plugin catchall (100. confidence) suggests ************************** If cannaserver に、 passwd file の read アクセスがデフォルトで許可されるべきです。 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:passwd_file_t:s0 Target Objects /etc/passwd [ file ] Source cannaserver Source Path cannaserver Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages setup-2.9.0-2.fc21.noarch 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 3 First Seen 2014-12-23 22:22:32 JST Last Seen 2014-12-23 22:29:35 JST Local ID 05bd30ef-540e-4182-93b5-6f7469c58a9f Raw Audit Messages type=AVC msg=audit(1419341375.741:569): avc: denied { read } for pid=3750 comm="cannaserver" name="passwd" dev="dm-0" ino=402545 scontext=system_u:system_r:canna_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file permissive=0 Hash: cannaserver,canna_t,passwd_file_t,file,read 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.