[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
** Changed in: policykit (Ubuntu Jaunty) Status: Triaged = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/354378 Title: Deadlock when PAM_TEXT_INFO is used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
** Changed in: policykit Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/354378 Title: Deadlock when PAM_TEXT_INFO is used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
** Changed in: policykit Importance: Medium = Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/354378 Title: Deadlock when PAM_TEXT_INFO is used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
This still appears to be broken in Jaunty, any chance it will be patched? -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
** Changed in: policykit Status: Confirmed = Invalid -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
** Branch linked: lp:ubuntu/karmic/policykit -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
** Branch linked: lp:~james-w/ubuntu/karmic/policykit/karmic -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
This bug was fixed in the package policykit - 0.9-3ubuntu2 --- policykit (0.9-3ubuntu2) karmic; urgency=low * Add debian/patches/polkit-deadlock.patch. - Fix deadlock when PAM_TEXT_INFO is used (LP: #354378). Kudos to James Westby. -- Iulian Udrea iul...@ubuntu.com Wed, 06 May 2009 08:30:20 + ** Changed in: policykit (Ubuntu) Status: Triaged = Fix Released -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
Hi James stupid question, but now that a patch is released what steps do I take to obtain and apply it so I can give you some feedback? -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
On Mon, 2009-05-11 at 09:10 +, cdmdotnet wrote: Hi James stupid question, but now that a patch is released what steps do I take to obtain and apply it so I can give you some feedback? Hi, That was fixing it for Karmic, I'll work on a fix for Jaunty in the next few days. Thanks, James -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
Hi Steve I've got no problems doing some testing. I've fixed the problem I had, but it's not hard to reproduce the situation I had before. In saying that fixing the notification message for the fingerprint reader software brings up another prompt - a notification message is raised requesting a finger be scanned before the authentication is complete ( the package makes the finger print additional to the username / password, and not a replacement ) , so the patch will be interesting to see in action. Matt -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
I'm not sure if this is somewhat related but since I upgraded from 8.10 to 9.04 I cannot use anything that uses the newer authentication system. I get an issue when I try to edit a network connection via the new network manager or edit a user. Taking the network manager example, I added a strace session to the authenticate dialogue box , entered my password and watched the output... which wasn't much - I've masked the password. 17:42:06.448553 read(0, \n..., 4096) = 9 17:42:15.951992 write(9, \n..., 9) = 9 17:42:15.952043 read(10, PAM_TEXT_INFO Could not locate an..., 4096) = 90 17:42:16.221059 write(1, PAM_TEXT_INFO Could not locate an..., 90) = 90 17:42:16.221115 read(0, and that's it. it just hangs, I can't close the dialogue I can't do anything... short of killing the process. My system isn't using an AD authentication it should just be a stock standard install of 8.10 upgraded to 9.04 -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
cdmdotnet, It sounds like you're describing the same basic issue here. You may be able to get more useful information out of the error if you run strace with '-s 128', so that you can see the full message - that won't get you to a fix for this bug, but you might find out what extra information PAM is trying to give you, and address that if it points to another problem. -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
Hi Steve Thanks alot for that switch -s 128. I had started to play with my old fingerprint reader since upgrading, which is reporting an information warning message Could not locate any suitable fingerprints matched with available hardware. That's another issue which I'll take care of outside of here. I guess it does emphasise how information messages may cause a few issues. In my case it wasn't an information message about password expiry. No idea if it will help you guys. Cheers -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
On Sat, 2009-05-02 at 20:13 +, cdmdotnet wrote: Hi Steve Thanks alot for that switch -s 128. I had started to play with my old fingerprint reader since upgrading, which is reporting an information warning message Could not locate any suitable fingerprints matched with available hardware. That's another issue which I'll take care of outside of here. I guess it does emphasise how information messages may cause a few issues. In my case it wasn't an information message about password expiry. No idea if it will help you guys. Thanks for the information. Your problem should be fixed by the same patch. I'm waiting a few days for a reaction from the author, but either way there should be a package to test in a few days. We would be grateful if you could test that package when it is available and report your findings here. Thanks, James -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
same problem. if you have likewise-open installed and the relate service is not running the likewise pam module output a message and the policykit dialog hangs -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
James Westby [2009-04-15 21:31 -]: (Please note that you can already upload to jaunty-proposed) (not for packages in main I assume) Sure you can. They just won't get accepted until after Jaunty is released. -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
Moved subscribers to ubuntu-sru. James, if this applies to hardy as well, we should IMHO fix it there as well. Thanks for looking into this! (Please note that you can already upload to jaunty-proposed) -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
On Wed, 2009-04-15 at 20:52 +, Martin Pitt wrote: Moved subscribers to ubuntu-sru. James, if this applies to hardy as well, we should IMHO fix it there as well. Thanks for looking into this! I will investigate. (Please note that you can already upload to jaunty-proposed) (not for packages in main I assume) Thanks, James -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
This looks fine for an SRU. ** Also affects: policykit (Ubuntu Jaunty) Importance: Medium Status: Triaged ** Changed in: policykit (Ubuntu Jaunty) Assignee: (unassigned) = James Westby (james-w) -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
Hi, I've attached this patch to the upstream bug, but the code has been completely re-written in git, so it's not clear whether he will be interested. I think this may be appropriate to fix for Jaunty, or older releases, but perhaps it should be in an SRU. Release team, what do you think? Thanks, James ** Attachment added: polkit-deadlock.diff http://launchpadlibrarian.net/25342754/polkit-deadlock.diff -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
** Bug watch added: freedesktop.org Bugzilla #21031 https://bugs.freedesktop.org/show_bug.cgi?id=21031 ** Also affects: policykit via https://bugs.freedesktop.org/show_bug.cgi?id=21031 Importance: Unknown Status: Unknown ** Description changed: - Binary package hint: policykit + the authentication dialog will sometimes hang. + + In particular it hangs if your password is about to expire, in which + case pam will send a message. + + This message is sent as PAM_AUTH_INFO from polkit-grant-helper-pam, + and relayed by polkit-grant-helper. It is then passed on to the authentication + agent by polkit-grant. polkit-grant doesn't allow the agent to respond to + these, and so it proceeds to wait for the next line of the conversation. + However, polkit-grant-helper is waiting for a response to this, as it does + for everything sent by the child, but it is never going to get one, and doesn't + even need to bother, as polkit-grant-helper-pam isn't expecting one. + + It seems to me that there are two ways to fix this. Either have + polkit-grant-helper inspect the messages and know which get responses + (duplicating some logic), or have everything get a response, and have + polkit-grant-helper-pam wait for the empty responses. + + === Original report: Hi all, I've configured my system with kerberos password authentication (since my machine is inside an AD domain). With sudo/gksudo no problems at all, but when using a policykit unlock dialog (like in user-admin), typing my kerberos password results in a freezed window. -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 354378] Re: Deadlock when PAM_TEXT_INFO is used
** Changed in: policykit Status: Unknown = Confirmed -- Deadlock when PAM_TEXT_INFO is used https://bugs.launchpad.net/bugs/354378 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.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs