Hi Eugene, Am 22.01.2015 um 15:25 schrieb Lobko, Eugene: > The patch did not work. The message changed to: > /etc/init.d/cryptdisks-early: 753: /etc/init.d/cryptdisks-early: > /usr/sbin/invoke-rc.d: not found
Mh, apparently /usr/sbin/invoke-rc.d is not available on your system at early boot time. Now that I think about it: I bet that you have a separate /usr partition, right? > I thought I missed /usr/sbin/invoke-rc.d in initramfs so I added it in a > hook. > It keeps to show the '... invoke-rc.d: not found' message. cryptdisks-early is an init script that is invoked just after rootfs has been mounted (and before the other filesystems are mounted). It is run early at boot process, but not in initramfs. After thinking about it again, testing for /sbin/status is a much better check for availability of upstart. Would you mind to test the attached patch and report back whether it fixes your problem? Cheers, jonas
--- /lib/cryptsetup/cryptdisks.functions +++ /lib/cryptsetup/cryptdisks.functions @@ -750,7 +750,7 @@ # will just be a no-op, but we don't want to defer to the # other job entirely because this is the fallback for fixing # up any ordering-dependent decrypting. - invoke-rc.d --quiet cryptdisks-udev status && while status cryptdisks-udev DEVNAME="$dev_match" 2>&1 | grep -q 'start'; do + [ -x /sbin/status ] && while /sbin/status cryptdisks-udev DEVNAME="$dev_match" 2>&1 | grep -q "\<start"; do sleep 1 done handle_crypttab_line_start "$dst" "$src" "$key" "$opts" <&3 || log_action_end_msg $?
signature.asc
Description: OpenPGP digital signature