Repository navigation
Conversation
|
There seems to be a bug with (at least) xscreensaver under Debian stretch. When using pam_usb for authentication only (no agent functionality like automatic screen unlock), it sometimes hangs during udisks_client_get_object_manager in device.c:41. I'm still trying to figure out what exactly goes wrong there, just FYI. |
| @@ -1,4 +1,7 @@ | |||
| /* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t; -*- */ | |||
There was a problem hiding this comment.
@luka-n, could you remove those? They are editor specific and I don't think they belong in the source file.
|
@luka-n, can you respond to comments in this PR so that we can get it merged and (possibly) even back to Ubuntu repository? |
|
Hey. I was looking into this and I noticed that another fork of this repo has most of these issues fixed. Plus it doesn't appear to have the problem with xscreensaver that @frederikmoellers mentioned above, which was an issue for me too, at least under Linux Mint 18. Perhaps a pull request from that fork's master branch would be a better idea. I could fix the problems @aluzzardi commented on above that are not fixed in that fork and make a new pull request. |
|
Please do - happy to review & merge |
In your PR there is still such problem. It works first time, but hangs a second time. apparently after last line, "Searching for ..." should appear, but this never happens. I couldn't find any refcounting bug in src/device.c. Making |
|
Published a small improvement iamsivil#4 , but it doesn't help the bug described above. Sorry for hijacking this thread. I'm done now. |
|
Ah yes. Sorry, I noticed that bug was still there some time after writing that and forgot to mention it I guess. |
|
The workaround works apparently becasue spawned |
|
Ah right, that makes sense. I had thought the bug was external to pam_usb. If it is a udisks issue, then I'm wondering if it's fixed in more recent versions. I'm running udisks 2.1.8 (a little dated) on Debian 9. I'll try testing with a more recent version and see if I can confirm this. By the way, have you given any thought to using an alternative to udisks2 (re: #36)? I'm now also sorry for hijacking this thread.. Should we continue this elsewhere..? |
re #18