Bug 1386933 - SELinux is preventing nmbd from using the 'net_admin' capabilities.
Summary: SELinux is preventing nmbd from using the 'net_admin' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 1304072
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:354974a907a8b45b4f3ab199210...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-19 21:21 UTC by Juan Orti
Modified: 2016-11-07 21:37 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-07 21:37:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juan Orti 2016-10-19 21:21:30 UTC
Description of problem:
SELinux is preventing nmbd from using the 'net_admin' capabilities.

*****  Plugin catchall (100. confidence) suggests   **************************

If cree que nmbd debería tener la capacidad net_admin de forma predeterminada.
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
allow this access for now by executing:
# ausearch -c 'nmbd' --raw | audit2allow -M my-nmbd
# semodule -X 300 -i my-nmbd.pp

Additional Information:
Source Context                system_u:system_r:nmbd_t:s0
Target Context                system_u:system_r:nmbd_t:s0
Target Objects                Unknown [ capability ]
Source                        nmbd
Source Path                   nmbd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-219.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.1-1.fc25.x86_64 #1 SMP Fri Oct
                              7 14:38:22 UTC 2016 x86_64 x86_64
Alert Count                   91
First Seen                    2016-10-13 19:54:20 CEST
Last Seen                     2016-10-19 21:16:12 CEST
Local ID                      129edc45-8659-4c55-a4ab-79a2d3d2834e

Raw Audit Messages
type=AVC msg=audit(1476904572.901:230): avc:  denied  { net_admin } for  pid=1386 comm="nmbd" capability=12  scontext=system_u:system_r:nmbd_t:s0 tcontext=system_u:system_r:nmbd_t:s0 tclass=capability permissive=0


Hash: nmbd,nmbd_t,nmbd_t,capability,net_admin

Version-Release number of selected component:
selinux-policy-3.13.1-219.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.1-1.fc25.x86_64
type:           libreport

Potential duplicate: bug 1341722

Comment 1 Lukas Vrabec 2016-11-07 21:37:53 UTC

*** This bug has been marked as a duplicate of bug 1304072 ***


Note You need to log in before you can comment on or make changes to this bug.