-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to udisks2, udisks 1 is deprecated #18
Comments
Hi, Any news? |
@aluzzardi, can you take a look at this? |
Can anyone take a spin at this? I'd be happy to review and merge, but unfortunately don't have the time to do the migration myself. |
Looks like @luka-n started udisks2 port in his fork: https://github.com/luka-n/pam_usb |
Hi, maybe not just yet. At this point it "works for me". Wouldn't mind someone taking a look though. This glib/gobject/dbus/gdbus/udisks stack is totally new to me. I'm not at all sure about the way I'm using g_main_context_iteration() to sidestep the need for a main loop in the probing function, say. |
@aluzzardi, will you have free time soon to review mentioned fork? There was no changes in it since last comments here, so, apparently, it works good enough to take a look at it. |
I successfully tested the fork on Debian stretch. It works exactly like the original. |
Compiled on Ubuntu 16.10 (a bit ahead of 16.04 already) - works as expected for me as well. |
Here are repacked packages for Ubuntu 15.10..16.10 (as of today). |
@nazar-pc Can you open a pull request? Thanks! The fork looks good - we can merge it. |
It is not my fork, it is rather for @luka-n to do PR or you can merge it directly. |
Updated build in message above, |
@luka-n care to open a PR? |
@aluzzardi No reaction since april? What happened? Update: In the meantime xenial 16.04 users, feel free to use my PPA https://launchpad.net/~njj/+archive/ubuntu/pamusb |
@Jusix Sorry, I'm not actively maintaining this project. Will review the PR. |
I'm actively using version from PR since the end of April. The only issue I experience is that session unlocking doesn't work. Flash drive is not mounted when inserted and thus can't unlock desktop. What is even worse, LightDM's password field disappears, so I can't type it, but Enter doesn't work either. So I need to first unlock session with password, insert flash drive and then everything else (including locking) works fine. |
@Jusix I am just started to configure pam_usb using your ppa and I've found a minor issue: there is a missing dependency
I am going to continue now... |
I've already mentioned that earlier. Other than that it should work fine (it works for me for half a year already, I'm on Ubuntu 16.10 right now). |
Hi there,
pam_usb currently uses udisks 1. That has been deprecated for a while now, in favor of udisks 2. Please port pam_usb to udisks 2 and drop code that uses the old hal/devicekit-disks/udisks 1 bits.
Please note that udisks2 also has a library interface (libudisks2-0) which is easier to use than raw D-BUS calls. It is also introspectable (gir1.2-udisks-2.0) so you can use it from languages like Python.
The API is documented at http://udisks.freedesktop.org/docs/latest/ .
The text was updated successfully, but these errors were encountered: