Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236481 - sys-fs/cryptsetup uses deprecated (and now removed) /sbin/udevsettle
Summary: sys-fs/cryptsetup uses deprecated (and now removed) /sbin/udevsettle
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-02 18:19 UTC by Sandro Bonazzola
Modified: 2008-09-15 14:14 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola 2008-09-02 18:19:30 UTC
After upgrading to sys-fs/udev-127:

cryptsetup luksOpen /dev/sdc1 sdc1
Enter LUKS passphrase:
sh: /sbin/udevsettle: No such file or directory
key slot 0 unlocked.
sh: /sbin/udevsettle: No such file or directory
Command successful

The missing of /sbin/udevsettle seems to have other side effects on kde-3.5.9: plugging the usb pen drive doesn't open the mount/open dialog anymore.
Comment 1 Sandro Bonazzola 2008-09-02 18:27:54 UTC
sys-fs/udev-126 also doesn't provide /sbin/udevsettle.
It's present in sys-fs/udev-125-r2 as a symlink:
/sbin/udevsettle -> udevadm
Comment 2 Matthias Schwarzott gentoo-dev 2008-09-02 19:11:54 UTC
As udev-127 does no longer provide this, either cryptsetup needs to use "udevadm settle", or needs to block >=udev-126.
Comment 3 Johannes Steidl 2008-09-14 01:03:42 UTC
affecting GNOME too, naturally. What i am trying to say is: "confirmed"
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2008-09-14 01:42:15 UTC
I patched cryptsetup and also changed the function a little bit to provide a bit of detail as to what the error could mean.
Comment 5 cilly 2008-09-15 12:46:19 UTC
udevsettle is only a symblolic link, why not patch udev to provide the symbolic link?

Would make things so much easier instead patching all packages depending on udevsettle.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2008-09-15 14:14:03 UTC
Because originally it was it's own app. Then it got merged into udevadm a long while back but they provided a symlink for quite a while since it was deprecated and to be removed. Finally the date has come, it's been removed. Let's stop relying on deprecated interfaces and use the new ones and move forward.