[Bug 819216] New: nm-applet is not authorized for networking control
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c0 Summary: nm-applet is not authorized for networking control Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: tcech@suse.com QAContact: qa-bugs@suse.de Found By: L3 Blocker: --- I use lightdm as login manager, Enlightenment 17 as window manager and NetworkManager applet for Gnome for controlling network including OpenConnect VPN. Problem I have is that sometimes I cannot control Network Manager at all because I'm not authorized. Please, ask which logs you need. NetworkManager logs didn't reveal anything useful as it seems to fail on DBUS message delivery... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c1 --- Comment #1 from Tomas Cech <tcech@suse.com> 2013-05-09 22:40:54 CEST --- Seems to be polkit issue: $ pkcheck --action-id org.freedesktop.ModemManager.Control --process $(pidof nm-applet) Not authorized. # rpm -qa '*polkit*' polkit-0.110-2.2.1.x86_64 polkit-gnome-0.105-5.1.2.x86_64 polkit-default-privs-12.3-6.15.1.noarch libpolkit0-0.110-2.2.1.x86_64 gconf-polkit-3.2.5-4.1.2.x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c Tomas Cech <tcech@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |bili@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c2 --- Comment #2 from Tomas Cech <tcech@suse.com> 2013-05-09 22:49:27 CEST --- ctrl+alt+backspace to kill X session and logging in again makes it working again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c3 --- Comment #3 from Li Bin <bili@suse.com> 2013-05-10 06:14:36 UTC --- I just install the E17, and found the nm-applet do not start automatically. I start the nm-applet in terminal, and it can't show in panel. $ nm-applet ** (nm-applet:1428): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ** Message: applet now removed from the notification area After that I check the permission. $ pkcheck --action-id org.freedesktop.ModemManager.Control --process $(pidof nm-applet) Authorization requires authentication and -u wasn't passed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c4 Tomas Cech <tcech@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #4 from Tomas Cech <tcech@suse.com> 2013-05-10 12:17:37 CEST --- Sorry, I don't know polkit technology... Yes, nm-applet is not started by default, it will be when openSUSE profile is finished (blocked by another bug). I also use polkit-gnome-authentication-agent since empower wasn't stable/usable enough. $ grep polkit .xinitrc .xinitrc~:/usr/lib/polkit-gnome-authentication-agent-1 & This way you can authenticate when you are asked for. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c5 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |tcech@suse.com --- Comment #5 from Li Bin <bili@suse.com> 2013-05-13 09:50:20 UTC --- (In reply to comment #4)
Sorry, I don't know polkit technology...
Yes, nm-applet is not started by default, it will be when openSUSE profile is finished (blocked by another bug).
I also use polkit-gnome-authentication-agent since empower wasn't stable/usable enough.
$ grep polkit .xinitrc .xinitrc~:/usr/lib/polkit-gnome-authentication-agent-1 &
This way you can authenticate when you are asked for.
In GNOME, there are /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop to start it automatically. Is there the autostart mechanism for E17? I just try to move /usr/lib/polkit-gnome-authentication-agent-1 away, it still works fine, so this one is not the real reason. Does the /usr/lib/polkit-1/polkitd start when system bootup? Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c6 --- Comment #6 from Li Bin <bili@suse.com> 2013-05-13 09:54:53 UTC --- tcech, And you should also check the /usr/share/polkit-1/actions/org.freedesktop.modem-manager.policy? Is it normal like others? Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c7 Tomas Cech <tcech@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|tcech@suse.com | --- Comment #7 from Tomas Cech <tcech@suse.com> 2013-05-13 11:59:52 CEST --- BinLi_PC, Yes, here is part of `ps faux' output: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ... root 2922 0.0 0.0 277572 1816 ? SLl kvě03 0:00 /usr/sbin/lightdm root 2926 1.8 0.4 256340 35668 tty7 Ss+ kvě03 265:18 \_ /usr/bin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch root 3089 0.0 0.0 163700 2020 ? Sl kvě03 0:00 \_ lightdm --session-child 12 19 tcech 3137 0.0 0.0 16012 680 ? Ss kvě03 0:00 \_ /usr/bin/enlightenment_start -locked tcech 3223 0.0 0.0 14424 532 ? Ss kvě03 0:16 \_ /usr/bin/gpg-agent --sh --daemon --write-env-file /home/tcech/.gnupg/agent.info /usr/bin/ssh-agent /home/tcech/.xinitrc tcech 3224 0.0 0.0 12464 456 ? Ss kvě03 0:02 \_ /usr/bin/ssh-agent /home/tcech/.xinitrc tcech 3228 0.0 0.0 0 0 ? Z kvě03 0:00 \_ [xauth] <defunct> tcech 3229 0.0 0.0 0 0 ? Z kvě03 0:00 \_ [xrandr] <defunct> tcech 3230 0.0 0.0 0 0 ? Z kvě03 0:00 \_ [setxkbmap] <defunct> tcech 3231 1.4 0.4 726472 36640 ? Sl kvě03 212:09 \_ /usr/bin/enlightenment -locked tcech 3293 0.0 0.0 107172 1996 ? SNs kvě03 0:06 \_ /usr/lib64/enlightenment/utils/enlightenment_fm tcech 4797 5.5 0.1 441824 8180 ? SNsl kvě03 794:12 \_ terminology tcech 4804 0.0 0.0 22520 1396 pts/7 SNs kvě03 0:00 | \_ /bin/bash tcech 4831 0.0 0.0 15776 700 pts/7 SN+ kvě03 0:00 | \_ /usr/bin/tmux -2 new -s e17 tcech 4929 0.6 0.0 441588 5188 ? SNsl kvě03 95:25 \_ terminology tcech 4936 0.0 0.0 22520 1428 pts/10 SNs+ kvě03 0:00 | \_ /bin/bash tcech 5006 0.0 0.3 845460 26904 ? SNsl kvě03 4:45 \_ gmpc tcech 14815 11.1 9.7 2249668 791824 ? SNsl kvě06 1147:45 \_ /usr/lib64/firefox/firefox tcech 25109 0.0 0.1 296384 13480 ? SNl 09:39 0:03 | \_ /usr/lib64/firefox/plugin-container /opt/google/talkplugin/libnpgoogletalk.so -greomni /usr/lib64/firefox/omni.ja -appdir /usr/lib64/firefox 14815 true plugin tcech 25137 0.5 0.4 472668 33608 ? SNl 09:39 0:45 | \_ /usr/lib64/firefox/plugin-container /usr/lib64/browser-plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.ja -appdir /usr/lib64/firefox 14815 true plugin tcech 9086 19.1 0.5 893412 41152 ? SNl 11:56 0:07 | \_ /usr/bin/emacs-gtk +1 /tmp/pentadactyl.txt tcech 9151 0.0 0.0 18108 1432 ? RNs 11:57 0:00 | \_ ps faux tcech 24427 0.0 0.1 846956 13852 ? SNsl kvě06 4:14 \_ stardict tcech 2689 0.2 0.1 506952 12680 ? SNsl kvě09 17:10 \_ terminology tcech 2697 0.0 0.0 22524 1552 pts/36 SNs kvě09 0:00 | \_ /bin/bash tcech 4877 0.0 0.0 45732 1748 pts/36 SN+ kvě09 0:00 | \_ /usr/bin/ssh root@ebola tcech 24077 0.4 0.3 441672 26564 ? SNsl 09:34 0:39 \_ terminology -n=Main TMUX -r=Main TMUX -B -M -e=/home/tcech/bin/main_tmux.sh tcech 24090 0.0 0.0 11948 1604 pts/14 SNs+ 09:34 0:00 \_ /bin/bash /home/tcech/bin/main_tmux.sh tcech 24100 0.0 0.0 15776 1048 pts/14 SN+ 09:34 0:00 \_ tmux -2 attach -dt main ... As I said, it only occurs sometimes - I'll check if polkitd didn't crash in that moment... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c8 --- Comment #8 from Tomas Cech <tcech@suse.com> 2013-05-13 12:03:08 CEST --- I'm sorry, that paste missed polkitd completely :) $ ps faux | grep polkitd polkitd 2945 0.0 0.0 378740 2724 ? Ssl kvě03 0:35 /usr/lib/polkit-1/polkitd --no-debug -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c9 --- Comment #9 from Li Bin <bili@suse.com> 2013-05-13 10:21:12 UTC --- (In reply to comment #8)
I'm sorry, that paste missed polkitd completely :)
$ ps faux | grep polkitd polkitd 2945 0.0 0.0 378740 2724 ? Ssl kvě03 0:35 /usr/lib/polkit-1/polkitd --no-debug
So could reproduce this issue when the polkitd is started? Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819216 https://bugzilla.novell.com/show_bug.cgi?id=819216#c11 Tomas Cech <tcech@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME --- Comment #11 from Tomas Cech <tcech@suse.com> 2013-06-18 05:16:34 CEST --- Problem with this bug is that I can't reproduce it reliably. I believe that polkitd was running but I'll check it next time I meet this problem. Since Bin Li is gone, I'll close it as WORKSFORME until I reproduce it again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com