Bug 160668 - Latest NetworkManager in Rawhide fails with an SELinux error
Latest NetworkManager in Rawhide fails with an SELinux error
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-06-16 10:44 EDT by Ryan Skadberg
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-19 14:56:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ryan Skadberg 2005-06-16 10:44:40 EDT
Getting this with NetworkManager-0.4-30.cvs20050615:

Jun 16 10:35:45 codewarrior NetworkManager: <WARNING>     (): Could not activate
the DHCP daemon /sbin/dhcdbd.  error: 'Failed to execute child process
"/sbin/dhcdbd" (Permission denied)'.
Jun 16 10:35:45 codewarrior kernel: audit(1118932545.701:1198): avc:  denied  {
execute } for  pid=6880 comm="NetworkManager" name=dhcdbd dev=dm-0 ino=2806785
scontext=system_u:system_r:NetworkManager_t tcontext=system_u:object_r:sbin_t

I tried doing an autorelabel and that didn't help.
Comment 1 Ryan Skadberg 2005-06-17 12:08:18 EDT
This seems to have gone away with the next update, but now I get this when it
tries to DHCP:

Jun 17 12:00:30 codewarrior dbus: avc:  denied  { send_msg } for
msgtype=method_call interface=com.redhat.dhcp member=up dest=com.redhat.dhcp
spid=3208 tpid=3260 scontext=root:system_r:NetworkManager_t
tcontext=root:system_r:NetworkManager_t tclass=dbus
Comment 2 Dan Williams 2005-06-17 12:32:29 EDT
dwalsh: this looks correct and should be allowed... 
Comment 3 Daniel Walsh 2005-06-17 22:00:53 EDT
Fixed in  policy 1.23.18-12
Comment 4 Ryan Skadberg 2005-06-19 14:56:31 EDT
Closing, works with latest Rawhide.  Thanks!

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