[pkg-cryptsetup-devel] Bug#773456: Bug#773456: [cryptsetup] invoke-rc.d not found on boot

Jonas Meurer jonas at freesources.org
Thu Jan 22 15:51:41 UTC 2015


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 773456.patch
Type: text/x-diff
Size: 615 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20150122/4dacbf1f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20150122/4dacbf1f/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list