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 606024 Details for
Bug 850537
SELinux is preventing /usr/sbin/smbd from 'read' accesses on the file smbd.pid.
[?]
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.
File: description
description (text/plain), 2.72 KB, created by
Štefan Gurský
on 2012-08-21 19:10:36 UTC
(
hide
)
Description:
File: description
Filename:
MIME Type:
Creator:
Štefan Gurský
Created:
2012-08-21 19:10:36 UTC
Size:
2.72 KB
patch
obsolete
>SELinux is preventing /usr/sbin/smbd from 'read' accesses on the file smbd.pid. > >***** Plugin samba_share (98.5 confidence) suggests ************************ > >If you want to allow smbd to have read access on the smbd.pid file >Then you need to change the label on 'smbd.pid' >Do ># semanage fcontext -a -t samba_share_t 'smbd.pid' ># restorecon -v 'smbd.pid' > >***** Plugin catchall (2.42 confidence) suggests *************************** > >If you believe that smbd should be allowed read access on the smbd.pid 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 smbd /var/log/audit/audit.log | audit2allow -M mypol ># semodule -i mypol.pp > >Additional Information: >Source Context system_u:system_r:smbd_t:s0 >Target Context unconfined_u:object_r:var_run_t:s0 >Target Objects smbd.pid [ file ] >Source smbd >Source Path /usr/sbin/smbd >Port <Neznáme> >Host (removed) >Source RPM Packages samba-3.6.6-92.fc17.1.x86_64 >Target RPM Packages >Policy RPM selinux-policy-3.10.0-145.fc17.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Enforcing >Host Name (removed) >Platform Linux (removed) 3.5.2-1.fc17.x86_64 #1 SMP Wed Aug > 15 16:09:27 UTC 2012 x86_64 x86_64 >Alert Count 1 >First Seen 2012-08-21 21:09:15 CEST >Last Seen 2012-08-21 21:09:15 CEST >Local ID 1c83ae6f-e85f-4d4b-b8a5-6e86884777e1 > >Raw Audit Messages >type=AVC msg=audit(1345576155.595:603): avc: denied { read } for pid=32477 comm="smbd" name="smbd.pid" dev="tmpfs" ino=397272 scontext=system_u:system_r:smbd_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file > > >type=SYSCALL msg=audit(1345576155.595:603): arch=x86_64 syscall=open success=no exit=EACCES a0=7fcc16b42690 a1=800 a2=1a4 a3=e items=0 ppid=32476 pid=32477 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=smbd exe=/usr/sbin/smbd subj=system_u:system_r:smbd_t:s0 key=(null) > >Hash: smbd,smbd_t,var_run_t,file,read > >audit2allow > >#============= smbd_t ============== >#!!!! This avc can be allowed using one of the these booleans: ># samba_export_all_ro, samba_export_all_rw > >allow smbd_t var_run_t:file read; > >audit2allow -R > >#============= smbd_t ============== >#!!!! This avc can be allowed using one of the these booleans: ># samba_export_all_ro, samba_export_all_rw > >allow smbd_t var_run_t:file read; >
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 850537
:
606022
|
606023
| 606024