Description of problem: SELinux is preventing /usr/sbin/ModemManager from 'getattr' accesses on the chr_file /dev/cdc-wdm2. ***** Plugin device (91.4 confidence) suggests **************************** If you want to allow ModemManager to have getattr access on the cdc-wdm2 chr_file Then sie müssen die Kennzeichnung von /dev/cdc-wdm2 auf einen Typ eines ähnlichen Elementes ändern Do # semanage fcontext -a -t SIMILAR_TYPE '/dev/cdc-wdm2' # restorecon -v '/dev/cdc-wdm2' ***** Plugin catchall (9.59 confidence) suggests ************************** If sie denken, dass es ModemManager standardmässig erlaubt sein sollte, getattr Zugriff auf cdc-wdm2 chr_file zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # grep pool /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:modemmanager_t:s0 Target Context system_u:object_r:device_t:s0 Target Objects /dev/cdc-wdm2 [ chr_file ] Source pool Source Path /usr/sbin/ModemManager Port <Unbekannt> Host (removed) Source RPM Packages ModemManager-1.1.0-2.git20130913.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-83.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.11.2-301.fc20.x86_64 #1 SMP Fri Sep 27 19:45:03 UTC 2013 x86_64 x86_64 Alert Count 26 First Seen 2013-09-27 23:15:44 CEST Last Seen 2013-10-02 16:49:58 CEST Local ID fd2450fc-b3bf-458e-ba40-8d32600f3780 Raw Audit Messages type=AVC msg=audit(1380725398.36:527): avc: denied { getattr } for pid=2684 comm="pool" path="/dev/cdc-wdm2" dev="devtmpfs" ino=28240 scontext=system_u:system_r:modemmanager_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=chr_file type=SYSCALL msg=audit(1380725398.36:527): arch=x86_64 syscall=lstat success=no exit=EACCES a0=1359f20 a1=7f2b71f6ebb0 a2=7f2b71f6ebb0 a3=0 items=0 ppid=1 pid=2684 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=pool exe=/usr/sbin/ModemManager subj=system_u:system_r:modemmanager_t:s0 key=(null) Hash: pool,modemmanager_t,device_t,chr_file,getattr Additional info: reporter: libreport-2.1.7 hashmarkername: setroubleshoot kernel: 3.11.2-301.fc20.x86_64 type: libreport
Ok we need to fix labeling. commit 746a480bcb17de5bed0216ec34cbc72f5cabb4be Author: Miroslav Grepl <mgrepl> Date: Thu Oct 10 16:51:51 2013 +0200 Update labeling for /dev/cdc-wdm
selinux-policy-3.12.1-90.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-90.fc20
Package selinux-policy-3.12.1-90.fc20: * should fix your issue, * was pushed to the Fedora 20 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.12.1-90.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-19129/selinux-policy-3.12.1-90.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-90.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.