[Bug 346600] Re: fast-user-switch restart/shutdown dialogues do not always appear

Ted Gould ted at gould.cx
Mon Apr 6 13:59:01 UTC 2009


On Sun, 2009-04-05 at 15:32 +0000, Luka wrote:
> steps to reproduce:
> 1. open gnome-terminal
> 2. type: su $USER
> 3. select "Restart..." in fast-user-switch-applet
> --> computer immediately restarts without confirmation dialogue

Okay, so what I'm guessing what happens is that the code to detect
whether we need a PolicyKit prompt looks at the number of sessions that
exist.  It sees there are two, and then assumes that it's a multi-user
logout situation.  The reality is that since their the same user,
PolicyKit assumes you know what you're doing to you, and allows it to be
a single user logout.

The change needed is to make the multi-user check function look to see
if they're all the same user name or not.

Thanks!

-- 
fast-user-switch restart/shutdown dialogues do not always appear
https://bugs.launchpad.net/bugs/346600
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list