Bug#773456: [pkg-cryptsetup-devel] Bug#773456: [cryptsetup] invoke-rc.d not found on boot
Hi Jonas, 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 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. -- Eugene Lobko Quoin Inc signature.asc Description: This is a digitally signed message part.
Bug#773456: [pkg-cryptsetup-devel] Bug#773456: [cryptsetup] invoke-rc.d not found on boot
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 21 | grep -q 'start'; do + [ -x /sbin/status ] while /sbin/status cryptdisks-udev DEVNAME=$dev_match 21 | 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
Bug#773456: [pkg-cryptsetup-devel] Bug#773456: [cryptsetup] invoke-rc.d not found on boot
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? Yes. 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? Yes, it fixed the issue. Thank you. -- Eugene Lobko Quoin Inc signature.asc Description: This is a digitally signed message part.
Bug#773456: [pkg-cryptsetup-devel] Bug#773456: [cryptsetup] invoke-rc.d not found on boot
Am 20.01.2015 um 16:17 schrieb Lobko, Eugene: Hi Jonas, would you mind testing the attached patch? Please report back whether it fixes the bug for you. Sure. Could you please attach the patch? Oops, sorry. Here it is. 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 21 | grep -q 'start'; do + /usr/sbin/invoke-rc.d --quiet cryptdisks-udev status while status cryptdisks-udev DEVNAME=$dev_match 21 | grep -q 'start'; do sleep 1 done handle_crypttab_line_start $dst $src $key $opts 3 || log_action_end_msg $?
Bug#773456: [pkg-cryptsetup-devel] Bug#773456: [cryptsetup] invoke-rc.d not found on boot
Hi Eugene, Am 18.12.2014 um 16:47 schrieb Lobko, Eugene: Dear Maintainer, After the most recent cryptsetup update a message appears on a boot screen: /etc/init.d/cryptdisks-early: 753: /etc/init.d/cryptdisks-early: invoke-rc.d: not found It seems it is related to bug #764564, which was closed in 1.6.6-4. I have not found the core functionality breaks, but the message looks disturbing on the systems not using upstart. would you mind testing the attached patch? Please report back whether it fixes the bug for you. You can apply the patch (as root) the following way: # patch /lib/cryptsetup/cryptdisks.functions 773456.patch Cheers, jonas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#773456: [cryptsetup] invoke-rc.d not found on boot
Package: cryptsetup Version: 2:1.6.6-4 Severity: minor --- Please enter the report below this line. --- Dear Maintainer, After the most recent cryptsetup update a message appears on a boot screen: /etc/init.d/cryptdisks-early: 753: /etc/init.d/cryptdisks-early: invoke-rc.d: not found It seems it is related to bug #764564, which was closed in 1.6.6-4. I have not found the core functionality breaks, but the message looks disturbing on the systems not using upstart. Thank you, --- System information. --- Architecture: amd64 Kernel: Linux 3.16.0-4-amd64 Debian Release: 8.0 800 testing ftp.us.debian.org 500 unstableftp.us.debian.org 500 stable dl.google.com 100 experimentalftp.us.debian.org --- Package information. --- Depends (Version) | Installed =-+-=== libc6 (= 2.15) | debconf (= 0.5) | OR debconf-2.0 | dmsetup | cryptsetup-bin| Recommends(Version) | Installed ===-+-=== kbd | 1.15.5-2 console-setup | 1.114 initramfs-tools (= 0.91) | 0.116 OR linux-initramfs-tool| busybox | 1:1.22.0-9+b1 OR busybox-static | Suggests(Version) | Installed =-+-=== dosfstools| 3.0.27-1 liblocale-gettext-perl| 1.05-8+b1 keyutils | 1.5.9-5+b1 -- Eugene Lobko Quoin Inc signature.asc Description: This is a digitally signed message part.