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.

Attachment: signature.asc
Description: PGP signature

Reply via email to