[pkg-cryptsetup-devel] Bug#685242: cryptsetup does not stop =)

Dmitrijs Ledkovs xnox at debian.org
Sat Aug 18 18:11:08 UTC 2012


Package: cryptsetup
Version: 2:1.4.3-2

Either there is a typo, or it is doing something very interesting.

In the debian/rules there are following lines:

        dh_installinit -a --no-start --name=cryptdisks-early
--update-rcd-params="start 26 S . start 59 0 6 ."
        dh_installinit -a --no-start --name=cryptdisks
--update-rcd-params="start 28 S . start 48 0 6 ."

Which I interpret as:

* Start with sequence number [26/28] in single user mode
* Start with sequence number [59/48] at halt and reboot

But when do they stop? Never? Then why there is do_stop in crypdisks.functions.

If it's a typo and it should be "stop [59/48] 0 6 ." please fix it.

If everything is correct please explain your black init magic =)

Regards,

Dmitrijs.



More information about the pkg-cryptsetup-devel mailing list