Bug 1249413 - SELinux is preventing nm-dhcp-helper from 'connectto' accesses on the unix_stream_socket /run/NetworkManager/private-dhcp.
SELinux is preventing nm-dhcp-helper from 'connectto' accesses on the unix_st...
Status: CLOSED EOL
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
22
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
abrt_hash:6aa0ddbe5a4f66621e38ab81dcc...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-02 13:42 EDT by Francesco Frassinelli (frafra)
Modified: 2016-07-19 13:19 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-19 13:19:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Francesco Frassinelli (frafra) 2015-08-02 13:42:05 EDT
Description of problem:
# NetworkManager -l --log-level=DEBUG
# # Connect to wifi network
SELinux is preventing nm-dhcp-helper from 'connectto' accesses on the unix_stream_socket /run/NetworkManager/private-dhcp.

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

If si crede che nm-dhcp-helper dovrebbe avere possibilità di accesso connectto sui private-dhcp unix_stream_socket in modo predefinito.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per il momento eseguendo:
# grep nm-dhcp-helper /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                /run/NetworkManager/private-dhcp [
                              unix_stream_socket ]
Source                        nm-dhcp-helper
Source Path                   nm-dhcp-helper
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-128.6.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.2.0-0.rc4.git3.1.fc24.x86_64 #1
                              SMP Thu Jul 30 13:36:07 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-08-02 19:39:08 CEST
Last Seen                     2015-08-02 19:39:08 CEST
Local ID                      fad9cef8-a0f9-4db0-b40d-90ca08f0875a

Raw Audit Messages
type=AVC msg=audit(1438537148.367:546): avc:  denied  { connectto } for  pid=2870 comm="nm-dhcp-helper" path="/run/NetworkManager/private-dhcp" scontext=unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket permissive=0


Hash: nm-dhcp-helper,dhcpc_t,unconfined_t,unix_stream_socket,connectto

Version-Release number of selected component:
selinux-policy-3.13.1-128.6.fc22.noarch

Additional info:
reporter:       libreport-2.6.1
hashmarkername: setroubleshoot
kernel:         4.2.0-0.rc4.git3.1.fc24.x86_64
type:           libreport

Potential duplicate: bug 1015756
Comment 1 Fedora End Of Life 2016-07-19 13:19:32 EDT
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

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