Allow non-local users network control after PolicyKit authentication (rh #1145646)
This commit is contained in:
parent
8890459ab6
commit
92d4bfc879
@ -13,7 +13,7 @@
|
|||||||
%define snapshot .git20140704
|
%define snapshot .git20140704
|
||||||
%define git_sha 6eb82acd
|
%define git_sha 6eb82acd
|
||||||
%define realversion 0.9.10.0
|
%define realversion 0.9.10.0
|
||||||
%define release_version 6
|
%define release_version 7
|
||||||
%define epoch_version 1
|
%define epoch_version 1
|
||||||
|
|
||||||
%define obsoletes_nmver 1:0.9.9.95-1
|
%define obsoletes_nmver 1:0.9.9.95-1
|
||||||
@ -78,6 +78,7 @@ Source2: 00-server.conf
|
|||||||
Source3: 20-connectivity-fedora.conf
|
Source3: 20-connectivity-fedora.conf
|
||||||
|
|
||||||
Patch1: 0001-explain-dns1-dns2.patch
|
Patch1: 0001-explain-dns1-dns2.patch
|
||||||
|
Patch2: non-local-session-polkit.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -314,6 +315,7 @@ by nm-connection-editor and nm-applet in a non-graphical environment.
|
|||||||
%setup -q -n NetworkManager-%{realversion}
|
%setup -q -n NetworkManager-%{realversion}
|
||||||
|
|
||||||
%patch1 -p1 -b .0001.explain-dns1-dns2.orig
|
%patch1 -p1 -b .0001.explain-dns1-dns2.orig
|
||||||
|
%patch2 -p1 -b .non-local-session-polkit.orig
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -583,6 +585,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 06 2014 Stef Walter <stefw@redhat.com> - 1:0.9.10.0-7.git20140704
|
||||||
|
- Allow non-local users network control after PolicyKit authentication (rh #1145646)
|
||||||
|
|
||||||
* Fri Sep 5 2014 Jiří Klimeš <jklimes@redhat.com> - 1:0.9.10.0-6.git20140704
|
* Fri Sep 5 2014 Jiří Klimeš <jklimes@redhat.com> - 1:0.9.10.0-6.git20140704
|
||||||
- connectivity: use HTTPS for connectivity checking (rh #113577)
|
- connectivity: use HTTPS for connectivity checking (rh #113577)
|
||||||
|
|
||||||
|
24
non-local-session-polkit.patch
Normal file
24
non-local-session-polkit.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From f044ff186b433ef3debab7651adc06115809afc6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Marius Vollmer <mvollmer@redhat.com>
|
||||||
|
Date: Mon, 6 Oct 2014 11:16:03 +0300
|
||||||
|
Subject: [PATCH] policy: allow non-local admin sessions to control the network (rh #1145646)
|
||||||
|
|
||||||
|
---
|
||||||
|
policy/org.freedesktop.NetworkManager.policy.in.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/policy/org.freedesktop.NetworkManager.policy.in.in b/policy/org.freedesktop.NetworkManager.policy.in.in
|
||||||
|
index cb22999..e103cd9 100644
|
||||||
|
--- a/policy/org.freedesktop.NetworkManager.policy.in.in
|
||||||
|
+++ b/policy/org.freedesktop.NetworkManager.policy.in.in
|
||||||
|
@@ -58,6 +58,7 @@
|
||||||
|
<_description>Allow control of network connections</_description>
|
||||||
|
<_message>System policy prevents control of network connections</_message>
|
||||||
|
<defaults>
|
||||||
|
+ <allow_any>auth_admin</allow_any>
|
||||||
|
<allow_inactive>yes</allow_inactive>
|
||||||
|
<allow_active>yes</allow_active>
|
||||||
|
</defaults>
|
||||||
|
--
|
||||||
|
1.9.3
|
||||||
|
|
Loading…
Reference in New Issue
Block a user