[pkg-cryptsetup-devel] Bug#694499: Bug#694499: breaks when used together with cryptsetup

Jonas Meurer jonas at freesources.org
Wed Nov 28 15:53:25 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Am 27.11.2012 08:51, schrieb Steve Langasek:
> On Tue, Nov 27, 2012 at 01:04:05AM +0100, Jelmer Vernooij wrote:
>> (not sure whether this is a bug in the upstart files in
>> cryptsetup or upstart)
> 
>> When using upstart together with cryptsetup, upstart hangs
>> waiting for startpar right after boot. I also get an error on the
>> console from initctl complaining that DEVNAME is not a valid
>> level.
> 
> This is a bug in cryptsetup.  The cryptsetup package ships upstart
> jobs under names that match the names of the pre-existing init
> scripts.  The problem is that the upstart jobs and init scripts
> *are not equivalent*.  The upstart job
> /etc/init/cryptdisks-early.conf creates one job instance per crypto
> device.  This means that it does *not* generate the event
> necessary to tell startpar that dependencies on
> /etc/init.d/cryptdisks-early are satisfied, and so startpar, which
> knows about the upstart job, hangs indefinitely waiting for a
> non-instance cryptdisks-early event which will never occur.
> 
> I've attached a patch which corrects this, as well as correcting a
> shutdown hang with cryptsetup.  Jonas, could you please apply this
> to cryptsetup in unstable?

Thanks for the patch, Steve. I applied it to the SVN repository. I
hope to find time for running some basic tests later and upload the
package this evening. Unfortunately I'm away for the next week. Do you
intend to push this change into wheezy? If not, then delaying the
upload for seven more days should not be a problem, right?

Kind regards,
 jonas


> N.B., I believe cryptsetup is exempted from the requirement in
> Policy 9.11 to have upstart jobs carry "the same name as and
> equivalent functionality to" the init script, because this
> integrates with /etc/rcS.d.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJQtjNtAAoJEFJi5/9JEEn+5ngP/0dWJ9oM2rDRp7UmBlqyje+l
TEQGIzt59tVCRd1rFN1mRt3pD56qhBYy8eBMnyIz6Fzm/6eX6iOro3bGKsKtcagK
Ms7QWsfSXbPuvJcAzxx86pzj6Wwx2Tk19isMFY1MWrqV6EB9eP7mV0L2UObPxYlg
x336ayBM0jwh30SiZO/w2eKVNC3aGet+po0fBfGmicjTA5Wl2mZ8a9VvRw86eK6O
rYPfDS9MUz51K+yFqt5alXtYvRXySrUqDqf0G6jQV/zgMTHcwAwfOVCytn+RBb/B
AhNM72BArkbq6UXscNTUXDR6rYyAkINQhe5UfSsJHwduJs6+zmrVXIKf/co/zKOb
qQkEszmz9c2qA0OpR9NrpdKQZSMmoAxFp2M62cSXvd6xOQcGtlLsivIP7i6NlZJR
pWaBOVInV7YpBPoC6lscx35lOvmYMPkSVBr8m4chZq6ARBCNBqvTkR84CyH4kY/Q
xCo5FjFvu3WqNngA+dQJFgW4brjBWdDvyCwz3ThL+WJHC9kfqkOn+SLxbeylz6ks
BUuB1owfpb/ipryy/9icdFxu2R+Afro+L+Ol1PJ0rp9t1KAxI9VwwKtcTRshrKIQ
znLS7Bdq66kjcpaMWbMJQ2u4SfNtzK+A40ZkhAW7cFrwXftMUWQFC06HPOyeAz4w
iECKjmgVnf50UbJWOFpf
=GCCk
-----END PGP SIGNATURE-----



More information about the pkg-cryptsetup-devel mailing list