Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 944187 Details for
Bug 1145646
NM should allow admins in non-local sessions to control the network
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix broken polkit policy
Fix-broken-polkit-policy.patch (text/plain), 2.70 KB, created by
Stef Walter
on 2014-10-06 09:03:47 UTC
(
hide
)
Description:
Fix broken polkit policy
Filename:
MIME Type:
Creator:
Stef Walter
Created:
2014-10-06 09:03:47 UTC
Size:
2.70 KB
patch
obsolete
>From b86881f1f5557e3343ef531f7cb3cb045798543b Mon Sep 17 00:00:00 2001 >From: Stef Walter <stefw@redhat.com> >Date: Mon, 6 Oct 2014 10:35:05 +0200 >Subject: [PATCH] Fix broken polkit policy > >Resolves: rhbz#1145646 >--- > NetworkManager.spec | 7 ++++++- > non-local-session-polkit.patch | 29 +++++++++++++++++++++++++++++ > 2 files changed, 35 insertions(+), 1 deletion(-) > create mode 100644 non-local-session-polkit.patch > >diff --git a/NetworkManager.spec b/NetworkManager.spec >index cdaf227..8a13407 100644 >--- a/NetworkManager.spec >+++ b/NetworkManager.spec >@@ -13,7 +13,7 @@ > %define snapshot .git20140704 > %define git_sha 6eb82acd > %define realversion 0.9.10.0 >-%define release_version 6 >+%define release_version 7 > %define epoch_version 1 > > %define obsoletes_nmver 1:0.9.9.95-1 >@@ -78,6 +78,7 @@ Source2: 00-server.conf > Source3: 20-connectivity-fedora.conf > > Patch1: 0001-explain-dns1-dns2.patch >+Patch2: non-local-session-polkit.patch > > 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} > > %patch1 -p1 -b .0001.explain-dns1-dns2.orig >+%patch2 -p1 > > %build > >@@ -583,6 +585,9 @@ fi > %endif > > %changelog >+* Mon Oct 06 2014 Stef Walter <stefw@redhat.com> - 1:0.9.10.0-7.git20140704 >+- Fix incorrect polkit policy (rh #1145646) >+ > * Fri Sep 5 2014 JiÅà KlimeÅ¡ <jklimes@redhat.com> - 1:0.9.10.0-6.git20140704 > - connectivity: use HTTPS for connectivity checking (rh #113577) > >diff --git a/non-local-session-polkit.patch b/non-local-session-polkit.patch >new file mode 100644 >index 0000000..a812162 >--- /dev/null >+++ b/non-local-session-polkit.patch >@@ -0,0 +1,29 @@ >+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] Allow non-local admin sessions to control the network. >+ >+--- >+ 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> >+@@ -112,4 +113,3 @@ >+ </action> >+ >+ </policyconfig> >+- >+-- >+1.9.3 >+ >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1145646
:
944168
| 944187