Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 615114 Details for
Bug 849335
SELinux is preventing /usr/bin/boinc_client from 'getattr' accesses on the chr_file /dev/ttyACM0.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
SELinux log
selinux.log (text/plain), 2.93 KB, created by
Ladislav Nesnera
on 2012-09-20 20:29:07 UTC
(
hide
)
Description:
SELinux log
Filename:
MIME Type:
Creator:
Ladislav Nesnera
Created:
2012-09-20 20:29:07 UTC
Size:
2.93 KB
patch
obsolete
>SELinux is preventing /usr/bin/boinc_client from getattr access on the chr_file /dev/ttyACM0. > >***** Plugin restorecon (90.5 confidence) suggests ************************* > >If you want to fix the label. >/dev/ttyACM0 default label should be tty_device_t. >Then you can run restorecon. >Do ># /sbin/restorecon -v /dev/ttyACM0 > >***** Plugin device (9.50 confidence) suggests ***************************** > >If you want to allow boinc_client to have getattr access on the ttyACM0 chr_file >Then you need to change the label on /dev/ttyACM0 to a type of a similar device. >Do ># semanage fcontext -a -t SIMILAR_TYPE '/dev/ttyACM0' ># restorecon -v '/dev/ttyACM0' > >***** Plugin catchall (1.40 confidence) suggests *************************** > >If you believe that boinc_client should be allowed getattr access on the ttyACM0 chr_file 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 boinc_client /var/log/audit/audit.log | audit2allow -M mypol ># semodule -i mypol.pp > >Additional Information: >Source Context system_u:system_r:boinc_t:s0 >Target Context system_u:object_r:device_t:s0 >Target Objects /dev/ttyACM0 [ chr_file ] >Source boinc_client >Source Path /usr/bin/boinc_client >Port <Unknown> >Host (removed) >Source RPM Packages boinc-client-7.0.29-1.r25790svn.fc17.x86_64 >Target RPM Packages >Policy RPM selinux-policy-3.10.0-146.fc17.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Enforcing >Host Name (removed) >Platform Linux nb 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug 29 > 18:46:34 UTC 2012 x86_64 x86_64 >Alert Count 27 >First Seen 2012-09-18 13:12:34 CEST >Last Seen 2012-09-20 12:24:02 CEST >Local ID b49e6098-fc80-4a9b-aedf-eaea0555ab8b > >Raw Audit Messages >type=AVC msg=audit(1348136642.556:335): avc: denied { getattr } for pid=1062 comm="boinc_client" path="/dev/ttyACM0" dev="devtmpfs" ino=496714 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=chr_file > > >type=SYSCALL msg=audit(1348136642.556:335): arch=x86_64 syscall=stat success=no exit=EACCES a0=2249f68 a1=7fffe0a939b0 a2=7fffe0a939b0 a3=720160 items=0 ppid=1059 pid=1062 auid=4294967295 uid=995 gid=992 euid=995 suid=995 fsuid=995 egid=992 sgid=992 fsgid=992 tty=(none) ses=4294967295 comm=boinc_client exe=/usr/bin/boinc_client subj=system_u:system_r:boinc_t:s0 key=(null) > >Hash: boinc_client,boinc_t,device_t,chr_file,getattr > >audit2allow > >#============= boinc_t ============== >allow boinc_t device_t:chr_file getattr; > >audit2allow -R > >#============= boinc_t ============== >allow boinc_t device_t:chr_file getattr; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 849335
: 615114