Bug 179412

Summary: NetworkManager now in /usr/sbin
Product: [Fedora] Fedora Reporter: Dan Williams <dcbw>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-14 20:39:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Deal with relocation of NetworkManager none

Description Dan Williams 2006-01-31 04:24:49 UTC
Patch attached, not sure if anything else is needed.

Comment 1 Dan Williams 2006-01-31 04:24:49 UTC
Created attachment 123895 [details]
Deal with relocation of NetworkManager

Comment 2 Daniel Walsh 2006-01-31 15:04:10 UTC
This is fixed in Today's Rawhide.  The wpa stuff is badly broken with SELinux
though.

We need to talk about how this is supposed to work.

selinux-policy-targeted-2.2.9-1

Comment 3 Dan Williams 2006-01-31 15:12:23 UTC
I committed a patch last night to NM CVS to move the socket stuff to
/var/run/NetworkManager instead of /tmp.  I'll stick that in Rawhide sometime
this week (possibly today).  Will that fix the problem?


Comment 4 Daniel Walsh 2006-01-31 15:18:41 UTC
That will help, but /var/run/wpa_supplicant
directory seems to be created and removed by NetworkManager.  Is there a reason
it removes the directory or could we just remove the contents?

Comment 5 Dan Williams 2006-01-31 15:25:59 UTC
	/* HACK: should be fixed in wpa_supplicant.  Will likely
	 * require accomodations for selinux.
	 */
	unlink (WPA_SUPPLICANT_GLOBAL_SOCKET);
	sock_path = supplicant_get_device_socket_path (self);
	unlink (sock_path);
	g_free (sock_path);

Yeah, mainly because wpa_supplicant doesn't seem to remove it's own sockets,
which should likely be fixed there of course.  So lets let this one slide for
the moment while I investigate why wpa_supplicant doesn't do the right thing.

Comment 6 Daniel Walsh 2006-02-14 20:39:02 UTC
Seems to be working.

Fixed in selinux-policy-2.2.14-1