Bug 530456
Summary: | authentication dialogue sometimes appears from kpackagekit, is unresponsive | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Oliver Henshaw <oliver.henshaw> | ||||
Component: | polkit-kde | Assignee: | Jaroslav Reznik <jreznik> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | balajig81, davidz, jreznik, kevin, ltinkl, rdieter, richard, rnovacek, smparrish, than | ||||
Target Milestone: | --- | Keywords: | Reopened, Triaged | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-08-16 21:58:48 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Oliver Henshaw
2009-10-22 21:10:51 UTC
Created attachment 365785 [details]
authentication dialogue screenshot
This has been resolved in the official 0.5.0.1 release -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers I still see this on the beta livecd, even with updates. I updated to polkit-0.95-0.git20090913.3.fc12.i686 and kpackagekit-0.5.0.1-1.fc12.i686 and logged out and back in, and was still able to get the authentication dialogue after installing a couple of packages. Unless this needs a reboot to take, in which case I would have to test with a newer snapshot. Can you be more specific as to what exactly is wrong with the dialog. You are supposed to get it when using kpackagkit as Packagekit is now using policykit for authorizations. -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers The problem is that the Authenticate and Cancel buttons on the dialogue are completely unresponsive - it's impossible to dismiss the dialogue with either of them. If I move the dialogue away and cancel the kpackagekit window that says it is waiting for authorisation, then the dialogue disappears and the transaction is canceled. I've just discovered that if I click the x to close the dialogue box, then it disappears and the transaction completes. Maybe 0.5.0.2 fixes it? From kde-apps: 0.5.0.2 - Fix forgot to declare some slots 0.5.0.2 has been built http://koji.fedoraproject.org/koji/taskinfo?taskID=1767310 try and and let me know if that resolves the issue. -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers I can still reproduce this with 0.5.0.2. Have you been able to confirm this with the beta live iso (with or without updates) or otherwise? I personally cannot reproduce this. I've authenticated against 0.5.0.1 a couple of times, and 0.5.0.2 too. But, it sounds like it's polkit-gnome that's hanging for you (the authentication dialog). Rex is right. I also am unable to reproduce this, as Rex points out thought the actual authentication is being done by polkit-gnome and not kpackagekit. In fact for authentication kpackagekit calls PackageKit which calls polkit-gnome. Please do a rpm -qa Packagekit polkit* and post the results. Probably going to end up punting this to the polkit folks. -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers I can still reproduce this with the rawhide-kde-20091026 image after installing a couple of packages. This image had kpackagekit 0.5.0.1 but I updated to 0.5.0.2 and tried again after a logout/login cycle. $ yum list installed *polkit* *packagekit* Loaded plugins: presto, refresh-packagekit Installed Packages PackageKit.i686 0.5.3-1.fc12 PackageKit-glib.i686 0.5.3-1.fc12 PackageKit-gtk-module.i686 0.5.3-1.fc12 PackageKit-qt.i686 0.5.3-1.fc12 PackageKit-yum.i686 0.5.3-1.fc12 PackageKit-yum-plugin.i686 0.5.3-1.fc12 kpackagekit.i686 0.5.0.2-1.fc12 polkit.i686 0.95-0.git20090913.3.fc12 polkit-gnome.i686 0.95-0.git20090913.6.fc12 Please update to at least qt-4.5.3-7 , and holler if this is still a problem. Uh, the authentication dialogs in F12 PackageKit are issued by polkit-gnome, I don't think Qt has anything to do with this. Still happens with the rawhide-kde-20091102 image. $ yum list installed *polkit* *packagekit* qt Loaded plugins: presto, refresh-packagekit Installed Packages PackageKit.i686 0.5.3-1.fc12 PackageKit-glib.i686 0.5.3-1.fc12 PackageKit-gtk-module.i686 0.5.3-1.fc12 PackageKit-qt.i686 0.5.3-1.fc12 PackageKit-yum.i686 0.5.3-1.fc12 PackageKit-yum-plugin.i686 0.5.3-1.fc12 kpackagekit.i686 0.5.0.2-1.fc12 polkit.i686 0.95-0.git20090913.3.fc12 polkit-gnome.i686 0.95-0.git20090913.6.fc12 qt.i686 1:4.5.3-7.fc12 Re-assigning to polkit-gnome for guidance. The polkit dialogue also appears when installing a package from a newly installed repository (e.g. rpm-fusion, adobe) for which the key has not yet been imported. If I move the dialogue out of the way and confirm and ok my way through the stack of dialogues beneath it(*), the transaction appears to have failed but the repo key has been imported - trying the transaction again succeeds in installing the package without incident. * There is a bewildering array of dialogues to click through, some of which appear more than once. There may still be a usability bug to file about importing keys if this is still true after this bug has been fixed. This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Is this something to do with the fact that the livecd has no root password? I re-tested(*) with the F12 final release livecd and found I could still get the unresponsive dialogue after a few tries. But if I set a root password, then I get a authentication dialogue asking for the root password - this dialogue behaves as expected when cancelling, dismissing, filling in the password or cancelling the window underneath. * I enabled rawhide and disabled F12 and F12-testing, so that I would get unsigned packages, and installed standalone packages (e.g. powertop, xclip, bash-completions). I also found that I could trigger the problem by removing packages. (In reply to comment #15) > * There is a bewildering array of dialogues to click through, some of which > appear more than once. There may still be a usability bug to file about > importing keys if this is still true after this bug has been fixed. See https://bugs.kde.org/show_bug.cgi?id=216701 There is still a problem with the nightly-kde-20100318 image. I brought up the authentication dialog by adding/removing packages in kpackagekit and by changing the system time. The dialog does not accept an empty password, but the transaction/change works after canceling the dialog. polkit-0.96-1.fc13.i686 polkit-kde-0.95.1-4.fc13.i686 polkit-qt-0.95.1-3.fc13.i686 I haven't (yet) checked the desktop spin to see whether gnome-packagekit accepts an empty root password. I meant polkit-gnome, not gnome-packagekit. Testing with desktop-i386-20100325.19.iso, it looks like polkit-gnome does the right thing. So it's now just polkit-kde that chokes. Oliver, can you please test this [1] package if the issue still persist. Thank you. [1] http://koji.fedoraproject.org/koji/taskinfo?taskID=2099616 I installed it from runlevel 3 on the livecd and then launched runlevel 5, hope that's enough to make it take. When I changed the system time an authentication dialogue popped up asking for the root password. I left it blank and clicked OK and another (different?) authentication dialogue popped up. I left the password blank again and this time the change took. That sounds weird. Can you please try it again and take the screenshots of both dialogs? And run "ps aux | grep polkit" and post the output here. Thank out. Sorry, the scratch build looks like it's expired. PS I'm not sure if it's clear, but the problem only appears with a livecd, which has no root password - see comment #17. It should be easy to confirm this, right? Looks like problem in the policykit itself. Upstream bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=27788 Actually gnome (polkit-gnome-0.9.6-1.fc13.i686, polkit 0.9.6-1.fc13.i686) appears to behave well on a f13 nightly - e.g. installing a package: an authentication dialogue appears but disappears after a moment and the transaction continues. See also comment #21. polkit-gnome behaves a little bit differently for me. When I start it and try to authenticate, the dialog appears and both buttons are unresponsive. If I close the dialog the action is authenticated. When I try to authenticate another action, the dialog appears and disappears immediately and the action executes. Exactly the same happens to polkit-kde dialog. This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Still present on F14. When I test on the gnome live-image, package installation tends to work (with a dialog briefly flashing past as in comment #27) but firewall configuration gives me an unresponsive dialog that authenticates when closed (as in comment #28). From https://bugs.freedesktop.org/show_bug.cgi?id=27788#c1 "It's up to the authentication agent (which could be one of polkit-gnome, polkit-kde or, now, gnome-shell - or even ) to avoid putting up an authentication dialog if no information is requested - e.g. until one of the signals ::show-info, ::show-error, ::request from the PolkitAgentSession type has been emitted: http://hal.freedesktop.org/docs/polkit/PolkitAgentSession.html#PolkitAgentSession.signals Notably gnome-shell's new polkit authentication agent suffers from this problem - I've filed https://bugzilla.gnome.org/show_bug.cgi?id=643062 for it. Closing as NOTOURBUG since this fix is needed in the authentication agents." Thanks for update, trying to figure out what's needed for proper implementation of authentication agent. I can't trigger this in a recent nightly (Fedora-15-Nightly-20110502.18-x86_64-Live-kde.iso): polkit-0.101-5.fc15.x86_64 polkit-kde-0.99.0-2.fc15.x86_64 ..but polkit-kde hasn't been changed recently afaics. Maybe this is a side effect of something in polkit itself? Not sure whether there's still a bug to fix or not. I checked with some old nightlies and the behaviour changes between polkit-0.98-7.fc15.x86_64 and polkit-0.100-1.fc15.x86_64. Though the polkit-kde dialog still appears, it disappears again in an instant. If I'm understanding the gnome-shell patch mentioned in comment #31 correctly, then it doesn't show a dialog at all in the empty-root-password case. This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |