SYSTEMD_LOG_LEVEL=debug strace -fvvs1024 -o /tmp/t /lib/systemd/systemd- cryptsetup attach vg-swap dev/dm-6 /dev/urandom swap,cipher=aes-cbc- essiv:sha256
crypt_init() failed: Block device required if I put a / in front of /dev/dm-6 I'm getting the flowing: SYSTEMD_LOG_LEVEL=debug strace -fvvs1024 -o /tmp/tt /lib/systemd/systemd-cryptsetup attach vg-swap /dev/dm-6 /dev/urandom swap,cipher=aes-cbc-essiv:sha256 Set cipher aes, mode cbc-essiv:sha256, key size 256 bits for device /dev/dm-6. Failed to activate with key file '/dev/urandom': Invalid argument Please enter passphrase for disk vg-swap on none! <Just pressing Enter, because I can't remember the passphrase any more> Loading of cryptographic parameters failed: Invalid argument Failed to activate: Invalid argument But this could it be, it waits for input and because no one is coming it waits for ever ;-) do you still need the output of /tmp/tt? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1443413 Title: boot fails on cryptsetup random swap partition with "invalid argument" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1443413/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
