[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-18 Thread Milan Bouchet-Valat
OK, thanks. There doesn't seem to be anything strange happening, but one of the two processes should have reported an error if it wasn't able to contact the other. I've reported the bug upstream so that they can suggest what's going wrong. Just to be sure: after the last test, nothing related to D

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-18 Thread Per Ångström
** Attachment removed: "polkitd.log" http://launchpadlibrarian.net/41160712/polkitd.log -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
** Attachment added: "polkitd.log" http://launchpadlibrarian.net/41204721/polkitd.log -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
OK, a new day has begun. In my last attempt, I accidentally used sudo to start the polkit-gnome-manager. p...@barbaren:~$ sudo /usr/lib/policykit-1/polkitd > polkitd.log p...@barbaren:~$ /usr/lib/policykit-gnome/polkit-gnome-manager --no-exit (polkit-gnome-manager:1987): PolicyKitGnome

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Milan Bouchet-Valat
Still not... ;-) PID 2544 seems to be that of a process owned by root. So PolicyKit is denying access. You should try with a process owned by your user account. Other logs seem fine. ** This bug is no longer a duplicate of bug 540464 polkitd crashed with SIGSEGV in egg_dbus_method_invocation_r

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
*** This bug is a duplicate of bug 540464 *** https://bugs.launchpad.net/bugs/540464 p...@barbaren:~$ cat polkitd.log Registering null backend at priority -10 ** (process:3542): DEBUG: Added `/var/lib/polkit-1/localauthority/10-vendor.d' as a local authorization store ** (process:3542): DEBU

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
*** This bug is a duplicate of bug 540464 *** https://bugs.launchpad.net/bugs/540464 Sorry for the confusion. OK, a new try: p...@barbaren:~$ sudo /usr/lib/policykit-gnome/polkit-gnome-manager --no-exit (polkit-gnome-manager:3544): PolicyKitGnome-DEBUG: Starting PolicyKit GNOME session daem

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Milan Bouchet-Valat
*** This bug is a duplicate of bug 540464 *** https://bugs.launchpad.net/bugs/540464 Ah... So try to get the same logs with a correct PID, and if no crash occurs, we'll continue leaving the crash report alone. -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpa

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
*** This bug is a duplicate of bug 540464 *** https://bugs.launchpad.net/bugs/540464 Mind you, this was the first occurrence of a polkitd crash in the logs. -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
*** This bug is a duplicate of bug 540464 *** https://bugs.launchpad.net/bugs/540464 Actually, I think the crash was due to my passing an invalid pid to pkcheck. So I think that's a red herring. -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/5402

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Milan Bouchet-Valat
*** This bug is a duplicate of bug 540464 *** https://bugs.launchpad.net/bugs/540464 ..as a duplicate of the other report. ** This bug has been marked a duplicate of bug 540464 polkitd crashed with SIGSEGV in egg_dbus_method_invocation_return_gerror() -- [users-admin] no authorization di

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Milan Bouchet-Valat
*** This bug is a duplicate of bug 540464 *** https://bugs.launchpad.net/bugs/540464 Well, we can't continue debugging using these logs if polkitd crashed during the process. I strongly suspect the whole issue comes from the fact that polkitd dies everytime you try to authenticate, which means

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
I let Apport report bug #540464 regarding the polkitd crash. ** Changed in: policykit-1-gnome (Ubuntu) Status: Incomplete => New -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
/var/log/messages: Mar 17 20:30:52 barbaren kernel: [ 533.984596] __ratelimit: 18 callbacks suppressed Mar 17 20:30:52 barbaren kernel: [ 533.984607] polkitd[2080]: segfault at 0 ip 7fb76001f054 sp 7fffa6e11250 error 4 in libeggdbus-1.so.0.0.0[7fb75fff4000+43000] -- [users-admin] no

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
Nothing relevant in /var/log/auth.d. -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubunt

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
** Attachment added: "polkitd.log" http://launchpadlibrarian.net/41160712/polkitd.log -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
p...@barbaren:~$ (/usr/lib/policykit-gnome/polkit-gnome-manager --no-exit | tee polkit.log )& [2] 2082 p...@barbaren:~$ (polkit-gnome-manager:2083): PolicyKitGnome-WARNING **: Failed to acquire org.gnome.PolicyKit (polkit-gnome-manager:2083): PolicyKitGnome-WARNING **: Could not acquire name; b

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Milan Bouchet-Valat
Forget about users-admin. It doesn't communicate directly with the agent, but talks to system-tools-backends, which calls polkitd, which in turn triggers the agent to perform an authentication. Anyway, use the second pkcheck command, that's safer. I'd suggest: sudo killall /usr/lib/policykit-1/pol

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
Running strace on the /usr/lib/policykit-1/polkitd process shows a lot of activity when I press the Add button. ** Attachment added: "polkit-d-strace.log" http://launchpadlibrarian.net/41154622/polkit-d-strace.log -- [users-admin] no authorization dialog, unable to add user https://bugs.launc

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
** Changed in: policykit-1-gnome (Ubuntu) Status: Incomplete => New -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bug

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
Running strace on polkit-gnome-manager shows that users-admin does not communicate with the manager when I press the Add button. -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member of Ubunt

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
Even if I start /usr/lib/policykit-gnome/polkit-gnome-manager I don't get the authorization dialog. p...@barbaren:~$ ls -l /usr/share/dbus-1/services/gnome-org.freedesktop.PolicyKit.AuthenticationAgent.service -rw-r--r-- 1 root root 118 2010-03-03 10:28 /usr/share/dbus-1/services/gnome-org.freed

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Milan Bouchet-Valat
OK, you have a PolicyKit problem: you just need to have an authentication agent running. That's why it works in KDE and not in GNOME. Start /usr/lib/policykit-gnome/polkit-gnome-manager in the background, and everything will be fine. Now we need to find out why this daemon is not running automatic

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
p...@barbaren:~$ users-admin & [1] 3254 p...@barbaren:~$ pkcheck --allow-user-interaction --process 3254 --action-id org.freedesktop.systemtoolsbackends.self.set p...@barbaren:~$ echo $? 0 p...@barbaren:~$ pkcheck --allow-user-interaction --process 3254 --action-id org.freedesktop.systemtoolsback

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Milan Bouchet-Valat
If you can't authenticate from time-admin either, there must be a problem with PolicyKit. Please run pkcheck --allow-user-interaction --process PID --action-id org.freedesktop.systemtoolsbackends.self.set and pkcheck --allow-user-interaction --process PID --action-id org.freedesktop.systemtoolsb

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
For my own account I can only change the name and the password; I cannot change the account type. I cannot change anything on other accounts. ** Changed in: gnome-system-tools (Ubuntu) Status: Incomplete => New -- [users-admin] no authorization dialog, unable to add user https://bugs.laun

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
Logs from an unsuccessful users-admin session added. ** Attachment added: "stb-users.log" http://launchpadlibrarian.net/41138218/stb-users.log -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
** Attachment added: "users-admin.log" http://launchpadlibrarian.net/41138159/users-admin.log -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
time-admin privilege escalation not working either. -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Milan Bouchet-Valat
Thanks for the report. The warning you see on start is likely to come from a bug on 64 bit machines, but it shouldn't be related with your problem. Are you able to change a user account type, or its name? Please check this for a user different than the current one, as it won't work because of the

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
When running under KDE, I get the same warning, but the line number is different: (users-admin:3262): Liboobs-WARNING **: There was an unknown error communicating asynchronously with the backends: Malformed message was sent -- [users-admin] no authorization dialog, unable to add user https://bug

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
While users-admin doesn't work under Gnome, it actually works as expected when running under KDE. -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
On the same system, privilege escalation works fine in Update Manager. ** Description changed: Binary package hint: gnome-system-tools When I click the Add button in User Settings, nothing happens, I'm not even presented with an authorization dialog. The only error indication I can fin

[Bug 540247] Re: [users-admin] no authorization dialog, unable to add user

2010-03-17 Thread Per Ångström
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/41122162/Dependencies.txt ** Attachment added: "ProcEnviron.txt" http://launchpadlibrarian.net/41122163/ProcEnviron.txt -- [users-admin] no authorization dialog, unable to add user https://bugs.launchpad.net/bugs/540247