[pkg-cryptsetup-devel] Bug#903246: Bug#903246:

Guilhem Moulin guilhem at debian.org
Sun Jul 8 17:11:48 BST 2018


Control: tag -1 moreinfo

On Sun, 08 Jul 2018 at 18:53:07 +1000, Ian Tester wrote:
> Upon further exploration, it appears the problem is that /dev/block is not
> being created and populated on this system. I'll have to figure out why
> that is.

Do you have udev installed and running?  It should take care of creating
/dev/block/$major:$minor, cf.

    https://sources.debian.org/src/systemd/239-5/src/udev/udev-node.c/#L337

That being said, ‘cryptsetup-run’ is missing a dependency on the ‘udev’
package.  (OTOH ‘cryptsetup-initramfs’ pulls it in as ‘initramfs-tools’
depends on it.)  Also instead of using hardcoded ‘/dev/block/$major:$minor’
for source devices we should probably query

    udevadm info -rq name /sys/dev/block/$major:$minor

(On your system, does the above command return the path to the source
device?)

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20180708/4170e22b/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list