Re: 0.8.2: nm-connection-edit does not ask for authorization on system connections
- From: Dan Williams <dcbw redhat com>
- To: Andrey Borzenkov <arvidjaar gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: 0.8.2: nm-connection-edit does not ask for authorization on system connections
- Date: Fri, 19 Nov 2010 17:01:58 -0600
On Sun, 2010-11-14 at 10:49 +0300, Andrey Borzenkov wrote:
> Trying to use nm-connection-editor under KDE (it is SVN snapshot
> 4.5.76) to edit system connection results only in "Insufficient
> privileges". I am not asked for authentication.
Seems like a breakdown with PolicyKit stuff. Do you have a PolicyKit
agent for KDE installed, or do you have the Gtk PolicyKit agent
installed at all?
Nothing in NM itself has changed here WRT permissions requests; this is
all invisible to NetworkManager and to nm-connection-editor. The
requests to the graphical agent all happen inside PolicyKit. One more
thing to check though is what the default permissions for PolicyKit are
for the Modify permission. You could run this example:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/add-system-connection.py
and see what it prints out.
Dan
> The only output from n-c-e is
>
> {pts/0}% nm-connection-editor
>
> (nm-connection-editor:23585): Gtk-WARNING **: GtkSpinButton: setting
> an adjustment with non-zero page size is deprecated
>
> (nm-connection-editor:23585): Gtk-WARNING **: GtkSpinButton: setting
> an adjustment with non-zero page size is deprecated
>
> (nm-connection-editor:23585): Gtk-WARNING **: GtkSpinButton: setting
> an adjustment with non-zero page size is deprecated
>
> (nm-connection-editor:23585): Gtk-WARNING **: GtkSpinButton: setting
> an adjustment with non-zero page size is deprecated
>
> ** (nm-connection-editor:23585): WARNING **: dispose: CEPolkitButton
> object 0x14f6b40 disposed twice
>
>
> This definitely worked in the past with earlier NM/KDE versions.
>
> Just asking for debugging tips, in the first place - any possibility
> to get log of ehat exactly happens (i.e. - n-c-e does not make any
> request, NM does not make any request, ...)
>
> TIA
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]