[PATCH] accept symlinks to blockdevices for mount.crypt
Bug #6257 reported by
hunger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpam-mount (Debian) |
Fix Released
|
Unknown
|
|||
libpam-mount (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Hi!
I just noticed that you need to pass a blockdevice to /usr/bin/
Please use $( readlink -f "$1" ) when assigning DEVICE in that script. That way the device the link points to will be used and this will pass the is-this-a-blockdev test (which a symlink does not).
Thanks!
Regards,
Tobias
Changed in libpam-mount: | |
assignee: | nobody → pitti |
Changed in libpam-mount: | |
status: | Unknown → Unconfirmed |
Changed in libpam-mount: | |
status: | Unconfirmed → Fix Released |
To post a comment you must log in.
This is the patch for this.