I do wonder why cryptsetup does depends on udev when it does work perfecly fine without it both at build and run time. I do run mdev-enabled system for months without issues, with luks-encrypted rootfs on lvm. Reproducible: Always
mdev should be an instance of virtual/udev then ?
But still, it does not require even mdev, mdev is a agent, not even a deamon, which is executed on add/remove events. Even static dev will do.
(In reply to comment #1) > mdev should be an instance of virtual/udev then ? No, he is asking why cryptsetup has a dependency on udev at all.
in the past it called udevsettle. i don't think it linked against udev, but to be safe, i just dropped it from 1.4.3.
should be all set now in the tree; thanks for the report! Commit message: Drop udev dep since cryptsetup no longer calls udevsettle at runtime http://sources.gentoo.org/sys-fs/cryptsetup/cryptsetup-1.4.3.ebuild?r1=1.7&r2=1.8