Merge ~vpa1977/ubuntu/+source/cryptsetup:merge-lp2019292-mantic into ubuntu/+source/cryptsetup:debian/sid

Proposed by Vladimir Petko
Status: Needs review
Proposed branch: ~vpa1977/ubuntu/+source/cryptsetup:merge-lp2019292-mantic
Merge into: ubuntu/+source/cryptsetup:debian/sid
Diff against target: 2664 lines (+2034/-27)
15 files modified
debian/changelog (+1857/-0)
debian/control (+7/-5)
debian/functions (+9/-1)
debian/initramfs/cryptroot-unlock (+12/-6)
debian/initramfs/hooks/cryptroot (+5/-3)
debian/patches/decrease_memlock_ulimit.patch (+49/-0)
debian/patches/series (+1/-0)
debian/rules (+2/-0)
debian/tests/control (+3/-2)
debian/tests/cryptroot-lvm.d/mock (+7/-2)
debian/tests/cryptroot-nested.d/config (+7/-0)
debian/tests/cryptroot-sysvinit.d/config (+7/-2)
debian/tests/initramfs-hook (+16/-2)
debian/tests/utils/cryptroot-common (+27/-3)
debian/tests/utils/mock.pm (+25/-1)
Reviewer Review Type Date Requested Status
Steve Langasek (community) Approve
git-ubuntu import Pending
Review via email: mp+442802@code.launchpad.net

Description of the change

Summary of changes:
 - merge cryptsetup 2:2.6.1-4 from debian/unstable
 - retain full Ubuntu delta

PPA: ppa:vpa1977/cryptsetup[1]

Testing:
 - autopkgtests pass:

$autopkgtest --setup-commands="sudo add-apt-repository -y -u -s ppa:vpa1977/cryptsetup " -B cryptsetup/ -- qemu ~/.auto-img/autopkgtest-mantic-amd64.img

...
upstream-testsuite PASS
ssh-test-plugin PASS
cryptdisks.init PASS
initramfs-hook PASS
cryptroot-lvm PASS
cryptroot-legacy PASS
cryptroot-md PASS
cryptroot-nested PASS
cryptroot-sysvinit PASS
qemu-system-x86_64: terminating on signal 15 from pid 150782 (/usr/bin/python3)

- autopkgtest with proposed pass:
$ autopkgtest --apt-pocket=proposed --setup-commands="sudo add-apt-repository -y -u -s ppa:vpa1977/cryptsetup" -B cryptsetup/ -- qemu --ram-size 8192 ~/.auto-img/autopkgtest-mantic-amd64.img
...
upstream-testsuite PASS
ssh-test-plugin PASS
cryptdisks.init PASS
initramfs-hook PASS
cryptroot-lvm PASS
cryptroot-legacy PASS
cryptroot-md PASS
cryptroot-nested PASS
cryptroot-sysvinit PASS
qemu-system-x86_64: terminating on signal 15 from pid 173159 (/usr/bin/python3)
$
 - upgrade succeeds (see comment)

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/cryptsetup

To post a comment you must log in.
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Upgrade succeeds:

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  cryptsetup cryptsetup-bin cryptsetup-initramfs libcryptsetup12
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,001 kB of archives.
After this operation, 1,752 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://ppa.launchpadcontent.net/vpa1977/cryptsetup/ubuntu mantic/main amd64 cryptsetup-initramfs all 2:2.6.1-4ubuntu1~ppa1 [38.8 kB]
Get:2 https://ppa.launchpadcontent.net/vpa1977/cryptsetup/ubuntu mantic/main amd64 libcryptsetup12 amd64 2:2.6.1-4ubuntu1~ppa1 [243 kB]
Get:3 https://ppa.launchpadcontent.net/vpa1977/cryptsetup/ubuntu mantic/main amd64 cryptsetup-bin amd64 2:2.6.1-4ubuntu1~ppa1 [502 kB]
Get:4 https://ppa.launchpadcontent.net/vpa1977/cryptsetup/ubuntu mantic/main amd64 cryptsetup amd64 2:2.6.1-4ubuntu1~ppa1 [218 kB]
Fetched 1,001 kB in 8s (127 kB/s)
Preconfiguring packages ...
(Reading database ... 204515 files and directories currently installed.)
Preparing to unpack .../cryptsetup-initramfs_2%3a2.6.1-4ubuntu1~ppa1_all.deb ...
Unpacking cryptsetup-initramfs (2:2.6.1-4ubuntu1~ppa1) over (2:2.6.1-1ubuntu1) .
..
Preparing to unpack .../libcryptsetup12_2%3a2.6.1-4ubuntu1~ppa1_amd64.deb ...
Unpacking libcryptsetup12:amd64 (2:2.6.1-4ubuntu1~ppa1) over (2:2.6.1-1ubuntu1)
...
Preparing to unpack .../cryptsetup-bin_2%3a2.6.1-4ubuntu1~ppa1_amd64.deb ...
Unpacking cryptsetup-bin (2:2.6.1-4ubuntu1~ppa1) over (2:2.6.1-1ubuntu1) ...
Preparing to unpack .../cryptsetup_2%3a2.6.1-4ubuntu1~ppa1_amd64.deb ...
Unpacking cryptsetup (2:2.6.1-4ubuntu1~ppa1) over (2:2.6.1-1ubuntu1) ...
Setting up libcryptsetup12:amd64 (2:2.6.1-4ubuntu1~ppa1) ...
Setting up cryptsetup-bin (2:2.6.1-4ubuntu1~ppa1) ...
Setting up cryptsetup (2:2.6.1-4ubuntu1~ppa1) ...
Setting up cryptsetup-initramfs (2:2.6.1-4ubuntu1~ppa1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin (2.37-0ubuntu2) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for initramfs-tools (0.142ubuntu2) ...
update-initramfs: Generating /boot/initrd.img-6.2.0-21-generic
$

Revision history for this message
Steve Langasek (vorlon) wrote :

wrong merge target

review: Needs Resubmitting
Revision history for this message
Steve Langasek (vorlon) wrote :

clarified that debian/sid as target is intentional.

review: Approve

Unmerged commits

1b5cf90... by Vladimir Petko

debian/changelog

fix changelog

0ab6c7a... by Vladimir Petko

update-maintainer

dc9397e... by Vladimir Petko

reconstruct-changelog

dfe682f... by Vladimir Petko

merge-changelogs

4958e3e... by Vladimir Petko

Fix cryptroot-unlock for busybox compatibility.

0c04e8e... by Vladimir Petko

Fix warning and error when running on ZFS on root
      - d/functions: Return an empty devno for ZFS devices as they don't have
        major:minor device numbers.
      - d/initramfs/hooks/cryptroot: Ignore and don't print an error message
        when devices don't have a devno.

6e83dc3... by Vladimir Petko

debian/control:
      + Recommend plymouth.
      + Depend on busybox-initramfs instead of busybox | busybox-static.
      + Move cryptsetup-initramfs back to cryptsetup's Recommends.
      + Do not build cryptsetup-suspend binary package on i386.

78a51ac... by Vladimir Petko

    - Fix cryptroot-* autopkgtests on Ubuntu. (LP: #1983522)
      + debian/tests/utils/mock.pm: return from consume() function if select()
        times out or fails
      + debian/tests/utils/cryptroot-common: fix apt source and kernel package
        names for Ubuntu
      + debian/tests/cryptroot-sysvinit.d: use systemd-sysv init for Ubuntu
        cryptroot-sysvinit package test
      + debian/tests/cryptroot-nested.d: fix cryptsetup-nested test, add
        workaround for LP1831747 by adding a e2fsprogs dependency
      + debian/tests/initramfs-hook: fix test's initramfs layout for Ubuntu and
        allow blowfish test use 64Mb of provisioned space (drop --size)
      + debian/tests/control: disable cryptdisks test

14fac8c... by Vladimir Petko

Fixed FTBFS due to a restricted build environment

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index f8452c3..21a48c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,34 @@
1cryptsetup (2:2.6.1-4ubuntu1) mantic; urgency=medium
2
3 * Merge with Debian unstable (LP: #2019292). Remaining changes:
4 - debian/control:
5 + Recommend plymouth.
6 + Depend on busybox-initramfs instead of busybox | busybox-static.
7 + Move cryptsetup-initramfs back to cryptsetup's Recommends.
8 + Do not build cryptsetup-suspend binary package on i386.
9 - Fix cryptroot-unlock for busybox compatibility.
10 - Fix warning and error when running on ZFS on root
11 - d/functions: Return an empty devno for ZFS devices as they don't have
12 major:minor device numbers.
13 - d/initramfs/hooks/cryptroot: Ignore and don't print an error message
14 when devices don't have a devno.
15 - debian/patches/decrease_memlock_ulimit.patch
16 Fixed FTBFS due to a restricted build environment
17 - Fix cryptroot-* autopkgtests on Ubuntu. (LP: #1983522)
18 + debian/tests/utils/mock.pm: return from consume() function if select()
19 times out or fails
20 + debian/tests/utils/cryptroot-common: fix apt source and kernel package
21 names for Ubuntu
22 + debian/tests/cryptroot-sysvinit.d: use systemd-sysv init for Ubuntu
23 cryptroot-sysvinit package test
24 + debian/tests/cryptroot-nested.d: fix cryptsetup-nested test, add
25 workaround for LP1831747 by adding a e2fsprogs dependency
26 + debian/tests/initramfs-hook: fix test's initramfs layout for Ubuntu and
27 allow blowfish test use 64Mb of provisioned space (drop --size)
28 + debian/tests/control: disable cryptdisks test
29
30 -- Vladimir Petko <vladimir.petko@canonical.com> Mon, 15 May 2023 09:55:25 +1200
31
1cryptsetup (2:2.6.1-4) unstable; urgency=medium32cryptsetup (2:2.6.1-4) unstable; urgency=medium
233
3 * Backport upstream MR !498, see #1028250:34 * Backport upstream MR !498, see #1028250:
@@ -32,6 +63,37 @@ cryptsetup (2:2.6.1-2) unstable; urgency=medium
3263
33 -- Guilhem Moulin <guilhem@debian.org> Thu, 02 Mar 2023 05:01:53 +010064 -- Guilhem Moulin <guilhem@debian.org> Thu, 02 Mar 2023 05:01:53 +0100
3465
66cryptsetup (2:2.6.1-1ubuntu1) lunar; urgency=low
67
68 * Merge with Debian unstable (LP: #2004423). Remaining changes:
69 - debian/control:
70 + Recommend plymouth.
71 + Depend on busybox-initramfs instead of busybox | busybox-static.
72 + Move cryptsetup-initramfs back to cryptsetup's Recommends.
73 + Do not build cryptsetup-suspend binary package on i386.
74 - Fix cryptroot-unlock for busybox compatibility.
75 - Fix warning and error when running on ZFS on root
76 - d/functions: Return an empty devno for ZFS devices as they don't have
77 major:minor device numbers.
78 - d/initramfs/hooks/cryptroot: Ignore and don't print an error message
79 when devices don't have a devno.
80 - debian/patches/decrease_memlock_ulimit.patch
81 Fixed FTBFS due to a restricted build environment
82 - Fix cryptroot-* autopkgtests on Ubuntu. (LP: #1983522)
83 + debian/tests/utils/mock.pm: return from consume() function if select()
84 times out or fails
85 + debian/tests/utils/cryptroot-common: fix apt source and kernel package
86 names for Ubuntu
87 + debian/tests/cryptroot-sysvinit.d: use systemd-sysv init for Ubuntu
88 cryptroot-sysvinit package test
89 + debian/tests/cryptroot-nested.d: fix cryptsetup-nested test, add
90 workaround for LP1831747 by adding a e2fsprogs dependency
91 + debian/tests/initramfs-hook: fix test's initramfs layout for Ubuntu and
92 allow blowfish test use 64Mb of provisioned space (drop --size)
93 + debian/tests/control: disable cryptdisks test
94
95 -- Vladimir Petko <vladimir.petko@canonical.com> Mon, 13 Feb 2023 15:57:18 +1300
96
35cryptsetup (2:2.6.1-1) unstable; urgency=medium97cryptsetup (2:2.6.1-1) unstable; urgency=medium
3698
37 * New upstream bugfix release.99 * New upstream bugfix release.
@@ -81,6 +143,54 @@ cryptsetup (2:2.6.0~rc0-1) experimental; urgency=medium
81143
82 -- Guilhem Moulin <guilhem@debian.org> Sat, 19 Nov 2022 17:30:40 +0100144 -- Guilhem Moulin <guilhem@debian.org> Sat, 19 Nov 2022 17:30:40 +0100
83145
146cryptsetup (2:2.5.0-6ubuntu3) lunar; urgency=medium
147
148 * Fix cryptroot-lvm autopkgtest on Ubuntu. (LP: #1983522)
149 - debian/tests/control: enable cryptroot-lvm
150 - debian/tests/utils/mock.pm: return from consume() function if select()
151 times out or fails
152
153 -- Vladimir Petko <vladimir.petko@canonical.com> Fri, 02 Dec 2022 15:53:42 +1300
154
155cryptsetup (2:2.5.0-6ubuntu2) lunar; urgency=medium
156
157 * Fix cryptroot-* autopkgtests on Ubuntu. (LP: #1983522)
158 - debian/tests/utils/cryptroot-common: fix apt source and kernel package
159 names for Ubuntu
160 - debian/tests/cryptroot-sysvinit.d: use systemd-sysv init for Ubuntu
161 cryptroot-sysvinit package test
162 - debian/tests/cryptroot-nested.d: fix cryptsetup-nested test, add
163 workaround for LP1831747 by adding a e2fsprogs dependency
164 - debian/tests/control: disable cryptdisks, cryptroot-lvm due to CI
165 failures and update comments
166 - debian/tests/utils/mock.pm: fix cryptoroot-lvm test adding retries to the
167 suspend operation and consuming the console buffer before making
168 assertions. It still hangs in CI and requires further work.
169 - debian/tests/initramfs-hook: fix test's initramfs layout for Ubuntu and
170 allow blowfish test use 64Mb of provisioned space (drop --size)
171
172 -- Vladimir Petko <vladimir.petko@canonical.com> Fri, 02 Dec 2022 14:14:42 +1300
173
174cryptsetup (2:2.5.0-6ubuntu1) lunar; urgency=low
175
176 * Merge from Debian unstable. Remaining changes:
177 - debian/control:
178 + Recommend plymouth.
179 + Depend on busybox-initramfs instead of busybox | busybox-static.
180 + Move cryptsetup-initramfs back to cryptsetup's Recommends.
181 + Do not build cryptsetup-suspend binary package on i386.
182 - Fix cryptroot-unlock for busybox compatibility.
183 - Fix warning and error when running on ZFS on root
184 - d/functions: Return an empty devno for ZFS devices as they don't have
185 major:minor device numbers.
186 - d/initramfs/hooks/cryptroot: Ignore and don't print an error message
187 when devices don't have a devno.
188 - debian/patches/decrease_memlock_ulimit.patch
189 Fixed FTBFS due to a restricted build environment
190 - Disable failing Debian-tailored cryptroot-* autopkgtests
191
192 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 07 Nov 2022 08:36:38 -0800
193
84cryptsetup (2:2.5.0-6) unstable; urgency=medium194cryptsetup (2:2.5.0-6) unstable; urgency=medium
85195
86 * d/t/cryptroot-*: Mask systemd-firstboot.service.196 * d/t/cryptroot-*: Mask systemd-firstboot.service.
@@ -176,6 +286,26 @@ cryptsetup (2:2.5.0-3) unstable; urgency=low
176286
177 -- Guilhem Moulin <guilhem@debian.org> Sun, 18 Sep 2022 23:01:46 +0200287 -- Guilhem Moulin <guilhem@debian.org> Sun, 18 Sep 2022 23:01:46 +0200
178288
289cryptsetup (2:2.5.0-2ubuntu1) kinetic; urgency=medium
290
291 * Merge from Debian unstable. Remaining changes:
292 - debian/control:
293 + Recommend plymouth.
294 + Depend on busybox-initramfs instead of busybox | busybox-static.
295 + Move cryptsetup-initramfs back to cryptsetup's Recommends.
296 + Do not build cryptsetup-suspend binary package on i386.
297 - Fix cryptroot-unlock for busybox compatibility.
298 - Fix warning and error when running on ZFS on root: (LP: #1830110)
299 - d/functions: Return an empty devno for ZFS devices as they don't have
300 major:minor device numbers.
301 - d/initramfs/hooks/cryptroot: Ignore and don't print an error message
302 when devices don't have a devno.
303 - debian/patches/decrease_memlock_ulimit.patch
304 Fixed FTBFS due to a restricted build environment
305 * Disable failing Debian-tailored cryptroot-* autopkgtests, see bug #1983522
306
307 -- Benjamin Drung <bdrung@ubuntu.com> Wed, 24 Aug 2022 00:56:28 +0200
308
179cryptsetup (2:2.5.0-2) unstable; urgency=low309cryptsetup (2:2.5.0-2) unstable; urgency=low
180310
181 [ Matthias Klose ]311 [ Matthias Klose ]
@@ -234,6 +364,29 @@ cryptsetup (2:2.5.0-2) unstable; urgency=low
234364
235 -- Guilhem Moulin <guilhem@debian.org> Tue, 09 Aug 2022 01:40:50 +0200365 -- Guilhem Moulin <guilhem@debian.org> Tue, 09 Aug 2022 01:40:50 +0200
236366
367cryptsetup (2:2.5.0-1ubuntu1) kinetic; urgency=medium
368
369 * Merge from Debian unstable. Remaining changes:
370 - debian/control:
371 + Recommend plymouth.
372 + Depend on busybox-initramfs instead of busybox | busybox-static.
373 + Move cryptsetup-initramfs back to cryptsetup's Recommends.
374 + Do not build cryptsetup-suspend binary package on i386.
375 - Fix cryptroot-unlock for busybox compatibility.
376 - Fix warning and error when running on ZFS on root: (LP: #1830110)
377 - d/functions: Return an empty devno for ZFS devices as they don't have
378 major:minor device numbers.
379 - d/initramfs/hooks/cryptroot: Ignore and don't print an error message
380 when devices don't have a devno.
381 - debian/patches/decrease_memlock_ulimit.patch
382 Fixed FTBFS due to a restricted build environment
383 - Stop building the udeb on request.
384 * d/initramfs/hooks/cryptroot: Include OpenSSL legacy.so for ripemd160 and
385 whirlpool hash algorithms (LP: #1979159)
386 * Disable failing Debian-tailored cryptroot-* autopkgtests, see bug #1983522
387
388 -- Benjamin Drung <bdrung@ubuntu.com> Thu, 04 Aug 2022 12:30:02 +0200
389
237cryptsetup (2:2.5.0-1) unstable; urgency=medium390cryptsetup (2:2.5.0-1) unstable; urgency=medium
238391
239 * New upstream release. (Closes: #1000634, #1011128)392 * New upstream release. (Closes: #1000634, #1011128)
@@ -312,6 +465,26 @@ cryptsetup (2:2.5.0~rc1-1) experimental; urgency=low
312465
313 -- Guilhem Moulin <guilhem@debian.org> Fri, 15 Jul 2022 01:49:59 +0200466 -- Guilhem Moulin <guilhem@debian.org> Fri, 15 Jul 2022 01:49:59 +0200
314467
468cryptsetup (2:2.4.3-1ubuntu1) jammy; urgency=low
469
470 * Merge from Debian unstable (LP: #1959427). Remaining changes:
471 - debian/control:
472 + Recommend plymouth.
473 + Depend on busybox-initramfs instead of busybox | busybox-static.
474 + Move cryptsetup-initramfs back to cryptsetup's Recommends.
475 + Do not build cryptsetup-suspend binary package on i386.
476 - Fix cryptroot-unlock for busybox compatibility.
477 - Fix warning and error when running on ZFS on root: (LP: #1830110)
478 - d/functions: Return an empty devno for ZFS devices as they don't have
479 major:minor device numbers.
480 - d/initramfs/hooks/cryptroot: Ignore and don't print an error message
481 when devices don't have a devno.
482 - debian/patches/decrease_memlock_ulimit.patch
483 Fixed FTBFS due to a restricted build environment
484 - Stop building the udeb on request.
485
486 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 28 Jan 2022 12:14:06 -0800
487
315cryptsetup (2:2.4.3-1) unstable; urgency=high488cryptsetup (2:2.4.3-1) unstable; urgency=high
316489
317 [ Guilhem Moulin ]490 [ Guilhem Moulin ]
@@ -325,6 +498,64 @@ cryptsetup (2:2.4.3-1) unstable; urgency=high
325498
326 -- Guilhem Moulin <guilhem@debian.org> Thu, 13 Jan 2022 19:07:05 +0100499 -- Guilhem Moulin <guilhem@debian.org> Thu, 13 Jan 2022 19:07:05 +0100
327500
501cryptsetup (2:2.4.2-1ubuntu4) jammy; urgency=medium
502
503 * Move cryptsetup-initramfs back to cryptsetup's Recommends (from Suggests).
504
505 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Thu, 09 Dec 2021 12:53:00 +1300
506
507cryptsetup (2:2.4.2-1ubuntu3) jammy; urgency=medium
508
509 * Fix build on i386.
510
511 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Tue, 07 Dec 2021 13:17:48 +1300
512
513cryptsetup (2:2.4.2-1ubuntu2) jammy; urgency=medium
514
515 * Do not build new cryptsetup-suspend binary package on i386.
516
517 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Tue, 07 Dec 2021 11:47:55 +1300
518
519cryptsetup (2:2.4.2-1ubuntu1) jammy; urgency=medium
520
521 * Merge from Debian unstable. Remaining changes:
522 - debian/control:
523 + Recommend plymouth.
524 + Depend on busybox-initramfs instead of busybox | busybox-static.
525 - Fix cryptroot-unlock for busybox compatibility.
526 - Fix warning and error when running on ZFS on root: (LP: #1830110)
527 - d/functions: Return an empty devno for ZFS devices as they don't have
528 major:minor device numbers.
529 - d/initramfs/hooks/cryptroot: Ignore and don't print an error message when
530 devices don't have a devno.
531 Submitted to debian upstream as bug #902449.
532 - debian/patches/decrease_memlock_ulimit.patch
533 Fixed FTBFS due a restrict environment in the new Bionic Builder (LP: #1891473)
534 tests/luks2-validation.test, tests/compat-test, tests/tcrypt-compat-test.
535 - Thanks Guilherme G. Piccoli.
536 - Stop building the udeb on request.
537 * Dropped change, included in Debian:
538 - Introduce retry logic for external invocations after mdadm (LP: #1879980)
539 - Currently, if an encrypted rootfs is configured on top of a MD RAID1
540 array and such array gets degraded (e.g., a member is removed/failed)
541 the cryptsetup scripts cannot mount the rootfs, and the boot fails.
542 We fix that issue here by allowing the cryptroot script to be re-run
543 by initramfs-tools/local-block stage, as mdadm can activate degraded
544 arrays at that stage.
545 There is an initramfs-tools counter-part for this fix, but alone the
546 cryptsetup portion is harmless.
547 - d/cryptsetup-initramfs.install: ship the new local-bottom script.
548 - d/functions: declare variables for local-top|block|bottom scripts
549 (flag that local-block is running and external invocation counter.)
550 - d/i/s/local-block/cryptroot: set flag that local-block is running.
551 - d/i/s/local-bottom/cryptroot: clean up the flag and counter files.
552 - d/i/s/local-top/cryptroot: change the logic from just waiting 180
553 seconds to waiting 5 seconds first, then allowing initramfs-tools
554 to run mdadm (to activate degraded arrays) and call back at least
555 30 times/seconds more.
556
557 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Thu, 02 Dec 2021 11:58:05 +1300
558
328cryptsetup (2:2.4.2-1) unstable; urgency=high559cryptsetup (2:2.4.2-1) unstable; urgency=high
329560
330 * New upstream bugfix release 2.4.2.561 * New upstream bugfix release 2.4.2.
@@ -443,6 +674,18 @@ cryptsetup (2:2.3.6-1+exp1) experimental; urgency=medium
443674
444 -- Guilhem Moulin <guilhem@debian.org> Fri, 28 May 2021 22:54:20 +0200675 -- Guilhem Moulin <guilhem@debian.org> Fri, 28 May 2021 22:54:20 +0200
445676
677cryptsetup (2:2.3.6-0ubuntu2) jammy; urgency=medium
678
679 * No-change rebuild against openssl3
680
681 -- Simon Chopin <simon.chopin@canonical.com> Thu, 25 Nov 2021 14:22:07 +0200
682
683cryptsetup (2:2.3.6-0ubuntu1) impish; urgency=medium
684
685 * New upstream release.
686
687 -- Matthieu Clemenceau <matthieu.clemenceau@canonical.com> Fri, 20 Aug 2021 11:32:12 +1200
688
446cryptsetup (2:2.3.5-1+exp1) experimental; urgency=medium689cryptsetup (2:2.3.5-1+exp1) experimental; urgency=medium
447690
448 * Upload to experimental.691 * Upload to experimental.
@@ -515,6 +758,69 @@ cryptsetup (2:2.3.4-1+exp1) experimental; urgency=medium
515758
516 -- Guilhem Moulin <guilhem@debian.org> Fri, 04 Sep 2020 00:55:41 +0200759 -- Guilhem Moulin <guilhem@debian.org> Fri, 04 Sep 2020 00:55:41 +0200
517760
761cryptsetup (2:2.3.4-1ubuntu3) hirsute; urgency=medium
762
763 * Stop building the udeb on request.
764
765 -- Matthias Klose <doko@ubuntu.com> Mon, 22 Feb 2021 12:10:36 +0100
766
767cryptsetup (2:2.3.4-1ubuntu2) hirsute; urgency=medium
768
769 * No-change rebuild to drop the udeb package.
770
771 -- Matthias Klose <doko@ubuntu.com> Mon, 22 Feb 2021 10:30:38 +0100
772
773cryptsetup (2:2.3.4-1ubuntu1) hirsute; urgency=medium
774
775 * Merge with Debian unstable. Remaining changes:
776 - debian/control:
777 + Recommend plymouth.
778 + Depend on busybox-initramfs instead of busybox | busybox-static.
779 - Fix cryptroot-unlock for busybox compatibility.
780 - Fix warning and error when running on ZFS on root: (LP #1830110)
781 - d/functions: Return an empty devno for ZFS devices as they don't have
782 major:minor device numbers.
783 - d/initramfs/hooks/cryptroot: Ignore and don't print an error message when
784 devices don't have a devno.
785 Submitted to debian upstream as bug #902449.
786 - debian/patches/decrease_memlock_ulimit.patch
787 Fixed FTBFS due a restrict environment in the new Bionic Builder (LP #1891473)
788 tests/luks2-validation.test, tests/compat-test, tests/tcrypt-compat-test.
789 - Thanks Guilherme G. Piccoli.
790 - Introduce retry logic for external invocations after mdadm (LP #1879980)
791 - Currently, if an encrypted rootfs is configured on top of a MD RAID1
792 array and such array gets degraded (e.g., a member is removed/failed)
793 the cryptsetup scripts cannot mount the rootfs, and the boot fails.
794 We fix that issue here by allowing the cryptroot script to be re-run
795 by initramfs-tools/local-block stage, as mdadm can activate degraded
796 arrays at that stage.
797 There is an initramfs-tools counter-part for this fix, but alone the
798 cryptsetup portion is harmless.
799 - d/cryptsetup-initramfs.install: ship the new local-bottom script.
800 - d/functions: declare variables for local-top|block|bottom scripts
801 (flag that local-block is running and external invocation counter.)
802 - d/i/s/local-block/cryptroot: set flag that local-block is running.
803 - d/i/s/local-bottom/cryptroot: clean up the flag and counter files.
804 - d/i/s/local-top/cryptroot: change the logic from just waiting 180
805 seconds to waiting 5 seconds first, then allowing initramfs-tools
806 to run mdadm (to activate degraded arrays) and call back at least
807 30 times/seconds more.
808 * Dropped changes:
809 - Included in new upstream version:
810 - SECURITY UPDATE: Out-of-bounds write
811 - debian/patches/CVE-2020-14382-*.patch: check segment gaps regardless of
812 heap space in lib/luks2/luks2_json_metadata.c.
813 - CVE-2020-14382
814 - included in Debian:
815 - debian/cryptsetup-bin.install:
816 - Fix FTBFS due to dh_missing detecting crypsetup.conf in debian/tmp where
817 it was installed from ./scripts/crypsetup.conf.
818 - debian/rules:
819 - fix FTBFS on riscv64 adding --with-tmpfilesdir to ensure all archs, even
820 without systemd knows how to ship cryptsetup.conf
821
822 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Tue, 10 Nov 2020 10:37:25 +1300
823
518cryptsetup (2:2.3.4-1) unstable; urgency=high824cryptsetup (2:2.3.4-1) unstable; urgency=high
519825
520 * New upstream bugfix release, including fix for CVE-2020-14382:826 * New upstream bugfix release, including fix for CVE-2020-14382:
@@ -582,6 +888,80 @@ cryptsetup (2:2.3.3-2) unstable; urgency=medium
582888
583 -- Guilhem Moulin <guilhem@debian.org> Wed, 12 Aug 2020 00:22:59 +0200889 -- Guilhem Moulin <guilhem@debian.org> Wed, 12 Aug 2020 00:22:59 +0200
584890
891cryptsetup (2:2.3.3-1ubuntu6) groovy; urgency=medium
892
893 * Introduce retry logic for external invocations after mdadm (LP: #1879980)
894 - Currently, if an encrypted rootfs is configured on top of a MD RAID1
895 array and such array gets degraded (e.g., a member is removed/failed)
896 the cryptsetup scripts cannot mount the rootfs, and the boot fails.
897 We fix that issue here by allowing the cryptroot script to be re-run
898 by initramfs-tools/local-block stage, as mdadm can activate degraded
899 arrays at that stage.
900 There is an initramfs-tools counter-part for this fix, but alone the
901 cryptsetup portion is harmless.
902 - d/cryptsetup-initramfs.install: ship the new local-bottom script.
903 - d/functions: declare variables for local-top|block|bottom scripts
904 (flag that local-block is running and external invocation counter.)
905 - d/i/s/local-block/cryptroot: set flag that local-block is running.
906 - d/i/s/local-bottom/cryptroot: clean up the flag and counter files.
907 - d/i/s/local-top/cryptroot: change the logic from just waiting 180
908 seconds to waiting 5 seconds first, then allowing initramfs-tools
909 to run mdadm (to activate degraded arrays) and call back at least
910 30 times/seconds more.
911
912 -- Guilherme G. Piccoli <gpiccoli@canonical.com> Wed, 16 Sep 2020 17:35:59 -0300
913
914cryptsetup (2:2.3.3-1ubuntu5) groovy; urgency=medium
915
916 * SECURITY UPDATE: Out-of-bounds write
917 - debian/patches/CVE-2020-14382-*.patch: check segment gaps regardless of
918 heap space in lib/luks2/luks2_json_metadata.c.
919 - CVE-2020-14382
920 * debian/patches/decrease_memlock_ulimit.patch
921 Fixed FTBFS due a restrict environment in the new Bionic Builder (LP: #1891473)
922 tests/luks2-validation.test, tests/compat-test, tests/tcrypt-compat-test.
923 - Thanks Guilherme G. Piccoli.
924
925 -- Leonidas S. Barbosa <leo.barbosa@canonical.com> Wed, 09 Sep 2020 09:29:17 -0300
926
927cryptsetup (2:2.3.3-1ubuntu4) groovy; urgency=medium
928
929 * No change rebuild against new json-c ABI.
930
931 -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 28 Jul 2020 17:42:50 +0100
932
933cryptsetup (2:2.3.3-1ubuntu3) groovy; urgency=medium
934
935 * debian/rules:
936 - fix FTBFS on riscv64 adding --with-tmpfilesdir to ensure all archs, even
937 without systemd knows how to ship cryptsetup.conf
938
939 -- Didier Roche <didrocks@ubuntu.com> Thu, 18 Jun 2020 11:44:50 +0200
940
941cryptsetup (2:2.3.3-1ubuntu2) groovy; urgency=medium
942
943 * debian/cryptsetup-bin.install:
944 - Fix FTBFS due to dh_missing detecting crypsetup.conf in debian/tmp where
945 it was installed from ./scripts/crypsetup.conf.
946 * Fix warning and error when running on ZFS on root: (LP: #1830110)
947 - d/functions: Return an empty devno for ZFS devices as they don't have
948 major:minor device numbers.
949 - d/initramfs/hooks/cryptroot: Ignore and don't print an error message when
950 devices don't have a devno.
951 Submitted to debian upstream as bug #902449.
952
953 -- Didier Roche <didrocks@ubuntu.com> Thu, 18 Jun 2020 10:12:10 +0200
954
955cryptsetup (2:2.3.3-1ubuntu1) groovy; urgency=low
956
957 * Merge from Debian unstable. Remaining changes:
958 - debian/control:
959 + Recommend plymouth.
960 + Depend on busybox-initramfs instead of busybox | busybox-static.
961 - Fix cryptroot-unlock for busybox compatibility.
962
963 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 09 Jun 2020 10:40:32 -0700
964
585cryptsetup (2:2.3.3-1) unstable; urgency=medium965cryptsetup (2:2.3.3-1) unstable; urgency=medium
586966
587 [ Guilhem Moulin ]967 [ Guilhem Moulin ]
@@ -610,6 +990,16 @@ cryptsetup (2:2.3.2-1) unstable; urgency=medium
610990
611 -- Guilhem Moulin <guilhem@debian.org> Wed, 06 May 2020 16:22:01 +0200991 -- Guilhem Moulin <guilhem@debian.org> Wed, 06 May 2020 16:22:01 +0200
612992
993cryptsetup (2:2.3.1-1ubuntu1) groovy; urgency=low
994
995 * Merge from Debian unstable. Remaining changes:
996 - debian/control:
997 + Recommend plymouth.
998 + Depend on busybox-initramfs instead of busybox | busybox-static.
999 - Fix cryptroot-unlock for busybox compatibility.
1000
1001 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 01 May 2020 07:07:58 -0700
1002
613cryptsetup (2:2.3.1-1) unstable; urgency=medium1003cryptsetup (2:2.3.1-1) unstable; urgency=medium
6141004
615 * New upstream release.1005 * New upstream release.
@@ -645,6 +1035,23 @@ cryptsetup (2:2.3.0-1) unstable; urgency=low
6451035
646 -- Guilhem Moulin <guilhem@debian.org> Wed, 04 Mar 2020 00:48:19 +01001036 -- Guilhem Moulin <guilhem@debian.org> Wed, 04 Mar 2020 00:48:19 +0100
6471037
1038cryptsetup (2:2.2.2-3ubuntu2) focal; urgency=medium
1039
1040 * Depend on cryptsetup from cryptsetup-initramfs instead of the dummy
1041 cryptsetup-run package. LP: #1864360.
1042
1043 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Feb 2020 00:16:14 -0600
1044
1045cryptsetup (2:2.2.2-3ubuntu1) focal; urgency=medium
1046
1047 * Merge from Debian unstable. Remaining changes:
1048 - debian/control:
1049 + Recommend plymouth.
1050 + Depend on busybox-initramfs instead of busybox | busybox-static.
1051 - Fix cryptroot-unlock for busybox compatibility.
1052
1053 -- Matthias Klose <doko@ubuntu.com> Mon, 10 Feb 2020 09:20:12 +0100
1054
648cryptsetup (2:2.2.2-3) unstable; urgency=high1055cryptsetup (2:2.2.2-3) unstable; urgency=high
6491056
650 * initramfs hook: Workaround fix for the libgcc_s's source location.1057 * initramfs hook: Workaround fix for the libgcc_s's source location.
@@ -653,6 +1060,16 @@ cryptsetup (2:2.2.2-3) unstable; urgency=high
6531060
654 -- Guilhem Moulin <guilhem@debian.org> Tue, 04 Feb 2020 14:11:12 +01001061 -- Guilhem Moulin <guilhem@debian.org> Tue, 04 Feb 2020 14:11:12 +0100
6551062
1063cryptsetup (2:2.2.2-2ubuntu1) focal; urgency=low
1064
1065 * Merge from Debian unstable. Remaining changes:
1066 - debian/control:
1067 + Recommend plymouth.
1068 + Depend on busybox-initramfs instead of busybox | busybox-static.
1069 - Fix cryptroot-unlock for busybox compatibility.
1070
1071 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 01 Feb 2020 22:11:22 -0800
1072
656cryptsetup (2:2.2.2-2) unstable; urgency=medium1073cryptsetup (2:2.2.2-2) unstable; urgency=medium
6571074
658 [ Guilhem Moulin ]1075 [ Guilhem Moulin ]
@@ -670,6 +1087,16 @@ cryptsetup (2:2.2.2-2) unstable; urgency=medium
6701087
671 -- Guilhem Moulin <guilhem@debian.org> Sat, 18 Jan 2020 20:53:19 +01001088 -- Guilhem Moulin <guilhem@debian.org> Sat, 18 Jan 2020 20:53:19 +0100
6721089
1090cryptsetup (2:2.2.2-1ubuntu1) focal; urgency=low
1091
1092 * Merge from Debian unstable. Remaining changes:
1093 - debian/control:
1094 + Recommend plymouth.
1095 + Depend on busybox-initramfs instead of busybox | busybox-static.
1096 - Fix cryptroot-unlock for busybox compatibility.
1097
1098 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 11 Nov 2019 22:07:44 -0800
1099
673cryptsetup (2:2.2.2-1) unstable; urgency=medium1100cryptsetup (2:2.2.2-1) unstable; urgency=medium
6741101
675 * New upstream bugfix release.1102 * New upstream bugfix release.
@@ -680,6 +1107,16 @@ cryptsetup (2:2.2.2-1) unstable; urgency=medium
6801107
681 -- Guilhem Moulin <guilhem@debian.org> Fri, 01 Nov 2019 19:32:36 +01001108 -- Guilhem Moulin <guilhem@debian.org> Fri, 01 Nov 2019 19:32:36 +0100
6821109
1110cryptsetup (2:2.2.1-1ubuntu1) focal; urgency=low
1111
1112 * Merge from Debian unstable. Remaining changes:
1113 - debian/control:
1114 + Recommend plymouth.
1115 + Depend on busybox-initramfs instead of busybox | busybox-static.
1116 - Fix cryptroot-unlock for busybox compatibility.
1117
1118 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 18 Oct 2019 15:14:29 -0700
1119
683cryptsetup (2:2.2.1-1) unstable; urgency=medium1120cryptsetup (2:2.2.1-1) unstable; urgency=medium
6841121
685 * New upstream bugfix release.1122 * New upstream bugfix release.
@@ -687,6 +1124,16 @@ cryptsetup (2:2.2.1-1) unstable; urgency=medium
6871124
688 -- Guilhem Moulin <guilhem@debian.org> Fri, 06 Sep 2019 13:28:55 +02001125 -- Guilhem Moulin <guilhem@debian.org> Fri, 06 Sep 2019 13:28:55 +0200
6891126
1127cryptsetup (2:2.2.0-3ubuntu1) eoan; urgency=low
1128
1129 * Merge from Debian unstable. Remaining changes:
1130 - debian/control:
1131 + Recommend plymouth.
1132 + Depend on busybox-initramfs instead of busybox | busybox-static.
1133 - Fix cryptroot-unlock for busybox compatibility.
1134
1135 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 28 Aug 2019 16:13:22 -0700
1136
690cryptsetup (2:2.2.0-3) unstable; urgency=medium1137cryptsetup (2:2.2.0-3) unstable; urgency=medium
6911138
692 * Cherry pick upstream commit 8f8f0b32: Fix mapped segments overflow on1139 * Cherry pick upstream commit 8f8f0b32: Fix mapped segments overflow on
@@ -694,6 +1141,16 @@ cryptsetup (2:2.2.0-3) unstable; urgency=medium
6941141
695 -- Guilhem Moulin <guilhem@debian.org> Mon, 26 Aug 2019 12:53:45 +02001142 -- Guilhem Moulin <guilhem@debian.org> Mon, 26 Aug 2019 12:53:45 +0200
6961143
1144cryptsetup (2:2.2.0-2ubuntu1) eoan; urgency=low
1145
1146 * Merge from Debian unstable. Remaining changes:
1147 - debian/control:
1148 + Recommend plymouth.
1149 + Depend on busybox-initramfs instead of busybox | busybox-static.
1150 - Fix cryptroot-unlock for busybox compatibility.
1151
1152 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 25 Aug 2019 12:25:55 -0700
1153
697cryptsetup (2:2.2.0-2) unstable; urgency=medium1154cryptsetup (2:2.2.0-2) unstable; urgency=medium
6981155
699 * debian/control: Add 'Multi-Arch: foreign' tag to the transitional dummy1156 * debian/control: Add 'Multi-Arch: foreign' tag to the transitional dummy
@@ -705,6 +1162,25 @@ cryptsetup (2:2.2.0-2) unstable; urgency=medium
7051162
706 -- Guilhem Moulin <guilhem@debian.org> Wed, 21 Aug 2019 22:45:12 +02001163 -- Guilhem Moulin <guilhem@debian.org> Wed, 21 Aug 2019 22:45:12 +0200
7071164
1165cryptsetup (2:2.2.0-1ubuntu2) eoan; urgency=medium
1166
1167 * debian/initramfs/cryptroot-unlock: canonicalize executable paths.
1168 Thanks to Paride Legovini <paride.legovini@canonical.com> for the patch.
1169 LP: #1840752.
1170
1171 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 20 Aug 2019 15:34:10 -0700
1172
1173cryptsetup (2:2.2.0-1ubuntu1) eoan; urgency=low
1174
1175 * Merge from Debian unstable. Remaining changes:
1176 - debian/control:
1177 + Recommend plymouth.
1178 + Depend on busybox-initramfs instead of busybox | busybox-static.
1179 - Apply patch from Trent Nelson to fix cryptroot-unlock for busybox
1180 compatibility.
1181
1182 -- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 20 Aug 2019 14:21:34 +0200
1183
708cryptsetup (2:2.2.0-1) unstable; urgency=medium1184cryptsetup (2:2.2.0-1) unstable; urgency=medium
7091185
710 * New upstream release 2.2.0. Highlights include:1186 * New upstream release 2.2.0. Highlights include:
@@ -782,6 +1258,23 @@ cryptsetup (2:2.1.0-6) unstable; urgency=low
7821258
783 -- Guilhem Moulin <guilhem@debian.org> Sat, 20 Jul 2019 22:15:04 -03001259 -- Guilhem Moulin <guilhem@debian.org> Sat, 20 Jul 2019 22:15:04 -0300
7841260
1261cryptsetup (2:2.1.0-5ubuntu2) eoan; urgency=medium
1262
1263 * Rebuild against new libjson-c4.
1264
1265 -- Gianfranco Costamagna <locutusofborg@debian.org> Sat, 29 Jun 2019 13:48:37 +0200
1266
1267cryptsetup (2:2.1.0-5ubuntu1) eoan; urgency=low
1268
1269 * Merge from Debian unstable. Remaining changes:
1270 - debian/control:
1271 + Recommend plymouth.
1272 + Depend on busybox-initramfs instead of busybox | busybox-static.
1273 - Apply patch from Trent Nelson to fix cryptroot-unlock for busybox
1274 compatibility.
1275
1276 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 14 Jun 2019 14:09:31 -0700
1277
785cryptsetup (2:2.1.0-5) unstable; urgency=medium1278cryptsetup (2:2.1.0-5) unstable; urgency=medium
7861279
787 [ Jonas Meurer ]1280 [ Jonas Meurer ]
@@ -794,6 +1287,17 @@ cryptsetup (2:2.1.0-5) unstable; urgency=medium
7941287
795 -- Guilhem Moulin <guilhem@debian.org> Mon, 10 Jun 2019 14:51:15 +02001288 -- Guilhem Moulin <guilhem@debian.org> Mon, 10 Jun 2019 14:51:15 +0200
7961289
1290cryptsetup (2:2.1.0-4ubuntu1) eoan; urgency=low
1291
1292 * Merge from Debian unstable. Remaining changes:
1293 - debian/control:
1294 + Recommend plymouth.
1295 + Depend on busybox-initramfs instead of busybox | busybox-static.
1296 - Apply patch from Trent Nelson to fix cryptroot-unlock for busybox
1297 compatibility.
1298
1299 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 28 May 2019 18:32:08 -0700
1300
797cryptsetup (2:2.1.0-4) unstable; urgency=medium1301cryptsetup (2:2.1.0-4) unstable; urgency=medium
7981302
799 [Guilhem Moulin]1303 [Guilhem Moulin]
@@ -813,6 +1317,26 @@ cryptsetup (2:2.1.0-4) unstable; urgency=medium
8131317
814 -- Guilhem Moulin <guilhem@debian.org> Tue, 28 May 2019 17:04:16 +02001318 -- Guilhem Moulin <guilhem@debian.org> Tue, 28 May 2019 17:04:16 +0200
8151319
1320cryptsetup (2:2.1.0-3ubuntu2) eoan; urgency=medium
1321
1322 * Depend on busybox-initramfs, which is the implementation we actually use
1323 for the initramfs and is guaranteed to always be present, instead of
1324 busybox-static.
1325
1326 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 09 May 2019 14:47:04 -0700
1327
1328cryptsetup (2:2.1.0-3ubuntu1) eoan; urgency=low
1329
1330 * Merge from Debian unstable. Remaining changes:
1331 - debian/control:
1332 + Recommend plymouth.
1333 + Invert the "busybox | busybox-static" Recommends, as the latter
1334 is the one we ship in main as part of the ubuntu-standard task.
1335 - Apply patch from Trent Nelson to fix cryptroot-unlock for busybox
1336 compatibility. LP: #1651818
1337
1338 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 03 May 2019 16:22:03 -0700
1339
816cryptsetup (2:2.1.0-3) unstable; urgency=medium1340cryptsetup (2:2.1.0-3) unstable; urgency=medium
8171341
818 * d/scripts/decrypt_opensc: Fix standard output poisoning. Thanks to Nils1342 * d/scripts/decrypt_opensc: Fix standard output poisoning. Thanks to Nils
@@ -836,6 +1360,19 @@ cryptsetup (2:2.1.0-2) unstable; urgency=medium
8361360
837 -- Guilhem Moulin <guilhem@debian.org> Thu, 28 Feb 2019 22:32:43 +01001361 -- Guilhem Moulin <guilhem@debian.org> Thu, 28 Feb 2019 22:32:43 +0100
8381362
1363cryptsetup (2:2.1.0-1ubuntu1) disco; urgency=medium
1364
1365 * Merge from Debian unstable. LP: #1815484
1366 * Remaining changes:
1367 - debian/control:
1368 + Recommend plymouth.
1369 + Invert the "busybox | busybox-static" Recommends, as the latter
1370 is the one we ship in main as part of the ubuntu-standard task.
1371 - Apply patch from Trent Nelson to fix cryptroot-unlock for busybox
1372 compatibility. LP: #1651818
1373
1374 -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 13 Feb 2019 21:28:23 +0000
1375
839cryptsetup (2:2.1.0-1) unstable; urgency=medium1376cryptsetup (2:2.1.0-1) unstable; urgency=medium
8401377
841 * New upstream release. Highlights include:1378 * New upstream release. Highlights include:
@@ -878,6 +1415,20 @@ cryptsetup (2:2.1.0-1) unstable; urgency=medium
8781415
879 -- Guilhem Moulin <guilhem@debian.org> Sat, 09 Feb 2019 00:40:17 +01001416 -- Guilhem Moulin <guilhem@debian.org> Sat, 09 Feb 2019 00:40:17 +0100
8801417
1418cryptsetup (2:2.0.6-1ubuntu1) disco; urgency=medium
1419
1420 * Merge from Debian unstable.
1421 * Remaining changes:
1422 - debian/control:
1423 + Recommend plymouth.
1424 + Invert the "busybox | busybox-static" Recommends, as the latter
1425 is the one we ship in main as part of the ubuntu-standard task.
1426 - Apply patch from Trent Nelson to fix cryptroot-unlock for busybox
1427 compatibility. LP: #1651818
1428 * Dropped delta sector_size support, merged in Debian.
1429
1430 -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 05 Feb 2019 13:43:25 +0000
1431
881cryptsetup (2:2.0.6-1) unstable; urgency=medium1432cryptsetup (2:2.0.6-1) unstable; urgency=medium
8821433
883 * New upstream bugfix release. Highlights include:1434 * New upstream bugfix release. Highlights include:
@@ -942,6 +1493,27 @@ cryptsetup (2:2.0.4-3) unstable; urgency=medium
9421493
943 -- Guilhem Moulin <guilhem@debian.org> Mon, 22 Oct 2018 17:45:35 +02001494 -- Guilhem Moulin <guilhem@debian.org> Mon, 22 Oct 2018 17:45:35 +0200
9441495
1496cryptsetup (2:2.0.4-2ubuntu2) cosmic; urgency=medium
1497
1498 * Implement support for --sector-size cryptsetup plain mode option in
1499 crypttab. Matching support is also proposed to systemd-cryptsetup as
1500 well. LP: #1776626
1501
1502 -- Dimitri John Ledkov <xnox@ubuntu.com> Fri, 31 Aug 2018 17:00:07 +0100
1503
1504cryptsetup (2:2.0.4-2ubuntu1) cosmic; urgency=low
1505
1506 * Merge from Debian unstable. LP: #1785610.
1507 * Remaining changes:
1508 - debian/control:
1509 + Recommend plymouth.
1510 + Invert the "busybox | busybox-static" Recommends, as the latter
1511 is the one we ship in main as part of the ubuntu-standard task.
1512 - Apply patch from Trent Nelson to fix cryptroot-unlock for busybox
1513 compatibility. LP: #1651818
1514
1515 -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 22 Aug 2018 22:51:47 +0100
1516
945cryptsetup (2:2.0.4-2) unstable; urgency=medium1517cryptsetup (2:2.0.4-2) unstable; urgency=medium
9461518
947 * debian/cryptsetup-initramfs.preinst: Don't try to overwrite1519 * debian/cryptsetup-initramfs.preinst: Don't try to overwrite
@@ -974,6 +1546,28 @@ cryptsetup (2:2.0.3-7) unstable; urgency=medium
9741546
975 -- Guilhem Moulin <guilhem@debian.org> Mon, 30 Jul 2018 16:32:07 +08001547 -- Guilhem Moulin <guilhem@debian.org> Mon, 30 Jul 2018 16:32:07 +0800
9761548
1549cryptsetup (2:2.0.3-6ubuntu1) cosmic; urgency=low
1550
1551 * Merge from Debian unstable. LP: #1781912.
1552 * Remaining changes:
1553 - debian/control:
1554 + Recommend plymouth.
1555 + Invert the "busybox | busybox-static" Recommends, as the latter
1556 is the one we ship in main as part of the ubuntu-standard task.
1557 - Apply patch from Trent Nelson to fix cryptroot-unlock for busybox
1558 compatibility. LP: #1651818
1559 * Dropped changes, included in Debian:
1560 - Drop explicit libgcrypt20 dependency from libcryptsetup4.
1561 - Drop the CRYPTSETUP variable warning from the initramfs hook, as
1562 overlayroot package ships a dropin in conf-hooks.d triggering false
1563 warnings.
1564 - Drop _BSD_SOURCE in favor of _DEFAULT_SOURCE
1565 - Drop c99 std, as the default is now higher than that
1566 * Dropped changes, no longer needed:
1567 - Add maintscript to drop removed upstart system jobs.
1568
1569 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 16 Jul 2018 08:27:58 -0400
1570
977cryptsetup (2:2.0.3-6) unstable; urgency=medium1571cryptsetup (2:2.0.3-6) unstable; urgency=medium
9781572
979 * debian/TODO.md: Remove mention of parent device detection for mdadm1573 * debian/TODO.md: Remove mention of parent device detection for mdadm
@@ -1258,6 +1852,45 @@ cryptsetup (2:2.0.3-1) unstable; urgency=medium
12581852
1259 -- Jonas Meurer <jonas@freesources.org> Fri, 15 Jun 2018 15:32:16 +02001853 -- Jonas Meurer <jonas@freesources.org> Fri, 15 Jun 2018 15:32:16 +0200
12601854
1855cryptsetup (2:2.0.2-1ubuntu3) cosmic; urgency=medium
1856
1857 * No-change rebuild against libargon2-1
1858
1859 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 10 Jul 2018 17:01:23 +0000
1860
1861cryptsetup (2:2.0.2-1ubuntu2) cosmic; urgency=medium
1862
1863 * Apply patch from Trent Nelson to fix cryptroot-unlock for busybox
1864 compatibility. LP: #1651818
1865
1866 -- Dimitri John Ledkov 🌈 <xnox@ubuntu.com> Thu, 21 Jun 2018 16:38:31 +0100
1867
1868cryptsetup (2:2.0.2-1ubuntu1) bionic; urgency=low
1869
1870 * Merge from Debian unstable.
1871 - bugfix upstream release, which solves problems with luks2 format
1872 disks not unlocking. LP: #1755322.
1873 * Remaining changes:
1874 - debian/control:
1875 + Depend on plymouth.
1876 + Invert the "busybox | busybox-static" Recommends, as the latter
1877 is the one we ship in main as part of the ubuntu-standard task.
1878 + Drop explicit libgcrypt20 dependency from libcryptsetup4.
1879 - Drop _BSD_SOURCE in favor of _DEFAULT_SOURCE
1880 - Drop c99 std, as the default is now higher than that
1881 - Drop upstart system jobs.
1882 - Add maintscript to drop removed upstart system jobs.
1883 - debian has its own now, but we have different version numbers.
1884 this delta can be dropped after 18.04 release.
1885 - Drop the CRYPTSETUP variable warning from the initramfs hook, as
1886 overlayroot package ships a dropin in conf-hooks.d triggering false
1887 warnings.
1888 * Dropped changes:
1889 - debian/cryptdisks{,-udev}.maintscript: drop, there is no package named
1890 'cryptdisks' or 'cryptdisks-udev'.
1891
1892 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 06 Apr 2018 10:23:53 -0700
1893
1261cryptsetup (2:2.0.2-1) unstable; urgency=low1894cryptsetup (2:2.0.2-1) unstable; urgency=low
12621895
1263 * New upstream release 2.0.21896 * New upstream release 2.0.2
@@ -1287,6 +1920,40 @@ cryptsetup (2:2.0.1-1) unstable; urgency=low
12871920
1288 -- Guilhem Moulin <guilhem@debian.org> Sun, 11 Feb 2018 00:02:05 +01001921 -- Guilhem Moulin <guilhem@debian.org> Sun, 11 Feb 2018 00:02:05 +0100
12891922
1923cryptsetup (2:2.0.1-0ubuntu2) bionic; urgency=medium
1924
1925 * Drop the CRYPTSETUP variable warning from the initramfs hook, as
1926 overlayroot package ships a dropin in conf-hooks.d triggering false
1927 warnings.
1928
1929 -- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 22 Feb 2018 14:49:16 +0000
1930
1931cryptsetup (2:2.0.1-0ubuntu1) bionic; urgency=medium
1932
1933 * Merge from Debian unstable. Remaining changes:
1934 - debian/control:
1935 + Depend on plymouth.
1936 + Invert the "busybox | busybox-static" Recommends, as the latter
1937 is the one we ship in main as part of the ubuntu-standard task.
1938 + Drop explicit libgcrypt20 dependency from libcryptsetup4.
1939 - Drop _BSD_SOURCE in favor of _DEFAULT_SOURCE
1940 - Drop c99 std, as the default is now higher than that
1941 - Drop upstart system jobs.
1942 - Add maintscript to drop removed upstart system jobs.
1943 - debian has its own now, but we have different version numbers
1944 * New upstream release
1945 * Cherry-pick Guilhem Moulin's changes below from Debian git
1946
1947 [ Guilhem Moulin ]
1948 * New upstream release 2.0.1:
1949 - Use /run/cryptsetup as default for cryptsetup locking dir.
1950 - Add missing symbols for new functions to debian/libcryptsetup12.symbols.
1951 * debian/copyright: update copyright years.
1952 * debian/patches: backport upstream's 8728ba08 to fix opening of loop-AES
1953 devices using --key-file=-. (Closes: #888162.)
1954
1955 -- Julian Andres Klode <juliank@ubuntu.com> Mon, 29 Jan 2018 13:48:55 +0100
1956
1290cryptsetup (2:2.0.0-1) unstable; urgency=low1957cryptsetup (2:2.0.0-1) unstable; urgency=low
12911958
1292 [ Guilhem Moulin ]1959 [ Guilhem Moulin ]
@@ -1336,6 +2003,26 @@ cryptsetup (2:2.0.0~rc0-1) experimental; urgency=low
13362003
1337 -- Guilhem Moulin <guilhem@debian.org> Tue, 03 Oct 2017 03:37:36 +02002004 -- Guilhem Moulin <guilhem@debian.org> Tue, 03 Oct 2017 03:37:36 +0200
13382005
2006cryptsetup (2:1.7.5-1ubuntu1) bionic; urgency=low
2007
2008 * Merge from Debian unstable. Remaining changes:
2009 - debian/control:
2010 + Depend on plymouth.
2011 + Invert the "busybox | busybox-static" Recommends, as the latter
2012 is the one we ship in main as part of the ubuntu-standard task.
2013 + Drop explicit libgcrypt20 dependency from libcryptsetup4.
2014 - Drop _BSD_SOURCE in favor of _DEFAULT_SOURCE
2015 - Drop c99 std, as the default is now higher than that
2016 - Drop upstart system jobs.
2017 - Add maintscript to drop removed upstart system jobs.
2018 * Merged upstream:
2019 - d/p/fips-fix-luksformat-with-recent-kernels -- fix luksFormat
2020 with recent FIPS enabled kernels.
2021 * Merged in Debian:
2022 - Use DEB_VERSION from dpkg/default.mk for pod2man release variable
2023
2024 -- Julian Andres Klode <juliank@ubuntu.com> Wed, 17 Jan 2018 21:39:10 +0100
2025
1339cryptsetup (2:1.7.5-1) unstable; urgency=low2026cryptsetup (2:1.7.5-1) unstable; urgency=low
13402027
1341 * New upstream release 1.7.5.2028 * New upstream release 1.7.5.
@@ -1358,6 +2045,25 @@ cryptsetup (2:1.7.5-1) unstable; urgency=low
13582045
1359 -- Guilhem Moulin <guilhem@debian.org> Thu, 14 Sep 2017 13:00:23 +02002046 -- Guilhem Moulin <guilhem@debian.org> Thu, 14 Sep 2017 13:00:23 +0200
13602047
2048cryptsetup (2:1.7.3-4ubuntu1) artful; urgency=low
2049
2050 * New upstream release, merge from Debian unstable. Remaining
2051 Ubuntu changes:
2052 - debian/control:
2053 + Depend on plymouth.
2054 + Invert the "busybox | busybox-static" Recommends, as the latter
2055 is the one we ship in main as part of the ubuntu-standard task.
2056 + Drop explicit libgcrypt20 dependency from libcryptsetup4.
2057 * d/p/fips-fix-luksformat-with-recent-kernels -- fix luksFormat
2058 with recent FIPS enabled kernels.
2059 * Drop _BSD_SOURCE in favor of _DEFAULT_SOURCE
2060 * Drop c99 std, as the default is now higher than that
2061 * Use DEB_VERSION from dpkg/default.mk for pod2man release variable
2062 * Drop upstart system jobs.
2063 * Add maintscript to drop removed upstart system jobs.
2064
2065 -- Andy Whitcroft <apw@ubuntu.com> Thu, 10 Aug 2017 14:07:29 +0100
2066
1361cryptsetup (2:1.7.3-4) unstable; urgency=high2067cryptsetup (2:1.7.3-4) unstable; urgency=high
13622068
1363 [ Guilhem Moulin ]2069 [ Guilhem Moulin ]
@@ -1570,6 +2276,40 @@ cryptsetup (2:1.7.2-1) unstable; urgency=medium
15702276
1571 -- Jonas Meurer <mejo@debian.org> Wed, 05 Oct 2016 20:53:09 +02002277 -- Jonas Meurer <mejo@debian.org> Wed, 05 Oct 2016 20:53:09 +0200
15722278
2279cryptsetup (2:1.7.2-0ubuntu4) artful; urgency=medium
2280
2281 * Add maintscript to drop removed upstart system jobs.
2282
2283 -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 21 Aug 2017 11:36:04 +0100
2284
2285cryptsetup (2:1.7.2-0ubuntu3) artful; urgency=medium
2286
2287 * Drop _BSD_SOURCE in favor of _DEFAULT_SOURCe
2288 * Drop c99 std, as the default is now higher than that
2289 * Use DEB_VERSION from dpkg/default.mk for pod2man release variable
2290
2291 -- Dimitri John Ledkov <xnox@ubuntu.com> Sat, 19 Aug 2017 21:46:19 +0100
2292
2293cryptsetup (2:1.7.2-0ubuntu2) artful; urgency=medium
2294
2295 * Drop upstart system jobs.
2296
2297 -- Dimitri John Ledkov <xnox@ubuntu.com> Sat, 19 Aug 2017 20:57:17 +0100
2298
2299cryptsetup (2:1.7.2-0ubuntu1) yakkety; urgency=medium
2300
2301 * New upstream release, merge from Debian unstable (LP: #1548137). Remaining
2302 Ubuntu changes:
2303 - debian/control:
2304 + Bump initramfs-tools Suggests to Depends: so system is not
2305 potentially rendered unbootable.
2306 + Depend on plymouth.
2307 + Invert the "busybox | busybox-static" Recommends, as the latter
2308 is the one we ship in main as part of the ubuntu-standard task.
2309 + Drop explicit libgcrypt20 dependency from libcryptsetup4.
2310
2311 -- Unit 193 <unit193@ubuntu.com> Wed, 22 Jun 2016 16:30:01 -0400
2312
1573cryptsetup (2:1.7.0-2) unstable; urgency=medium2313cryptsetup (2:1.7.0-2) unstable; urgency=medium
15742314
1575 [ Guilhem Moulin ]2315 [ Guilhem Moulin ]
@@ -1644,6 +2384,35 @@ cryptsetup (2:1.7.0-1) unstable; urgency=medium
16442384
1645 -- Jonas Meurer <mejo@debian.org> Thu, 07 Jan 2016 02:22:33 +01002385 -- Jonas Meurer <mejo@debian.org> Thu, 07 Jan 2016 02:22:33 +0100
16462386
2387cryptsetup (2:1.6.6-5ubuntu2) wily; urgency=medium
2388
2389 * Fix stupid typo in Recommends "busybox | busybox-static" inversion.
2390 Fixes binary moves for busybox into main.
2391
2392 -- Andy Whitcroft <apw@ubuntu.com> Fri, 21 Aug 2015 08:56:34 +0100
2393
2394cryptsetup (2:1.6.6-5ubuntu1) wily; urgency=low
2395
2396 * Merge from Debian unstable. Remaining changes:
2397 - debian/control:
2398 + Bump initramfs-tools Suggests to Depends: so system is not
2399 potentially rendered unbootable.
2400 + Depend on plymouth.
2401 + Invert the "busybox | busybox-static" Recommends, as the latter
2402 is the one we ship in main as part of the ubuntu-standard task.
2403 + Drop explicit libgcrypt11 dependency from libcryptsetup4.
2404 * Dropped changes, now in Debian:
2405 - Remove hardcoded paths to udevadm.
2406 - debian/initramfs/cryptroot-hook:
2407 + Do not unconditionally include cryptsetup utils in the initramfs.
2408 + Do not include any modules or utils in the initramfs, unless
2409 rootfs/resume devices are encrypted or CRYPTSETUP is set to 'y' in
2410 the initramfs.conf configuration file.
2411 - debian/cryptsetup.maintscripts:
2412 + Migrate upstart jobs to new names.
2413
2414 -- Andy Whitcroft <apw@ubuntu.com> Tue, 07 Jul 2015 16:58:45 +0100
2415
1647cryptsetup (2:1.6.6-5) unstable; urgency=high2416cryptsetup (2:1.6.6-5) unstable; urgency=high
16482417
1649 * debian/cryptdisks.functions: fix the precheck for ubuntu+upstart2418 * debian/cryptdisks.functions: fix the precheck for ubuntu+upstart
@@ -1796,6 +2565,71 @@ cryptsetup (2:1.6.4-1) unstable; urgency=low
17962565
1797 -- Jonas Meurer <mejo@debian.org> Fri, 28 Jun 2013 12:14:55 +02002566 -- Jonas Meurer <mejo@debian.org> Fri, 28 Jun 2013 12:14:55 +0200
17982567
2568cryptsetup (2:1.6.1-1ubuntu7) vivid; urgency=medium
2569
2570 * Drop explicit libgcrypt11 dependency from libcryptsetup4.
2571
2572 -- Adam Conrad <adconrad@ubuntu.com> Fri, 27 Mar 2015 18:24:38 -0600
2573
2574cryptsetup (2:1.6.1-1ubuntu6) vivid; urgency=medium
2575
2576 * No-change rebuild for the libgcrypt20 transition.
2577
2578 -- Adam Conrad <adconrad@ubuntu.com> Fri, 27 Mar 2015 06:16:08 -0600
2579
2580cryptsetup (2:1.6.1-1ubuntu5) vivid; urgency=medium
2581
2582 * ./debian/scripts/luksformat: Drop luksFormat -s and --ciper options. They
2583 aren't necessary any more, and aes-cbc-essiv:sha256 is obsolete. This will
2584 now use aes-xts-plain64 by default. (LP: #1414719)
2585
2586 -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 27 Feb 2015 09:37:05 +0100
2587
2588cryptsetup (2:1.6.1-1ubuntu4) vivid; urgency=medium
2589
2590 * No change rebuild to get debug symbols for all architectures.
2591
2592 -- Brian Murray <brian@ubuntu.com> Wed, 03 Dec 2014 08:03:31 -0800
2593
2594cryptsetup (2:1.6.1-1ubuntu3) utopic; urgency=high
2595
2596 * No change rebuild against new dh_installinit, to call update-rc.d at
2597 postinst.
2598
2599 -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 28 May 2014 10:39:30 +0100
2600
2601cryptsetup (2:1.6.1-1ubuntu2) utopic; urgency=medium
2602
2603 * debian/askpass.c:
2604 - Fix bug (LP: #1301086) where askpass fails to restore terminal
2605 settings.
2606
2607 -- Robert Barabas <dc@0xdc.org> Fri, 18 Apr 2014 14:08:51 -0400
2608
2609cryptsetup (2:1.6.1-1ubuntu1) trusty; urgency=low
2610
2611 * Merge from debian unstable, remaining changes:
2612 - debian/control:
2613 + Bump initramfs-tools Suggests to Depends: so system is not
2614 potentially rendered unbootable.
2615 + Depend on plymouth.
2616
2617 - Invert the "busybox | busybox-static" Recommends, as the latter is
2618 the one we ship in main as part of the ubuntu-standard task.
2619
2620 - Remove hardcoded paths to udevadm (LP: #1184066).
2621
2622 - debian/initramfs/cryptroot-hook:
2623 + Do not unconditionally include cryptsetup utils in the initramfs.
2624 + Do not include any modules or utils in the initramfs, unless
2625 rootfs/resume devices are encrypted or CRYPTSETUP is set to 'y' in
2626 the initramfs.conf configuration file.
2627
2628 - debian/cryptsetup.maintscripts:
2629 + Migrate upstart jobs to new names.
2630
2631 -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Fri, 01 Nov 2013 16:48:57 +0000
2632
1799cryptsetup (2:1.6.1-1) unstable; urgency=low2633cryptsetup (2:1.6.1-1) unstable; urgency=low
18002634
1801 [ Milan Broz ]2635 [ Milan Broz ]
@@ -1837,6 +2671,50 @@ cryptsetup (2:1.6.1-1) unstable; urgency=low
18372671
1838 -- Jonas Meurer <mejo@debian.org> Fri, 28 Jun 2013 12:10:41 +02002672 -- Jonas Meurer <mejo@debian.org> Fri, 28 Jun 2013 12:10:41 +0200
18392673
2674cryptsetup (2:1.4.3-4ubuntu4) saucy; urgency=low
2675
2676 * debian/initramfs/cryptroot-hook:
2677 - Do not unconditionally include cryptsetup utils in the initramfs.
2678 - Do not include any modules or utils in the initramfs, unless
2679 rootfs/resume devices are encrypted or CRYPTSETUP is set to 'y' in
2680 the initramfs.conf configuration file.
2681
2682 -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Mon, 10 Jun 2013 16:25:46 +0100
2683
2684cryptsetup (2:1.4.3-4ubuntu3) saucy; urgency=low
2685
2686 * Remove hardcoded paths to udevadm (LP: #1184066).
2687
2688 -- Colin Watson <cjwatson@ubuntu.com> Tue, 28 May 2013 11:27:27 +0100
2689
2690cryptsetup (2:1.4.3-4ubuntu2) raring; urgency=low
2691
2692 * Invert the "busybox | busybox-static" Recommends, as the latter
2693 is the one we ship in main as part of the ubuntu-standard task.
2694
2695 -- Adam Conrad <adconrad@ubuntu.com> Fri, 16 Nov 2012 01:14:35 -0700
2696
2697cryptsetup (2:1.4.3-4ubuntu1) raring; urgency=low
2698
2699 * Merge from debian unstable, remaining changes:
2700 - debian/control:
2701 + Bump initramfs-tools Suggests to Depends: so system is not
2702 potentially rendered unbootable.
2703 + Depend on plymouth.
2704
2705 - init/upstart jobs:
2706 + Rename cryptddisks{,-early}.upstart jobs to
2707 cryptdisks-{enable,udev}.upstart, as we need both init & upstart jobs
2708 for now.
2709 + debian/cryptdisks{,-early}.init: Make the 'start' action of the init
2710 script a no-op, this should be handled entirely by the upstart job;
2711 and fix the LSB header to not declare this should be started in
2712 runlevel 'S'.
2713 + Do not install start symlinks for init scripts
2714 + NB! shutdown is still handled by the SystemV init scripts
2715
2716 -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Tue, 13 Nov 2012 11:17:57 +0000
2717
1840cryptsetup (2:1.4.3-4) unstable; urgency=medium2718cryptsetup (2:1.4.3-4) unstable; urgency=medium
18412719
1842 * change recommends for busybox to busybox | busybox-static. Thanks to2720 * change recommends for busybox to busybox | busybox-static. Thanks to
@@ -1869,6 +2747,50 @@ cryptsetup (2:1.4.3-3) unstable; urgency=medium
18692747
1870 -- Jonas Meurer <mejo@debian.org> Thu, 01 Nov 2012 15:34:09 +01002748 -- Jonas Meurer <mejo@debian.org> Thu, 01 Nov 2012 15:34:09 +0100
18712749
2750cryptsetup (2:1.4.3-2ubuntu1) quantal; urgency=low
2751
2752 * Merge from debian unstable (LP: #1015753), remaining changes:
2753 - debian/control:
2754 + Bump initramfs-tools Suggests to Depends: so system is not
2755 potentially rendered unbootable.
2756 + Depend on plymouth.
2757
2758 - init/upstart jobs:
2759 + Add debian/cryptdisks-{enable,udev}.upstart for bootup.
2760 + debian/cryptdisks{,-early}.init: Make the 'start' action of the init
2761 script a no-op, this should be handled entirely by the upstart job;
2762 and fix the LSB header to not declare this should be started in
2763 runlevel 'S'.
2764 + Do not install start symlinks for init scripts
2765 + NB! shutdown is still handled by the SystemV init scripts
2766
2767 * Rename cryptddisks{,-early}.upstart jobs back to
2768 cryptdisks-{enable,udev}.upstart, as we need both init & upstart jobs
2769 for now.
2770
2771 * Dropped Changes, included in Debian:
2772 - debian/control:
2773 + Split up package in cryptsetup and cryptsetup-bin. (LP: #343363).
2774
2775 - debian/cryptdisks.functions:
2776 + Do not overwrite existing filesystems when creating swap (LP: #474258).
2777 + Add aesni module when we have hardware encryption.
2778 + Call 'udevadm settle' before 'dmsetup rename' http://pad.lv/874774
2779 + Suppress "Starting init crypto disks" message in "init" phase, to
2780 avoid writing over fsck progress text.
2781 + new function, crypttab_start_one_disk, to look for the named source
2782 device in /etc/crypttab (by device name, UUID, or label) and start it
2783 if configured to do so
2784 + handle the case where crypttab contains a name for the source
2785 device that is not the kernel's preferred name for it (as is the case
2786 for LVs).
2787
2788 - debian/initramfs/cryptroot-hook:
2789 + Quiet warnings from find on arches that don't have all the
2790 kernel/{arch,crypto} bits we're testing for.
2791
2792 -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Tue, 21 Aug 2012 11:57:28 +0100
2793
1872cryptsetup (2:1.4.3-2) unstable; urgency=medium2794cryptsetup (2:1.4.3-2) unstable; urgency=medium
18732795
1874 * fix the shared library symbols magic: so far, the symbols file for2796 * fix the shared library symbols magic: so far, the symbols file for
@@ -1944,6 +2866,64 @@ cryptsetup (2:1.4.1-3) unstable; urgency=low
19442866
1945 -- Jonas Meurer <mejo@debian.org> Wed, 11 Apr 2012 23:55:35 +02002867 -- Jonas Meurer <mejo@debian.org> Wed, 11 Apr 2012 23:55:35 +0200
19462868
2869cryptsetup (2:1.4.1-2ubuntu4) precise; urgency=low
2870
2871 * Our swap creation can trigger udev change events, which means udev may be
2872 holding the device open at the time we try to call 'dmsetup rename' and
2873 cause the /subsequent/ events to be missed because of dmsetup creating
2874 device nodes by hand. So call 'udevadm settle' before 'dmsetup rename',
2875 to ensure blkid is out of the way first. This should ensure swap
2876 partitions are found by mountall in a non-racy manner. LP: #874774.
2877
2878 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 13 Apr 2012 20:23:21 -0700
2879
2880cryptsetup (2:1.4.1-2ubuntu3) precise; urgency=low
2881
2882 * Start cryptdisks-enable upstart job on 'or container', to let us
2883 simplify the udevtrigger job.
2884
2885 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 04 Apr 2012 17:02:00 -0700
2886
2887cryptsetup (2:1.4.1-2ubuntu2) precise; urgency=low
2888
2889 * Split up package in cryptsetup and cryptsetup-bin. (LP: #343363).
2890 * Do not overwrite existing filesystems when creating swap (LP: #474258).
2891 * Add aesni module when we have hardware encryption.
2892
2893 -- Jean-Louis Dupond <jean-louis@dupond.be> Mon, 12 Mar 2012 10:14:30 +0100
2894
2895cryptsetup (2:1.4.1-2ubuntu1) precise; urgency=low
2896
2897 [ Jean-Louis Dupond ]
2898 * Merge from debian unstable (LP: #776264), remaining changes:
2899 - debian/cryptdisks.functions: Suppress "Starting init crypto disks" message
2900 in "init" phase, to avoid writing over fsck progress text.
2901 - debian/cryptroot-hook: Quiet warnings from find on arches that
2902 don't have all the kernel/{arch,crypto} bits we're testing for.
2903 - debian/control:
2904 + Bump initramfs-tools Suggests to Depends: so system is not
2905 potentially rendered unbootable.
2906 + Depend on plymouth.
2907 - Add debian/cryptdisks-{enable,udev}.upstart.
2908 - debian/cryptdisks.functions:
2909 + new function, crypttab_start_one_disk, to look for the named source
2910 device in /etc/crypttab (by device name, UUID, or label) and start it
2911 if configured to do so
2912 - debian/cryptdisks{,-early}.init: Make the 'start' action of the init
2913 script a no-op, this should be handled entirely by the upstart job;
2914 and fix the LSB header to not declare this should be started in
2915 runlevel 'S'
2916 - debian/rules:
2917 + Do not install start symlinks for init scripts, and
2918 install debian/cryptdisks-{enable,udev}.upstart scripts.
2919
2920 [ Steve Langasek ]
2921 * debian/cryptdisks.functions: handle the case where crypttab contains a
2922 name for the source device that is not the kernel's preferred name for
2923 it (as is the case for LVs).
2924
2925 -- Jean-Louis Dupond <jean-louis@dupond.be> Thu, 08 Mar 2012 07:32:40 +0100
2926
1947cryptsetup (2:1.4.1-2) unstable; urgency=low2927cryptsetup (2:1.4.1-2) unstable; urgency=low
19482928
1949 * acknowledge NMU. Thanks to Michael Biebl. (closes: #659182)2929 * acknowledge NMU. Thanks to Michael Biebl. (closes: #659182)
@@ -2153,6 +3133,56 @@ cryptsetup (2:1.2.0-1) experimental; urgency=low
21533133
2154 -- Jonas Meurer <mejo@debian.org> Sun, 16 Jan 2011 01:01:03 +01003134 -- Jonas Meurer <mejo@debian.org> Sun, 16 Jan 2011 01:01:03 +0100
21553135
3136cryptsetup (2:1.1.3-4ubuntu3) precise; urgency=low
3137
3138 [ Pali Rohar ]
3139 * debian/cryptdisks.functions: Suppress "Starting init crypto disks" message
3140 in "init" phase, to avoid writing over fsck progress text.
3141
3142 -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 26 Oct 2011 09:16:15 +0200
3143
3144cryptsetup (2:1.1.3-4ubuntu2) oneiric; urgency=low
3145
3146 * debian/cryptroot-hook: Quiet warnings from find on arches that
3147 don't have all the kernel/{arch,crypto} bits we're testing for.
3148
3149 -- Adam Conrad <adconrad@ubuntu.com> Sat, 01 Oct 2011 00:33:00 -0600
3150
3151cryptsetup (2:1.1.3-4ubuntu1) natty; urgency=low
3152
3153 * Merge from debian unstable (LP: #682177), remaining changes:
3154 - debian/control:
3155 + Bump initramfs-tools Suggests to Depends: so system is not
3156 potentially rendered unbootable.
3157 + Depend on plymouth.
3158 - Add debian/cryptdisks-{enable,udev}.upstart.
3159 - debian/cryptdisks.functions:
3160 + new function, crypttab_start_one_disk, to look for the named source
3161 device in /etc/crypttab (by device name, UUID, or label) and start it
3162 if configured to do so
3163 + wrap the call to /lib/cryptsetup/askpass with watershed, to make sure
3164 we only ever have one of these running at a time; otherwise multiple
3165 invocations could steal each other's input and/or write over each
3166 other's output
3167 + when called by cryptdisks-enable, check that we don't already have a
3168 corresponding cryptdisks-udev job running (probably waiting for a
3169 passphrase); if there is, wait until it's finished before continuing.
3170 - debian/cryptdisks{,-early}.init: Make the 'start' action of the init
3171 script a no-op, this should be handled entirely by the upstart job;
3172 and fix the LSB header to not declare this should be started in
3173 runlevel 'S'
3174 - debian/cryptsetup.postinst: Remove any symlinks from /etc/rcS.d on
3175 upgrade.
3176 - debian/rules:
3177 + Do not install start symlinks for init scripts, and
3178 install debian/cryptdisks-{enable,udev}.upstart scripts.
3179 + link dynamically against libgcrypt and libgpg-error.
3180 - Add debian/cryptsetup.apport: Apport package hook. Install in
3181 debian/rules and create dir in debian/cryptsetup.dirs.
3182 - debian/cryptsetup.postrm: call update-initramfs on package removal.
3183
3184 -- Lorenzo De Liso <blackz@ubuntu.com> Sat, 27 Nov 2010 17:37:43 +0100
3185
2156cryptsetup (2:1.1.3-4) unstable; urgency=high3186cryptsetup (2:1.1.3-4) unstable; urgency=high
21573187
2158 * bump standards-version to 3.9.1, no changes required3188 * bump standards-version to 3.9.1, no changes required
@@ -2258,6 +3288,69 @@ cryptsetup (2:1.1.3-1) unstable; urgency=low
22583288
2259 -- Jonas Meurer <mejo@debian.org> Sat, 10 Jul 2010 14:32:40 +02003289 -- Jonas Meurer <mejo@debian.org> Sat, 10 Jul 2010 14:32:40 +0200
22603290
3291cryptsetup (2:1.1.2-1ubuntu1) maverick; urgency=low
3292
3293 * Merge from Debian unstable (LP: #594365). Remaining changes:
3294 - debian/control:
3295 + Bump initramfs-tools Suggests to Depends: so system is not
3296 potentially rendered unbootable.
3297 + Depend on plymouth.
3298 - Add debian/cryptdisks-{enable,udev}.upstart.
3299 - debian/cryptdisks.functions:
3300 + new function, crypttab_start_one_disk, to look for the named source
3301 device in /etc/crypttab (by device name, UUID, or label) and start it
3302 if configured to do so
3303 + wrap the call to /lib/cryptsetup/askpass with watershed, to make sure
3304 we only ever have one of these running at a time; otherwise multiple
3305 invocations could steal each other's input and/or write over each
3306 other's output
3307 + initially create the device under a temporary name and rename it only
3308 at the end using 'dmsetup rename', to ensure that upstart/mountall
3309 doesn't see our device before it's ready to go.
3310 + do_tmp should mount under /var/run/cryptsetup for changing the
3311 permissions of the filesystem root, not directly on /tmp, since
3312 mounting on /tmp a) is racy, b) confuses mountall something fierce.
3313 + when called by cryptdisks-enable, check that we don't already have a
3314 corresponding cryptdisks-udev job running (probably waiting for a
3315 passphrase); if there is, wait until it's finished before continuing.
3316 - debian/cryptdisks{,-early}.init: Make the 'start' action of the init
3317 script a no-op, this should be handled entirely by the upstart job;
3318 and fix the LSB header to not declare this should be started in
3319 runlevel 'S'
3320 - debian/cryptsetup.postinst: Remove any symlinks from /etc/rcS.d on
3321 upgrade.
3322 - debian/rules: Do not install start symlinks for init scripts, and
3323 install debian/cryptdisks-{enable,udev}.upstart scripts.
3324 - Add debian/cryptsetup.apport: Apport package hook. Install in
3325 debian/rules and create dir in debian/cryptsetup.dirs.
3326 - debian/rules: link dynamically against libgcrypt and libgpg-error.
3327 - debian/cryptsetup.postrm: call update-initramfs on package removal.
3328 * Dropped changes, merged/superseded in Debian:
3329 - Add ext4 support to passdev.
3330 - cryptroot-hook: don't call copy_modules_dir with empty arguments when
3331 archcrypto isn't found
3332 - Set USPLASH=y and FRAMEBUFFER=y in the hook config to pull plymouth into
3333 the initramfs.
3334 - change interaction to use plymouth directly if present, and if not, to
3335 fall back to /lib/cryptsetup/askpass as before
3336 - cryptdisks.functions: replace 'echo -e' bashism with 'printf'.
3337 - debian/initramfs/cryptroot-script: if plymouth is present in the
3338 initramfs, use this directly, bypassing the cryptsetup askpass script
3339 - debian/initramfs/cryptroot-hook: Properly anchor our regexps when
3340 grepping /etc/crypttab so that we don't incorrectly match device names
3341 that are substrings of one another.
3342 - debian/initramfs/cryptroot-script: Don't leak /conf/conf.d/cryptroot
3343 file descriptor to subprocesses.
3344 - Fix grammar error in debian/initramfs/cryptroot-script
3345 ("setup" -> "set up")
3346 - debian/initramfs/cryptroot-script: Fix this to work with current
3347 initramfs-tools:
3348 + Source /scripts/functions after checking for prerequisites.
3349 + prereqs(): Do not assume we are running within initramfs, and
3350 calculate relative path correctly.
3351
3352 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 14 Jun 2010 21:47:28 -0700
3353
2261cryptsetup (2:1.1.2-1) unstable; urgency=low3354cryptsetup (2:1.1.2-1) unstable; urgency=low
22623355
2263 * new upstream release, changes include:3356 * new upstream release, changes include:
@@ -2375,6 +3468,171 @@ cryptsetup (2:1.1.0-1) unstable; urgency=low
23753468
2376 -- Jonas Meurer <mejo@debian.org> Mon, 08 Mar 2010 14:15:35 +01003469 -- Jonas Meurer <mejo@debian.org> Mon, 08 Mar 2010 14:15:35 +0100
23773470
3471cryptsetup (2:1.1.0~rc2-1ubuntu14) maverick; urgency=low
3472
3473 [ David Stansby ]
3474 * Fix grammar error in debian/initramfs/cryptroot-script
3475 ("setup" -> "set up") (LP: #578896)
3476
3477 -- James Westby <james.westby@ubuntu.com> Mon, 17 May 2010 13:33:40 +0100
3478
3479cryptsetup (2:1.1.0~rc2-1ubuntu13) lucid; urgency=low
3480
3481 * debian/initramfs/cryptroot-script: Don't leak /conf/conf.d/cryptroot
3482 file descriptor to subprocesses.
3483
3484 -- Colin Watson <cjwatson@ubuntu.com> Mon, 29 Mar 2010 22:18:36 +0100
3485
3486cryptsetup (2:1.1.0~rc2-1ubuntu12) lucid; urgency=low
3487
3488 * debian/initramfs/cryptroot-hook: Properly anchor our regexps when
3489 grepping /etc/crypttab so that we don't incorrectly match device names
3490 that are substrings of one another.
3491 * debian/cryptdisks-{enable,udev}.conf, debian/control: drop
3492 'console output' and add a hard dependency on plymouth instead of
3493 watershed, to avoid spitting extra messages to the console.
3494
3495 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 18 Feb 2010 06:19:19 -0800
3496
3497cryptsetup (2:1.1.0~rc2-1ubuntu11) lucid; urgency=low
3498
3499 * Set FRAMEBUFFER=y in the file that we actually ship.
3500 * debian/cryptsetup.postrm: call update-initramfs on package removal.
3501 LP: #468228.
3502
3503 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 25 Jan 2010 03:07:52 -0800
3504
3505cryptsetup (2:1.1.0~rc2-1ubuntu10) lucid; urgency=low
3506
3507 * cryptdisks.functions: replace 'echo -e' bashism with 'printf'.
3508 * cryptdisks.functions: when called by cryptdisks-enable, check that we
3509 don't already have a corresponding cryptdisks-udev job running (probably
3510 waiting for a passphrase); if there is, wait until it's finished before
3511 continuing.
3512
3513 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 21 Jan 2010 14:57:21 +0000
3514
3515cryptsetup (2:1.1.0~rc2-1ubuntu9) lucid; urgency=low
3516
3517 * Set FRAMEBUFFER=y in the hook config as well, to pull plymouth into the
3518 initramfs.
3519 * cryptdisks.functions, debian/initramfs/cryptroot-script: fix the
3520 invocation of plymouth, so that we actually get proper passphrase prompts
3521 (once bug #496765 is fixed).
3522
3523 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 16 Jan 2010 02:32:41 -0800
3524
3525cryptsetup (2:1.1.0~rc2-1ubuntu8) lucid; urgency=low
3526
3527 * cryptdisks.functions: do_tmp should mount under /var/run/cryptsetup for
3528 changing the permissions of the filesystem root, not directly on /tmp,
3529 since mounting on /tmp a) is racy, b) confuses mountall something fierce.
3530 LP: #475936.
3531
3532 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 22 Dec 2009 20:24:28 +0000
3533
3534cryptsetup (2:1.1.0~rc2-1ubuntu7) lucid; urgency=low
3535
3536 * Depend on watershed.
3537
3538 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 22 Dec 2009 01:37:36 +0000
3539
3540cryptsetup (2:1.1.0~rc2-1ubuntu6) lucid; urgency=low
3541
3542 [ Steve Langasek ]
3543 * Fix the LSB header in the init scripts, now that we don't install to
3544 rcS.d.
3545
3546 [ Martin Pitt ]
3547 * debian/initramfs/cryptroot-script: Fix this to work with current
3548 initramfs-tools:
3549 - Source /scripts/functions after checking for prerequisites.
3550 - prereqs(): Do not assume we are running within initramfs, and calculate
3551 relative path correctly.
3552
3553 -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 18 Dec 2009 17:07:07 +0100
3554
3555cryptsetup (2:1.1.0~rc2-1ubuntu5) lucid; urgency=low
3556
3557 * Rename the upstart job introduced in the previous upload to
3558 cryptdisks-udev and restore the previous version of the job as
3559 cryptdisks-enable, to run at the end of udev coldplugging as before;
3560 this isn't entirely race-free, but should nevertheless give us the
3561 two passes needed to cover devices that are decrypted using keys stored
3562 on other encrypted disks. LP: #443980.
3563
3564 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 16 Dec 2009 06:41:30 +0000
3565
3566cryptsetup (2:1.1.0~rc2-1ubuntu4) lucid; urgency=low
3567
3568 [ Steve Langasek ]
3569 * debian/initramfs/cryptroot-script: if plymouth is present in the
3570 initramfs, use this directly, bypassing the cryptsetup askpass script;
3571 but keep support for these other frontends around on a transitional
3572 basis.
3573 * debian/cryptdisks.functions:
3574 - change interaction to use plymouth directly if present, and if not, to
3575 fall back to /lib/cryptsetup/askpass as before
3576 - wrap the call to /lib/cryptsetup/askpass with watershed, to make sure
3577 we only ever have one of these running at a time; otherwise multiple
3578 invocations could steal each other's input and/or write over each
3579 other's output
3580 - new function, crypttab_start_one_disk, to look for the named source
3581 device in /etc/crypttab (by device name, UUID, or label) and start it
3582 if configured to do so
3583 * debian/cryptdisks-enable.upstart: run the upstart job once for each block
3584 device, using the new crypttab_start_one_disk function, triggered by udev;
3585 this doesn't eliminate the possibility of a race with gdm when the
3586 decrypted volume isn't a 'bootwait' mount point (since gdm kills
3587 plymouth), but it does eliminate the race between udev and cryptsetup.
3588 LP: #454898.
3589 * debian/cryptdisks-enable.upstart: check that the package is installed
3590 and exit gracefully if it's not. LP: #435814
3591 * debian/cryptdisk.functions: initially create the device under a temporary
3592 name and rename it only at the end using 'dmsetup rename', to ensure that
3593 upstart/mountall doesn't see our device before it's ready to go.
3594 LP: #475936.
3595
3596 [ Colin Watson ]
3597 * Add ext4 support to passdev.
3598
3599 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 15 Dec 2009 18:05:45 -0800
3600
3601cryptsetup (2:1.1.0~rc2-1ubuntu3) lucid; urgency=low
3602
3603 * cryptroot-hook: Use if [ -n … ] instead of if ! test -z ….
3604
3605 -- Loïc Minier <loic.minier@ubuntu.com> Sat, 12 Dec 2009 11:32:52 +0100
3606
3607cryptsetup (2:1.1.0~rc2-1ubuntu2) lucid; urgency=low
3608
3609 * cryptroot-hook: dont call copy_modules_dir with empty arguments when
3610 archcrypto isnt found (LP: #495161)
3611
3612 -- Oliver Grawert <ogra@ubuntu.com> Fri, 11 Dec 2009 14:39:00 +0100
3613
3614cryptsetup (2:1.1.0~rc2-1ubuntu1) lucid; urgency=low
3615
3616 * Merge with Debian testing. Remaining Ubuntu changes:
3617 - debian/rules: cryptsetup is linked dynamically against libgcrypt and
3618 libgpg-error.
3619 - Upstart migration:
3620 + Add debian/cryptdisks-enable.upstart.
3621 + debian/cryptdisks{,-early}.init: Make the 'start' action of the init
3622 script a no-op, this should be handled entirely by the upstart job.
3623 (LP #473615)
3624 + debian/cryptsetup.postinst: Remove any symlinks from /etc/rcS.d on
3625 upgrade.
3626 + debian/rules: Do not install start symlinks for those two, and install
3627 debian/cryptdisks-enable.upstart scripts.
3628 - Add debian/cryptsetup.apport: Apport package hook. Install in
3629 debian/rules, and create dir in debian/cryptsetup.dirs.
3630 - Start usplash in initramfs, since we need it for fancy passphrase input:
3631 + debian/initramfs/cryptroot-conf, debian/initramfs-conf.d: USPLASH=y
3632 + debian/control: Bump initramfs-tools Suggests to Depends:.
3633
3634 -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 11 Nov 2009 15:04:27 +0100
3635
2378cryptsetup (2:1.1.0~rc2-1) unstable; urgency=low3636cryptsetup (2:1.1.0~rc2-1) unstable; urgency=low
23793637
2380 * new upstream release candidate (1.1.0-rc2), highlights include:3638 * new upstream release candidate (1.1.0-rc2), highlights include:
@@ -2548,6 +3806,80 @@ cryptsetup (2:1.0.7~rc1-1) unstable; urgency=low
25483806
2549 -- Jonas Meurer <mejo@debian.org> Sat, 04 Jul 2009 15:52:06 +02003807 -- Jonas Meurer <mejo@debian.org> Sat, 04 Jul 2009 15:52:06 +0200
25503808
3809cryptsetup (2:1.0.6+20090405.svn49-1ubuntu8) lucid; urgency=low
3810
3811 [ Steve Langasek ]
3812 * Make the 'start' action of the init script a no-op, this should be
3813 handled entirely by the upstart job now; and remove any symlinks from
3814 /etc/rcS.d on upgrade. LP: #473615.
3815
3816 [ Reinhard Tartler ]
3817 * Add an apport hook
3818 * import the blkid and un_blkid from debian, LP: #446517
3819 * also use this script by default (setting in /etc/default/cryptdisks)
3820
3821 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 04 Nov 2009 12:06:47 +0000
3822
3823cryptsetup (2:1.0.6+20090405.svn49-1ubuntu7) karmic; urgency=low
3824
3825 * Reupload previous version, siretart had left changes in bzr which
3826 weren't documented in the changelog and caused FTBFS.
3827
3828 -- Scott James Remnant <scott@ubuntu.com> Wed, 14 Oct 2009 13:57:59 +0100
3829
3830cryptsetup (2:1.0.6+20090405.svn49-1ubuntu6) karmic; urgency=low
3831
3832 [ Steve Langasek ]
3833 * Move the Debian Vcs- fields aside.
3834
3835 [ Scott James Remnant ]
3836 * debian/cryptdisks-enable.upstart: Don't overcompensate for my idiocy,
3837 cryptsetup should not need a controlling terminal, just a terminal
3838 is fine. May fix LP: #439138.
3839
3840 -- Scott James Remnant <scott@ubuntu.com> Wed, 14 Oct 2009 04:52:16 +0100
3841
3842cryptsetup (2:1.0.6+20090405.svn49-1ubuntu4) karmic; urgency=low
3843
3844 * debian/cryptdisks-enable.upstart: Things that often help include
3845 not setting stdin/out to /dev/null, so you can actually type the
3846 passphrase. I am an idiot. LP: #430496.
3847
3848 -- Scott James Remnant <scott@ubuntu.com> Thu, 17 Sep 2009 17:58:01 +0100
3849
3850cryptsetup (2:1.0.6+20090405.svn49-1ubuntu3) karmic; urgency=low
3851
3852 * debian/cryptdisks-enable.upstart: add upstart job to enable encrypted
3853 disks once we've finished probing for udev devices, so that mountall
3854 can use them. LP: #430496.
3855
3856 -- Scott James Remnant <scott@ubuntu.com> Thu, 17 Sep 2009 00:04:00 +0100
3857
3858cryptsetup (2:1.0.6+20090405.svn49-1ubuntu2) karmic; urgency=low
3859
3860 * debian/initramfs/cryptroot-conf: declare that we want usplash included
3861 in the initramfs whenever this package is installed. LP: #427356.
3862
3863 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 15 Sep 2009 08:43:15 -0700
3864
3865cryptsetup (2:1.0.6+20090405.svn49-1ubuntu1) karmic; urgency=low
3866
3867 * Merge from debian unstable, remaining changes:
3868 - Ubuntu specific:
3869 + debian/rules: link dynamically for better security supportability and
3870 smaller packages.
3871 + debian/control: Depend on initramfs-tools so system is not potentially
3872 rendered unbootable.
3873 - debian/initramfs/cryptroot-script wait for encrypted device to appear,
3874 report with log_*_msg (debian bug 488271).
3875 - debian/initramfs/cryptroot-hook: fix support for UUID and LABEL
3876 correlation between fstab and crypttab (debian bug 522041).
3877 - debian/askpass.c, debian/initramfs/cryptroot-script: using newline
3878 escape in passphrase prompt to avoid line-wrapping (debian bug 528133).
3879 * Drop 04_fix_udevsettle_call.patch: fixed upstream differently.
3880
3881 -- Kees Cook <kees@ubuntu.com> Sun, 10 May 2009 17:29:32 -0700
3882
2551cryptsetup (2:1.0.6+20090405.svn49-1) unstable; urgency=low3883cryptsetup (2:1.0.6+20090405.svn49-1) unstable; urgency=low
25523884
2553 * New upstream svn snapshot. Highlights include:3885 * New upstream svn snapshot. Highlights include:
@@ -2589,6 +3921,67 @@ cryptsetup (2:1.0.6+20090405.svn49-1) unstable; urgency=low
25893921
2590 -- Jonas Meurer <mejo@debian.org> Mon, 06 Apr 2009 08:49:14 +02003922 -- Jonas Meurer <mejo@debian.org> Mon, 06 Apr 2009 08:49:14 +0200
25913923
3924cryptsetup (2:1.0.6-7ubuntu7) jaunty; urgency=low
3925
3926 * debian/control: Depend on initramfs-tools so system is not potentially
3927 rendered unbootable (LP: #358654).
3928
3929 -- Kees Cook <kees@ubuntu.com> Thu, 09 Apr 2009 12:29:31 -0700
3930
3931cryptsetup (2:1.0.6-7ubuntu6) jaunty; urgency=low
3932
3933 * debian/initramfs/cryptroot-script: we don't require vol_id to understand
3934 the encrypted device, but we should check the device is fully up first
3935 before continuing by calling udevadm settle. LP: #291752.
3936
3937 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 07 Mar 2009 21:39:14 -0800
3938
3939cryptsetup (2:1.0.6-7ubuntu5) jaunty; urgency=low
3940
3941 * debian/initramfs/cryptroot-hook: fix support for UUID and LABEL correlation
3942 between fstab and crypttab (LP: #287879).
3943
3944 -- TJ <ubuntu@tjworld.net> Mon, 16 Feb 2009 23:00:00 +0000
3945
3946cryptsetup (2:1.0.6-7ubuntu4) jaunty; urgency=low
3947
3948 * debian/askpass.c: also handle newline escape code in console prompt.
3949
3950 -- Kees Cook <kees@ubuntu.com> Sun, 15 Feb 2009 08:57:05 -0800
3951
3952cryptsetup (2:1.0.6-7ubuntu3) jaunty; urgency=low
3953
3954 [ https://launchpad.net/~svenkata ]
3955 * debian/checks/un_vol_id: dynamically build the "unknown volume type"
3956 string, to allow for encrypted swap, LP: #316607
3957
3958 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 12 Feb 2009 16:57:30 -0600
3959
3960cryptsetup (2:1.0.6-7ubuntu2) jaunty; urgency=low
3961
3962 * debian/askpass.c: handle newline escape code in password prompt.
3963 * debian/initramfs/cryptroot-script: add newline to split cryptroot
3964 password prompt onto two lines for readability (LP: #326900).
3965
3966 -- Kees Cook <kees@ubuntu.com> Sun, 08 Feb 2009 07:26:01 -0800
3967
3968cryptsetup (2:1.0.6-7ubuntu1) jaunty; urgency=low
3969
3970 * Merge from debian unstable, remaining changes:
3971 - debian/initramfs/cryptroot-script:
3972 - must source /scripts/functions to get the log_*_msg() functions.
3973 - wait for encrypted device to show up (LP 164044, 291752).
3974 - disable error message 'failed to setup lvm device' (LP 151532).
3975 - debian/rules:
3976 - fix location of ltmain.sh (Ubuntu-specific until libtool 2.2.x is
3977 in Debian unstable).
3978 - link dynamically (LP 62751).
3979 - add 04_fix_udevsettle_call.patch: fix path to binary for udevsettle.
3980 * Revert versioned build-depency on libdevmapper-dev, since Ubuntu's
3981 version is higher now.
3982
3983 -- Kees Cook <kees@ubuntu.com> Tue, 06 Jan 2009 13:00:16 -0800
3984
2592cryptsetup (2:1.0.6-7) unstable; urgency=medium3985cryptsetup (2:1.0.6-7) unstable; urgency=medium
25933986
2594 * Add patches/01_gettext_package.patch: Remove -luks from GETTEXT_PACKAGE3987 * Add patches/01_gettext_package.patch: Remove -luks from GETTEXT_PACKAGE
@@ -2633,6 +4026,38 @@ cryptsetup (2:1.0.6-7) unstable; urgency=medium
26334026
2634 -- Jonas Meurer <mejo@debian.org> Wed, 17 Dec 2008 21:25:45 +01004027 -- Jonas Meurer <mejo@debian.org> Wed, 17 Dec 2008 21:25:45 +0100
26354028
4029cryptsetup (2:1.0.6-6ubuntu2.1) intrepid-proposed; urgency=low
4030
4031 * debian/initramfs/cryptroot-script: do not require that vol_id
4032 can parse the encrypted device as valid (LP: #291752).
4033
4034 -- Kees Cook <kees@ubuntu.com> Fri, 31 Oct 2008 13:10:06 -0700
4035
4036cryptsetup (2:1.0.6-6ubuntu2) intrepid; urgency=low
4037
4038 * Fixes for (LP: #272301)
4039 * debian/initramfs/cryptroot-script: must source /scripts/functions to get
4040 the log_*_msg() functions
4041 * 04_fix_udevsettle_call.patch: fix path to binary for udevsettle
4042
4043 -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 19 Sep 2008 18:03:28 -0500
4044
4045cryptsetup (2:1.0.6-6ubuntu1) intrepid; urgency=low
4046
4047 * drop almost all ubuntu specific changes from the cryptsetup package,
4048 because they have been merged in debian. Thanks a lot!
4049 * merge from debian, remaining changes:
4050 - remove versioned build-depency on libdevmapper-dev, we are using a
4051 rather sophisticated loop for making sure the root filesystem appears.
4052 * debian/rules: fix location of ltmain.sh
4053 * don't exit usplash anymore in the init script. LP: #110970, #139363
4054 * Disable error message 'failed to setup lvm device'. It is harmless, and
4055 caused by the fact that the udev rules provided by lvm2 are setting up
4056 the lvm on their own. In debian the scripts here are responsible for this
4057 but obviously fail in ubuntu. LP: #151532
4058
4059 -- Reinhard Tartler <siretart@tauware.de> Sat, 30 Aug 2008 17:52:16 +0200
4060
2636cryptsetup (2:1.0.6-6) unstable; urgency=high4061cryptsetup (2:1.0.6-6) unstable; urgency=high
26374062
2638 * Don't cat keyfile into pipe for do_noluks(). cryptsetup handles4063 * Don't cat keyfile into pipe for do_noluks(). cryptsetup handles
@@ -2734,6 +4159,79 @@ cryptsetup (2:1.0.6-3) unstable; urgency=low
27344159
2735 -- Jonas Meurer <mejo@debian.org> Mon, 07 Jul 2008 00:30:07 +02004160 -- Jonas Meurer <mejo@debian.org> Mon, 07 Jul 2008 00:30:07 +0200
27364161
4162cryptsetup (2:1.0.6-2ubuntu7) intrepid; urgency=low
4163
4164 * reintroduce changes from 2:1.0.6-2ubuntu5 that have been accidentally
4165 dropped in version 2:1.0.6-2ubuntu6.
4166
4167 -- Reinhard Tartler <siretart@tauware.de> Fri, 20 Jun 2008 15:15:54 +0200
4168
4169cryptsetup (2:1.0.6-2ubuntu6) intrepid; urgency=low
4170
4171 [ Kjell Braden ]
4172 * load scripts/functions for log_{begin,end}_msg
4173 * debian/initramfs/cryptroot-script: wait for the cryptsource, not the resulting mapped root device
4174 * debian/initramfs/cryptroot-hook: copy binaries to the right directory
4175
4176 [ Reinhard Tartler ]
4177 * remove versioned build-depency on libdevmapper-dev, we are using a
4178 rather sophisticated loop for making sure the root filesystem appears.
4179
4180 -- Reinhard Tartler <siretart@tauware.de> Wed, 18 Jun 2008 00:26:43 +0200
4181
4182cryptsetup (2:1.0.6-2ubuntu5) intrepid; urgency=low
4183
4184 * Okay, I give up. include preprocessed manpages and adapt
4185 debian/rules to easily produce those.
4186 ATTENTION: on subsequent uploads, make sure that the manpages are
4187 available and up-to-date.
4188
4189 -- Reinhard Tartler <siretart@tauware.de> Sun, 15 Jun 2008 13:33:07 +0200
4190
4191cryptsetup (2:1.0.6-2ubuntu4) intrepid; urgency=low
4192
4193 * also use local dtd in debian/doc/variables.xml.in.
4194
4195 -- Reinhard Tartler <siretart@tauware.de> Sun, 15 Jun 2008 12:55:42 +0200
4196
4197cryptsetup (2:1.0.6-2ubuntu3) intrepid; urgency=low
4198
4199 * try harder to fix FTBFS.
4200
4201 -- Reinhard Tartler <siretart@tauware.de> Sun, 15 Jun 2008 11:42:54 +0200
4202
4203cryptsetup (2:1.0.6-2ubuntu2) intrepid; urgency=low
4204
4205 * build docbook documentation using local dtds instead of trying to
4206 download them at buildtime. Fixes FTBFS.
4207
4208 -- Reinhard Tartler <siretart@tauware.de> Sun, 15 Jun 2008 11:12:28 +0200
4209
4210cryptsetup (2:1.0.6-2ubuntu1) intrepid; urgency=low
4211
4212 * Merge new debian version. Remaining changes:
4213 - Add XSBC-Vcs-Bzr tag to indicate that this package is managed using
4214 bzr on launchpad.
4215 - debian/rules: cryptsetup is linked dynamically against libgcrypt and
4216 libgpg-error.
4217 - cryptdisks.functions: stop usplash on user input. LP #62751
4218 - Parse comments in lines not starting with '#', LP #185380
4219 - If the encrypted source device hasn't shown up yet, give it a
4220 little while to deal with removable devices. LP #164044
4221 * Depend on race-free version of libdevmapper, thus making udevsettle
4222 call from cryptsetup binary unnecessary. Dropping patch
4223 debian/patches/06_run_udevsettle.patch
4224 * remove patch from LP #73862, loading optimized modules has been solved
4225 in debian in another way.
4226 * cryptdisk.functions: remove spurious call to load_optimized_module.
4227 LP: #239946
4228 * bugfix: make regex work if keyfile has extended attributes. LP: #231339.
4229 * remove patch in cryptdisks.functions for rexecing the script itself for
4230 ensuring that a tty is always available. (See LP #58794.) According to
4231 Scott, this is not necessary anymore.
4232
4233 -- Reinhard Tartler <siretart@tauware.de> Sat, 14 Jun 2008 23:28:51 +0200
4234
2737cryptsetup (2:1.0.6-2) unstable; urgency=low4235cryptsetup (2:1.0.6-2) unstable; urgency=low
27384236
2739 [ Jonas Meurer ]4237 [ Jonas Meurer ]
@@ -2759,6 +4257,54 @@ cryptsetup (2:1.0.6-2) unstable; urgency=low
27594257
2760 -- David Härdeman <david@hardeman.nu> Mon, 26 May 2008 08:12:32 +02004258 -- David Härdeman <david@hardeman.nu> Mon, 26 May 2008 08:12:32 +0200
27614259
4260cryptsetup (2:1.0.6-1ubuntu4) intrepid; urgency=low
4261
4262 [ Kjell Braden ]
4263 * Fix configuration parsing (LP: #239808)
4264
4265 [ Reinhard Tartler ]
4266 * cryptroot-script: use 'echo' instead of 'log_begin_msg' (LP: #237723)
4267
4268 -- Reinhard Tartler <siretart@tauware.de> Fri, 13 Jun 2008 21:26:17 +0200
4269
4270cryptsetup (2:1.0.6-1ubuntu3) intrepid; urgency=low
4271
4272 * Parse comments in lines not starting with '#', LP: #185380
4273 * in cryptroot hook, don't rely on 'udevadm settle' to wait long enough
4274 for the cryptdevice to appear. Reimplement the busy waiting loop found
4275 while waiting for the root file system. Patch based on work by Swâmi
4276 Petaramesh. LP: #164044
4277 * debian/crypdisks.functions: call 'env' with full path. LP: #178829.
4278
4279 -- Reinhard Tartler <siretart@tauware.de> Mon, 26 May 2008 22:12:32 +0200
4280
4281cryptsetup (2:1.0.6-1ubuntu2) intrepid; urgency=low
4282
4283 * Simplify the patch in debian/cryptdisks.functions that stops usplash
4284 before asking for a passphrase.
4285
4286 -- Reinhard Tartler <siretart@tauware.de> Mon, 26 May 2008 20:18:14 +0200
4287
4288cryptsetup (2:1.0.6-1ubuntu1) intrepid; urgency=low
4289
4290 * Merge new debian version. Remaining changes:
4291 - cryptsetup is linked dynamically against libgcrypt and libgpg-error.
4292 - stop usplash on user input. LP #62751
4293 - debian/cryptdisks.functions: Always output and read from the console.
4294 LP #58794.
4295 - Add XSBC-Vcs-Bzr tag to indicate that this package is managed using
4296 bzr on launchpad.
4297 - debian/initramfs/cryptroot-hook: LP #73862
4298 Added patch to install aes optimized cypher module
4299 - try to load optimized cypher module in cryptsetup.functions as well,
4300 because cryptroot-hook is only executed when we really have a
4301 cryptoroot.
4302 * other ubuntu changes have been merged into debian. Please report bugs
4303 if you believe some patches have been dropped.
4304 * removed 07_typos_fix.patch, has been reviewed and applied upstream.
4305
4306 -- Reinhard Tartler <siretart@tauware.de> Sun, 25 May 2008 22:52:30 +0200
4307
2762cryptsetup (2:1.0.6-1) unstable; urgency=low4308cryptsetup (2:1.0.6-1) unstable; urgency=low
27634309
2764 [ Jonas Meurer ]4310 [ Jonas Meurer ]
@@ -2890,6 +4436,138 @@ cryptsetup (2:1.0.6~pre1-1) unstable; urgency=low
28904436
2891 -- Jonas Meurer <mejo@debian.org> Thu, 06 Dec 2007 15:56:05 +01004437 -- Jonas Meurer <mejo@debian.org> Thu, 06 Dec 2007 15:56:05 +0100
28924438
4439cryptsetup (2:1.0.5-2ubuntu12) hardy; urgency=low
4440
4441 * added debian/patches/07_typos_fix.dpatch: fixed typos in man pages. (LP: #164181)
4442
4443 -- Bruno Barrera Yever <bbyever@gmail.com> Mon, 07 Apr 2008 18:43:05 -0500
4444
4445cryptsetup (2:1.0.5-2ubuntu11) hardy; urgency=low
4446
4447 * debian/initramfs/cryptroot-script: Do show the disk name after all, since
4448 some people use multiple encrypted partitions as LVM PVs. (LP: #201413)
4449
4450 -- Martin Pitt <martin.pitt@ubuntu.com> Sun, 06 Apr 2008 11:54:41 -0600
4451
4452cryptsetup (2:1.0.5-2ubuntu10) hardy; urgency=low
4453
4454 * debian/initramfs/cryptroot-script: Do not mention the name of the
4455 encrypted device. It is just technobabble anyway (sda4_crypt), and there
4456 is just one root partition ever, so it is not needed to tell apart
4457 different partitions. From a security POV, someone who can change your
4458 initramfs to boot a different root partition can just as well change the
4459 strings, too. (LP: #201413)
4460
4461 -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 02 Apr 2008 15:51:53 +0200
4462
4463cryptsetup (2:1.0.5-2ubuntu9) hardy; urgency=low
4464
4465 * debian/scripts/luksformat: Use 256 bit key size by default.
4466 (LP: #78508)
4467 * debian/patches/02_manpage.dpatch: Clarify default key sizes (128 for
4468 luksFormat and 256 for create) in cryptsetup.8. (side-note in LP #78508)
4469
4470 -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 27 Feb 2008 17:43:46 +0100
4471
4472cryptsetup (2:1.0.5-2ubuntu8) hardy; urgency=low
4473
4474 * Fix -x calls and access() call.
4475
4476 -- Scott James Remnant <scott@ubuntu.com> Fri, 14 Dec 2007 16:54:53 +0000
4477
4478cryptsetup (2:1.0.5-2ubuntu7) hardy; urgency=low
4479
4480 * debian/initramfs/cryptroot-script: call udevadm instead of udevsettle
4481 * debian/patches/06_call_udevsettle.dpatch: likewise
4482
4483 -- Scott James Remnant <scott@ubuntu.com> Fri, 14 Dec 2007 16:11:36 +0000
4484
4485cryptsetup (2:1.0.5-2ubuntu6) hardy; urgency=low
4486
4487 * Make cryptsetup understand devices specified by UUID=... or LABEL=
4488 in crypttab. (LP: #153597)
4489
4490 -- Andrea Colangelo <warp10@libero.it> Mon, 29 Oct 2007 18:22:51 +0100
4491
4492cryptsetup (2:1.0.5-2ubuntu5) hardy; urgency=low
4493
4494 * reenable additional udevsettle calls in cryptroot hook from
4495 https://launchpad.net/bugs/85640, LP: #132373.
4496 * change maintainer to ubuntu-core-dev.
4497 * use Vcs-Bzr instead of XSCB-Vcs-Bzr header in debian/control.
4498
4499 -- Reinhard Tartler <siretart@tauware.de> Thu, 08 Nov 2007 23:52:19 +0100
4500
4501cryptsetup (2:1.0.5-2ubuntu4) hardy; urgency=low
4502
4503 * reapply changes from version 2:1.0.5-2ubuntu2, got dropped with last
4504 upload. Sorry, pitti.
4505 * convert patch to lib/libdevmapper.c to a dpatch.
4506
4507 -- Reinhard Tartler <siretart@tauware.de> Sun, 04 Nov 2007 21:42:43 +0100
4508
4509cryptsetup (2:1.0.5-2ubuntu3) hardy; urgency=low
4510
4511 * RELIABILY FIX: lib/libdevmapper.c: Ensure that pending device creation
4512 events are being processed by calling /sbin/udevsettle. Patch based on
4513 OpenSUSE bug #285478, LP: #132373.
4514 * Based on the change above, the patch from LP #85640 is no longer needed.
4515 dropping the relevant parts.
4516 * Fix debian/rules to not fail to build if autom4te.cache is left behind
4517 from a previous incomplete build.
4518
4519 -- Reinhard Tartler <siretart@tauware.de> Fri, 02 Nov 2007 20:53:31 +0100
4520
4521cryptsetup (2:1.0.5-2ubuntu2) gutsy; urgency=low
4522
4523 * debian/initramfs/cryptroot-script:
4524 - If the supplied password worked, remove the prompt from usplash again,
4525 so that the user has some visual feedback that everything is alright.
4526 (LP: #151305)
4527 - Do not show the UUID device node of the outer physical device. It is
4528 scary ("/dev/disk/by-uuid/1234yadayada") and displaying it does not
4529 improve security at all: If attackers can tamper with your initramfs,
4530 they can also change the prompt, and if the UUID of the physical device
4531 changes, then booting will not even get that far. Now it is a much more
4532 friendly "Enter passphrase for sda5_crypt:" which is still technical,
4533 but it's necessary to point out which device will be unlocked in case
4534 there are several.
4535
4536 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 11 Oct 2007 19:51:58 +0200
4537
4538cryptsetup (2:1.0.5-2ubuntu1) gutsy; urgency=low
4539
4540 * Merge new debian version. Remaining changes:
4541 - cryptsetup is linked dynamically against libgcrypt and libgpg-error.
4542 This will break systems where /usr is a separate encrypted filesystem
4543 but not have other bad consequences (in particular, systems with
4544 encrypted root are still fine). The upsides include better
4545 security supportability and smaller packages.
4546 - libcryptsetup.so et al removed from the binary packages. They have
4547 no stable ABI and are not suitable for use by other packages, and
4548 were in violation of library policies etc. They're not needed since
4549 the cryptsetup executable statically contains the relevant parts of
4550 libcryptsetup.
4551 - cryptdisks.functions: remove #!/bin/bash as it isn't a script
4552 by itself; it's only sourced by other scripts. This gets rid
4553 of the lintian warning `script-not-executable' for this file.
4554 - stop usplash on user input. LP #62751
4555 - Always output and read from the console. LP #58794.
4556 - Add XSBC-Vcs-Bzr tag to indicate that this package is managed using
4557 bzr on launchpad.
4558 - Bump libgcrypt11 build-dependency again to 1.2.4-2ubuntu2 to eliminate
4559 libnsl linkage;
4560 - debian/initramfs/cryptroot-hook: (LP: #73862)
4561 Added patch to install aes optimized cypher module
4562 - try to load optimized cypher module in cryptsetup.functions as well,
4563 because cryptroot-hook is only executed when we really have a
4564 cryptoroot.
4565 - apply patch from pitti for allowing UUIDs in /etc/crypttab.
4566 This allowes crypted PVs! LP: #144390.
4567 - remove README.ubuntu, since it contains old and obsolete information.
4568
4569 -- Reinhard Tartler <siretart@tauware.de> Tue, 02 Oct 2007 21:31:28 +0200
4570
2893cryptsetup (2:1.0.5-2) unstable; urgency=low4571cryptsetup (2:1.0.5-2) unstable; urgency=low
28944572
2895 [ Jonas Meurer ]4573 [ Jonas Meurer ]
@@ -2938,6 +4616,68 @@ cryptsetup (2:1.0.5-2) unstable; urgency=low
29384616
2939 -- Jonas Meurer <mejo@debian.org> Mon, 24 Sep 2007 15:42:06 +02004617 -- Jonas Meurer <mejo@debian.org> Mon, 24 Sep 2007 15:42:06 +0200
29404618
4619cryptsetup (2:1.0.5-1ubuntu5) UNRELEASED; urgency=low
4620
4621 * apply patch from pitti for allowing UUIDs in /etc/crypttab.
4622 This allowes crypted PVs! LP: #144390.
4623 * remove README.ubuntu, since it contains old and obsolete information.
4624
4625 -- Reinhard Tartler <siretart@tauware.de> Tue, 02 Oct 2007 19:59:24 +0200
4626
4627cryptsetup (2:1.0.5-1ubuntu4) gutsy; urgency=low
4628
4629 [ Stephan Hermann ]
4630 * debian/initramfs/cryptroot-hook: (LP: #73862)
4631 - Added patch to install aes optimized cypher module
4632
4633 [ Reinhard Tartler ]
4634 * re-applying old patch to new package version
4635 * try to load optimized cypher module in cryptsetup.functions as well,
4636 because cryptroot-hook is only executed when we really have a
4637 cryptoroot.
4638
4639 -- Reinhard Tartler <siretart@tauware.de> Thu, 27 Sep 2007 19:38:48 +0200
4640
4641cryptsetup (2:1.0.5-1ubuntu3) gutsy; urgency=low
4642
4643 * Bump libgcrypt11 build-dependency again to 1.2.4-2ubuntu2 to eliminate
4644 libnsl linkage; should finally produce a usable cryptsetup binary for
4645 the udeb.
4646
4647 -- Colin Watson <cjwatson@ubuntu.com> Wed, 19 Sep 2007 15:28:52 +0100
4648
4649cryptsetup (2:1.0.5-1ubuntu2) gutsy; urgency=low
4650
4651 * Bump libgcrypt11 build-dependency to 1.2.4-2ubuntu1 and rebuild for
4652 proper udeb dependencies.
4653
4654 -- Colin Watson <cjwatson@ubuntu.com> Wed, 19 Sep 2007 01:37:02 +0100
4655
4656cryptsetup (2:1.0.5-1ubuntu1) gutsy; urgency=low
4657
4658 * Merge new debian version. Remaining changes:
4659 - cryptsetup is linked dynamically against libgcrypt and libgpg-error.
4660 This will break systems where /usr is a separate encrypted filesystem
4661 but not have other bad consequences (in particular, systems with
4662 encrypted root are still fine). The upsides include better
4663 security supportability and smaller packages.
4664 - libcryptsetup.so et al removed from the binary packages. They have
4665 no stable ABI and are not suitable for use by other packages, and
4666 were in violation of library policies etc. They're not needed since
4667 the cryptsetup executable statically contains the relevant parts of
4668 libcryptsetup.
4669 - cryptdisks.functions: remove #!/bin/bash as it isn't a script
4670 by itself; it's only sourced by other scripts. This gets rid
4671 of the lintian warning `script-not-executable' for this file.
4672 - stop usplash on user input. LP #62751
4673 - Always output and read from the console. LP #58794.
4674 * Add XSBC-Vcs-Bzr tag to indicate that this package is managed using
4675 bzr on launchpad.
4676 * UVF exception request granted by Scott Kitterman and Chuck Short
4677 LP: #138295
4678
4679 -- Reinhard Tartler <siretart@tauware.de> Sat, 08 Sep 2007 19:04:54 +0200
4680
2941cryptsetup (2:1.0.5-1) unstable; urgency=low4681cryptsetup (2:1.0.5-1) unstable; urgency=low
29424682
2943 [ Jonas Meurer ]4683 [ Jonas Meurer ]
@@ -2958,6 +4698,66 @@ cryptsetup (2:1.0.5-1) unstable; urgency=low
29584698
2959 -- Jonas Meurer <mejo@debian.org> Fri, 27 Jul 2007 04:59:33 +02004699 -- Jonas Meurer <mejo@debian.org> Fri, 27 Jul 2007 04:59:33 +0200
29604700
4701cryptsetup (2:1.0.4+svn29-1ubuntu6) gutsy; urgency=low
4702
4703 * Add notes by Ilkka Tuohela in a new file debian/README.ubuntu
4704
4705 -- Reinhard Tartler <siretart@tauware.de> Sat, 08 Sep 2007 18:43:56 +0200
4706
4707cryptsetup (2:1.0.4+svn29-1ubuntu5) gutsy; urgency=low
4708
4709 * cryptsetup is linked dynamically against libgcrypt and libgpg-error.
4710 This will break systems where /usr is a separate encrypted filesystem
4711 but not have other bad consequences (in particular, systems with
4712 encrypted root are still fine). The upsides include better
4713 security supportability and smaller packages.
4714 * libcryptsetup.so et al removed from the binary packages. They have
4715 no stable ABI and are not suitable for use by other packages, and
4716 were in violation of library policies etc. They're not needed since
4717 the cryptsetup executable statically contains the relevant parts of
4718 libcryptsetup.
4719 * cryptdisks.functions: remove #!/bin/bash as it isn't a script
4720 by itself; it's only sourced by other scripts. This gets rid
4721 of the lintian warning `script-not-executable' for this file.
4722
4723 -- Ian Jackson <iwj@ubuntu.com> Fri, 31 Aug 2007 12:05:33 +0100
4724
4725cryptsetup (2:1.0.4+svn29-1ubuntu4) gutsy; urgency=low
4726
4727 * s/$CRYPTCMD/cryptsetup/ in debian/cryptdisks.functions
4728 (LP: #115617)
4729
4730 -- Reinhard Tartler <siretart@ubuntu.com> Tue, 29 May 2007 17:04:05 +0200
4731
4732cryptsetup (2:1.0.4+svn29-1ubuntu3) gutsy; urgency=low
4733
4734 * make luksformat check if filesystem is already mounted to prevent a
4735 strange error message. thanks to mvo for the patch (LP: #116633)
4736 * remove file debian/initramfs-cryptroot-script from source. it is not
4737 installed anywhere, and a leftover from the last merge.
4738 * add missing hunk of cryptsetup.functions compared to debian package.
4739 * reapply http://librarian.launchpad.net/7329604/bug85640.debdiff to
4740 debian/initramfs/cryptroot-script, since stgraber's patch has been
4741 lost in the last merge. (LP: #85640)
4742
4743 -- Reinhard Tartler <siretart@ubuntu.com> Tue, 29 May 2007 15:02:57 +0200
4744
4745cryptsetup (2:1.0.4+svn29-1ubuntu2) gutsy; urgency=low
4746
4747 * modprobe dm-mod from cryptsetup.functions. (LP: #64625, #91405)
4748
4749 -- Reinhard Tartler <siretart@ubuntu.com> Tue, 29 May 2007 13:31:39 +0200
4750
4751cryptsetup (2:1.0.4+svn29-1ubuntu1) gutsy; urgency=low
4752
4753 * Merge from Debian unstable. Remaining Ubuntu changes:
4754 - stop usplash on user input. Ubuntu: #62751
4755 - Always output and read from the console. Ubuntu: #58794.
4756 - Wait for Udev to be ready to avoid partition non-detection. (LP: #85640)
4757 * Modify Maintainer value to match Debian-Maintainer-Field Spec
4758
4759 -- Andrea Veri <bluekuja@ubuntu.com> Sun, 6 May 2007 22:33:25 +0200
4760
2961cryptsetup (2:1.0.4+svn29-1) unstable; urgency=low4761cryptsetup (2:1.0.4+svn29-1) unstable; urgency=low
29624762
2963 * New upstream svn snapshot with several bugfixes4763 * New upstream svn snapshot with several bugfixes
@@ -3010,6 +4810,20 @@ cryptsetup (2:1.0.4+svn26-2) unstable; urgency=low
30104810
3011 -- Jonas Meurer <mejo@debian.org> Sat, 28 Apr 2007 20:45:50 +02004811 -- Jonas Meurer <mejo@debian.org> Sat, 28 Apr 2007 20:45:50 +0200
30124812
4813cryptsetup (2:1.0.4+svn26-1ubuntu2) feisty; urgency=low
4814
4815 * Wait for Udev to be ready to avoid partition non-detection. (LP: #85640)
4816
4817 -- Stéphane Graber <stgraber@ubuntu.com> Thu, 14 Apr 2007 10:03:41 +0200
4818
4819cryptsetup (2:1.0.4+svn26-1ubuntu1) feisty; urgency=low
4820
4821 * merge debian changes. Remaining ubuntu changes:
4822 - stop usplash on user input. Ubuntu: #62751
4823 - Always output and read from the console. Ubuntu: #58794.
4824
4825 -- Reinhard Tartler <siretart@tauware.de> Sat, 3 Feb 2007 21:30:03 +0100
4826
3013cryptsetup (2:1.0.4+svn26-1) unstable; urgency=high4827cryptsetup (2:1.0.4+svn26-1) unstable; urgency=high
30144828
3015 [ Jonas Meurer ]4829 [ Jonas Meurer ]
@@ -3059,6 +4873,28 @@ cryptsetup (2:1.0.4+svn16-1) unstable; urgency=medium
30594873
3060 -- Jonas Meurer <mejo@debian.org> Tue, 28 Nov 2006 18:17:12 +01004874 -- Jonas Meurer <mejo@debian.org> Tue, 28 Nov 2006 18:17:12 +0100
30614875
4876cryptsetup (2:1.0.4-8ubuntu2) feisty; urgency=low
4877
4878 * fix and improve initramfs hook: terminate usplash if running, since
4879 adequate secure text input is not possible with usplash ATM
4880 * usplash support: Terminate usplash before asking a password.
4881 Closes https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/62751
4882
4883 -- Reinhard Tartler <siretart@tauware.de> Wed, 24 Jan 2007 22:43:28 +0100
4884
4885cryptsetup (2:1.0.4-8ubuntu1) feisty; urgency=low
4886
4887 * merge debian changes, remaining patches:
4888 - Always output and read from the console. Ubuntu: #58794.
4889 * other changes have been merged or do noy apply anymore
4890 * read password via usplash if available in initramfs for rootfs. based on a patch from
4891 Swen Thümmler (Thanks for that!) Ubuntu #62751
4892 * read password from initscript via usplash if running. should fix the
4893 rest of Ubuntu #62751. Only problem with that patch: It asks only once
4894 for the password! improvements welcome!
4895
4896 -- Reinhard Tartler <siretart@tauware.de> Sun, 19 Nov 2006 20:04:19 +0100
4897
3062cryptsetup (2:1.0.4-8) unstable; urgency=high4898cryptsetup (2:1.0.4-8) unstable; urgency=high
30634899
3064 [ Jonas Meurer ]4900 [ Jonas Meurer ]
@@ -3216,6 +5052,27 @@ cryptsetup (2:1.0.4~rc2-1) unstable; urgency=low
32165052
3217 -- Jonas Meurer <mejo@debian.org> Mon, 4 Sep 2006 03:55:35 +02005053 -- Jonas Meurer <mejo@debian.org> Mon, 4 Sep 2006 03:55:35 +0200
32185054
5055cryptsetup (2:1.0.3-3ubuntu3) edgy; urgency=low
5056
5057 * Always output and read from the console. Ubuntu: #58794.
5058
5059 -- Scott James Remnant <scott@ubuntu.com> Thu, 21 Sep 2006 03:05:18 +0100
5060
5061cryptsetup (2:1.0.3-3ubuntu2) edgy; urgency=low
5062
5063 * Load the dm-crypt module on startup. Ubuntu: #53475.
5064
5065 -- Scott James Remnant <scott@ubuntu.com> Wed, 23 Aug 2006 11:53:49 +0200
5066
5067cryptsetup (2:1.0.3-3ubuntu1) edgy; urgency=low
5068
5069 * Sync with Debian:
5070 Remaining Ubuntu Changes
5071 + debian/cryptdisks.functions:
5072 - Tell usplash to quit if we ask for a passphrase
5073
5074 -- Sebastian Dröge <slomo@ubuntu.com> Tue, 11 Jul 2006 20:03:27 +0200
5075
3219cryptsetup (2:1.0.3-3) unstable; urgency=low5076cryptsetup (2:1.0.3-3) unstable; urgency=low
32205077
3221 [ Jonas Meurer ]5078 [ Jonas Meurer ]
diff --git a/debian/control b/debian/control
index b53fcda..d218d7a 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: cryptsetup1Source: cryptsetup
2Section: admin2Section: admin
3Priority: optional3Priority: optional
4Maintainer: Debian Cryptsetup Team <pkg-cryptsetup-devel@alioth-lists.debian.net>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian Cryptsetup Team <pkg-cryptsetup-devel@alioth-lists.debian.net>
5Uploaders: Jonas Meurer <jonas@freesources.org>,6Uploaders: Jonas Meurer <jonas@freesources.org>,
6 Guilhem Moulin <guilhem@debian.org>7 Guilhem Moulin <guilhem@debian.org>
7Rules-Requires-Root: no8Rules-Requires-Root: no
@@ -43,7 +44,8 @@ Depends: cryptsetup-bin (>= 2:1.6.0),
43 dmsetup,44 dmsetup,
44 ${misc:Depends},45 ${misc:Depends},
45 ${shlibs:Depends}46 ${shlibs:Depends}
46Suggests: cryptsetup-initramfs, dosfstools, keyutils, liblocale-gettext-perl47Recommends: cryptsetup-initramfs
48Suggests: dosfstools, keyutils, liblocale-gettext-perl
47Replaces: cryptsetup-run (<< 2:2.1.0-6)49Replaces: cryptsetup-run (<< 2:2.1.0-6)
48Breaks: cryptsetup-run (<< 2:2.1.0-6)50Breaks: cryptsetup-run (<< 2:2.1.0-6)
49Description: disk encryption support - startup scripts51Description: disk encryption support - startup scripts
@@ -94,11 +96,11 @@ Description: disk encryption support - experimental SSH token handler
9496
95Package: cryptsetup-initramfs97Package: cryptsetup-initramfs
96Architecture: all98Architecture: all
97Depends: busybox | busybox-static,99Depends: busybox-initramfs,
98 cryptsetup (>= ${source:Version}),100 cryptsetup (>= ${source:Version}),
99 initramfs-tools (>= 0.137) | linux-initramfs-tool,101 initramfs-tools (>= 0.137) | linux-initramfs-tool,
100 ${misc:Depends}102 ${misc:Depends}
101Recommends: console-setup, kbd103Recommends: console-setup, kbd, plymouth
102Breaks: cryptsetup (<< 2:2.0.3-1)104Breaks: cryptsetup (<< 2:2.0.3-1)
103Replaces: cryptsetup (<< 2:2.0.3-1)105Replaces: cryptsetup (<< 2:2.0.3-1)
104Conflicts: lvm2 (<< 2.03.15-1)106Conflicts: lvm2 (<< 2.03.15-1)
@@ -111,7 +113,7 @@ Description: disk encryption support - initramfs integration
111 This package provides initramfs integration for cryptsetup.113 This package provides initramfs integration for cryptsetup.
112114
113Package: cryptsetup-suspend115Package: cryptsetup-suspend
114Architecture: linux-any116Architecture: amd64 arm64 armhf ppc64el riscv64 s390x
115Multi-Arch: foreign117Multi-Arch: foreign
116Depends: cryptsetup-initramfs (>= ${source:Version}),118Depends: cryptsetup-initramfs (>= ${source:Version}),
117 initramfs-tools-core,119 initramfs-tools-core,
diff --git a/debian/functions b/debian/functions
index 917abad..73f5f2a 100644
--- a/debian/functions
+++ b/debian/functions
@@ -603,6 +603,7 @@ _resolve_device() {
603# Print the major:minor device ID(s) holding the file system currently603# Print the major:minor device ID(s) holding the file system currently
604# mounted currenty mounted on $mountpoint.604# mounted currenty mounted on $mountpoint.
605# Return 0 on success, 1 on error (if $mountpoint is not a mountpoint).605# Return 0 on success, 1 on error (if $mountpoint is not a mountpoint).
606# devno will be empty if the filesystem must be excluded.
606get_mnt_devno() {607get_mnt_devno() {
607 local wantmount="$1" devnos="" uuid dev IFS608 local wantmount="$1" devnos="" uuid dev IFS
608 local spec mountpoint fstype _ DEV MAJ MIN609 local spec mountpoint fstype _ DEV MAJ MIN
@@ -616,8 +617,15 @@ get_mnt_devno() {
616 # take the last mountpoint if used several times (shadowed)617 # take the last mountpoint if used several times (shadowed)
617 unset -v devnos618 unset -v devnos
618 spec="$(printf '%b' "$spec")"619 spec="$(printf '%b' "$spec")"
619 _resolve_device "$spec" || continue # _resolve_device() already warns on error
620 fstype="$(printf '%b' "$fstype")"620 fstype="$(printf '%b' "$fstype")"
621 if [ "$fstype" = "zfs" ]; then
622 # Ignore ZFS entries as they don't have a major/minor and won't
623 # be imported when local-top cryptroot script will ran.
624 # Returns success with empty devno
625 printf ''
626 return 0
627 fi
628 _resolve_device "$spec" || continue # _resolve_device() already warns on error
621 if [ "$fstype" = "btrfs" ]; then629 if [ "$fstype" = "btrfs" ]; then
622 # btrfs can span over multiple devices630 # btrfs can span over multiple devices
623 if uuid="$(_device_uuid "$DEV")"; then631 if uuid="$(_device_uuid "$DEV")"; then
diff --git a/debian/initramfs/cryptroot-unlock b/debian/initramfs/cryptroot-unlock
index dbc2ad0..0e91701 100644
--- a/debian/initramfs/cryptroot-unlock
+++ b/debian/initramfs/cryptroot-unlock
@@ -40,8 +40,14 @@ fi
40pgrep_exe() {40pgrep_exe() {
41 local exe pid41 local exe pid
42 exe="$(readlink -f -- "$1" 2>/dev/null)" && [ -f "$exe" ] || return 042 exe="$(readlink -f -- "$1" 2>/dev/null)" && [ -f "$exe" ] || return 0
43 ps -eo pid= | while read pid; do43 ps | awk '{print $1, $5}' | while read LINE; do
44 [ "$(readlink -f "/proc/$pid/exe")" != "$exe" ] || printf '%d\n' "$pid"44 set $LINE
45 local pid=$1
46 local cmd=$(readlink -f -- "$2")
47 if [ "$cmd" == "$exe" ]; then
48 echo $pid
49 break
50 fi
45 done51 done
46}52}
4753
@@ -101,7 +107,7 @@ wait_for_prompt() {
101 break107 break
102 fi108 fi
103109
104 usleep 100000110 sleep 0.1
105 timer=$(( $timer - 1 ))111 timer=$(( $timer - 1 ))
106 if [ $timer -le 0 ]; then112 if [ $timer -le 0 ]; then
107 echo "Error: Timeout reached while waiting for askpass." >&2113 echo "Error: Timeout reached while waiting for askpass." >&2
@@ -112,7 +118,7 @@ wait_for_prompt() {
112 # find the cryptsetup process with same $CRYPTTAB_NAME118 # find the cryptsetup process with same $CRYPTTAB_NAME
113 local o v119 local o v
114 for o in NAME TRIED OPTION_tries; do120 for o in NAME TRIED OPTION_tries; do
115 if v="$(grep -z -m1 "^CRYPTTAB_$o=" "/proc/$pid/environ")"; then121 if v="$(tr '\0' '\n' < "/proc/$pid/environ" | grep -m1 "^CRYPTTAB_$o=")"; then
116 eval "CRYPTTAB_$o"="\${v#CRYPTTAB_$o=}"122 eval "CRYPTTAB_$o"="\${v#CRYPTTAB_$o=}"
117 else123 else
118 eval unset -v "CRYPTTAB_$o"124 eval unset -v "CRYPTTAB_$o"
@@ -128,7 +134,7 @@ wait_for_prompt() {
128 fi134 fi
129135
130 for pid in $(pgrep_exe "/sbin/cryptsetup"); do136 for pid in $(pgrep_exe "/sbin/cryptsetup"); do
131 if grep -Fxqz "CRYPTTAB_NAME=$CRYPTTAB_NAME" "/proc/$pid/environ"; then137 if tr '\0' '\n' < "/proc/$pid/environ" | grep -Fxq "CRYPTTAB_NAME=$CRYPTTAB_NAME"; then
132 PID=$pid138 PID=$pid
133 BIRTH=$(stat -c"%Z" "/proc/$PID" 2>/dev/null) || break139 BIRTH=$(stat -c"%Z" "/proc/$PID" 2>/dev/null) || break
134 return 0140 return 0
@@ -148,7 +154,7 @@ wait_for_prompt() {
148wait_for_answer() {154wait_for_answer() {
149 local timer=$(( 10 * $TIMEOUT )) b155 local timer=$(( 10 * $TIMEOUT )) b
150 while [ -d "/proc/$PID" ] && b=$(stat -c"%Z" "/proc/$PID" 2>/dev/null) && [ $b -le $BIRTH ]; do156 while [ -d "/proc/$PID" ] && b=$(stat -c"%Z" "/proc/$PID" 2>/dev/null) && [ $b -le $BIRTH ]; do
151 usleep 100000157 sleep 0.1
152 timer=$(( $timer - 1 ))158 timer=$(( $timer - 1 ))
153 if [ $timer -le 0 ]; then159 if [ $timer -le 0 ]; then
154 echo "Error: Timeout reached while waiting for PID $PID." >&2160 echo "Error: Timeout reached while waiting for PID $PID." >&2
diff --git a/debian/initramfs/hooks/cryptroot b/debian/initramfs/hooks/cryptroot
index 3557786..eda5fdd 100644
--- a/debian/initramfs/hooks/cryptroot
+++ b/debian/initramfs/hooks/cryptroot
@@ -178,16 +178,18 @@ generate_initrd_crypttab() {
178178
179 {179 {
180 if devnos="$(get_mnt_devno /)"; then180 if devnos="$(get_mnt_devno /)"; then
181 usage=rootfs foreach_cryptdev crypttab_find_and_print_entry $devnos181 if [ -n "$devnos" ]; then
182 usage=rootfs foreach_cryptdev crypttab_find_and_print_entry $devnos
183 fi
182 else184 else
183 cryptsetup_message "WARNING: Couldn't determine root device"185 cryptsetup_message "WARNING: Couldn't determine root device"
184 fi186 fi
185187
186 if devnos="$(get_resume_devno)"; then188 if devnos="$(get_resume_devno)" && [ -n "$devnos" ]; then
187 usage=resume foreach_cryptdev crypttab_find_and_print_entry $devnos189 usage=resume foreach_cryptdev crypttab_find_and_print_entry $devnos
188 fi190 fi
189191
190 if devnos="$(get_mnt_devno /usr)"; then192 if devnos="$(get_mnt_devno /usr)" && [ -n "$devnos" ]; then
191 usage="" foreach_cryptdev crypttab_find_and_print_entry $devnos193 usage="" foreach_cryptdev crypttab_find_and_print_entry $devnos
192 fi194 fi
193195
diff --git a/debian/patches/decrease_memlock_ulimit.patch b/debian/patches/decrease_memlock_ulimit.patch
194new file mode 100644196new file mode 100644
index 0000000..a9fd0d1
--- /dev/null
+++ b/debian/patches/decrease_memlock_ulimit.patch
@@ -0,0 +1,49 @@
1Description: Decrease memlock limit to mimic Xenial builder behavior.
2 This approach prevents cryptsetup to FTBFS, since the PPA builders were
3 upgraded to Bionic, which has a bigger memlock limit (but not enough).
4 With this quirk, cryptsetup won't mlock() its memory allocationss, hence
5 it behaves exactly as the Xenial builders. Meanwhile, we pursue the
6 proper fix (systemd patch to bump memlock to a higher limit on Bionic).
7Author: Guilherme G. Piccoli <gpiccoli@canonical.com>
8Bug-Ubuntu: https://bugs.launchpad.net/bugs/1891473
9Last-Update: 2020-09-09
10
11--- a/tests/compat-test
12+++ b/tests/compat-test
13@@ -47,6 +47,10 @@
14 LOOPDEV=$(losetup -f 2>/dev/null)
15 FIPS_MODE=$(cat /proc/sys/crypto/fips_enabled 2>/dev/null)
16
17+# Circumvent test failure due to Bionic builder; we need to decrease
18+# the memlock limit here to mimic Xenial builder (see LP #1891473).
19+ulimit -l 0
20+
21 function remove_mapping()
22 {
23 [ -b /dev/mapper/$DEV_NAME3 ] && dmsetup remove --retry $DEV_NAME3 >/dev/null 2>&1
24--- a/tests/luks2-validation-test
25+++ b/tests/luks2-validation-test
26@@ -21,6 +21,10 @@
27
28 [ -z "$srcdir" ] && srcdir="."
29
30+# Circumvent test failure due to Bionic builder; we need to decrease
31+# the memlock limit here to mimic Xenial builder (see LP #1891473).
32+ulimit -l 0
33+
34 function remove_mapping()
35 {
36 rm -rf $IMG $TST_IMGS >/dev/null 2>&1
37--- a/tests/tcrypt-compat-test
38+++ b/tests/tcrypt-compat-test
39@@ -16,6 +16,10 @@
40
41 [ -z "$srcdir" ] && srcdir="."
42
43+# Circumvent test failure due to Bionic builder; we need to decrease
44+# the memlock limit here to mimic Xenial builder (see LP #1891473).
45+ulimit -l 0
46+
47 function remove_mapping()
48 {
49 [ -b /dev/mapper/$MAP ] && dmsetup remove --retry $MAP
diff --git a/debian/patches/series b/debian/patches/series
index f64f6f7..e19ab24 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ Try-to-avoid-OOM-killer-on-low-memory-systems-without-swa.patch
2Print-warning-when-keyslot-requires-more-memory-than-avai.patch2Print-warning-when-keyslot-requires-more-memory-than-avai.patch
3Check-for-physical-memory-available-also-in-PBKDF-benchma.patch3Check-for-physical-memory-available-also-in-PBKDF-benchma.patch
4Use-only-half-of-detected-free-memory-on-systems-without-.patch4Use-only-half-of-detected-free-memory-on-systems-without-.patch
5decrease_memlock_ulimit.patch
diff --git a/debian/rules b/debian/rules
index 757085c..08074b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -87,8 +87,10 @@ override_dh_bugfiles:
87execute_after_dh_fixperms-arch:87execute_after_dh_fixperms-arch:
88 chmod 0755 debian/cryptsetup/lib/cryptsetup/checks/*88 chmod 0755 debian/cryptsetup/lib/cryptsetup/checks/*
89 chmod 0755 debian/cryptsetup/lib/cryptsetup/scripts/decrypt_*89 chmod 0755 debian/cryptsetup/lib/cryptsetup/scripts/decrypt_*
90ifneq ($(DEB_HOST_ARCH),i386)
90 chmod 0755 debian/cryptsetup-suspend/lib/cryptsetup/scripts/suspend/cryptsetup-suspend-wrapper91 chmod 0755 debian/cryptsetup-suspend/lib/cryptsetup/scripts/suspend/cryptsetup-suspend-wrapper
91 chmod 0755 debian/cryptsetup-suspend/lib/systemd/system-shutdown/cryptsetup-suspend.shutdown92 chmod 0755 debian/cryptsetup-suspend/lib/systemd/system-shutdown/cryptsetup-suspend.shutdown
93endif
92ifeq (,$(filter noudeb, $(DEB_BUILD_PROFILES)))94ifeq (,$(filter noudeb, $(DEB_BUILD_PROFILES)))
93 chmod 0755 debian/cryptsetup-udeb/lib/cryptsetup/checks/*95 chmod 0755 debian/cryptsetup-udeb/lib/cryptsetup/checks/*
94 chmod 0755 debian/cryptsetup-udeb/lib/cryptsetup/scripts/decrypt_*96 chmod 0755 debian/cryptsetup-udeb/lib/cryptsetup/scripts/decrypt_*
diff --git a/debian/tests/control b/debian/tests/control
index 52752a3..0b7e9be 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -42,8 +42,9 @@ Depends: cryptsetup-bin,
42 sshpass42 sshpass
43Restrictions: needs-root, isolation-machine43Restrictions: needs-root, isolation-machine
4444
4545# cryptdisks test is disabled - it fails to open /dev/tty in CI
46Tests: cryptdisks, cryptdisks.init46#Tests: cryptdisks, cryptdisks.init
47Tests: cryptdisks.init
47Depends: cryptsetup, xxd48Depends: cryptsetup, xxd
48Restrictions: allow-stderr, needs-root, isolation-machine49Restrictions: allow-stderr, needs-root, isolation-machine
4950
diff --git a/debian/tests/cryptroot-lvm.d/mock b/debian/tests/cryptroot-lvm.d/mock
index f57e42f..f777763 100755
--- a/debian/tests/cryptroot-lvm.d/mock
+++ b/debian/tests/cryptroot-lvm.d/mock
@@ -36,8 +36,13 @@ else {
36 expect($SERIAL => qr/(?:^|\s)?PM: suspend exit\r\n/m);36 expect($SERIAL => qr/(?:^|\s)?PM: suspend exit\r\n/m);
37 unlock_disk("topsecret");37 unlock_disk("topsecret");
3838
39 # consume PS1 to make sure we're at a shell prompt39 # suspend() leaves clutter in the console due to the retries
40 expect($CONSOLE => qr/\A $PS1 \z/aamsx);40 # that prevents test from succeeding.
41 consume($CONSOLE);
42
43 # ensure that shell is available
44 shell(q{echo ready}, rv => 0);
45
41 my $out = shell(q{dmsetup info -c --noheadings -omangled_name,suspended --separator ' '});46 my $out = shell(q{dmsetup info -c --noheadings -omangled_name,suspended --separator ' '});
42 die if grep !/[:[:blank:]]Active$/i, split(/\r?\n/, $out);47 die if grep !/[:[:blank:]]Active$/i, split(/\r?\n/, $out);
4348
diff --git a/debian/tests/cryptroot-nested.d/config b/debian/tests/cryptroot-nested.d/config
index 995200c..fcfba32 100644
--- a/debian/tests/cryptroot-nested.d/config
+++ b/debian/tests/cryptroot-nested.d/config
@@ -1,6 +1,13 @@
1PKGS_EXTRA+=( btrfs-progs lvm2 mdadm )1PKGS_EXTRA+=( btrfs-progs lvm2 mdadm )
2PKGS_EXTRA+=( cryptsetup-initramfs )2PKGS_EXTRA+=( cryptsetup-initramfs )
33
4# "$DISTRIBUTOR_ID" is defined in ../utils/cryptroot-common
5# Workaround for LP1831747 https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1831747
6# Add implicit dependency of cryptsetup-initramfs
7if [ "$DISTRIBUTOR_ID" = "ubuntu" ]; then
8 PKGS_EXTRA+=( e2fsprogs )
9fi
10
4# /dev/mapper/testvg-lv1_crypt and /dev/vdc are both 1G and used in RAID1 mode11# /dev/mapper/testvg-lv1_crypt and /dev/vdc are both 1G and used in RAID1 mode
5DRIVE_SIZES=( "1G" "264M" "1G" "512M" )12DRIVE_SIZES=( "1G" "264M" "1G" "512M" )
613
diff --git a/debian/tests/cryptroot-sysvinit.d/config b/debian/tests/cryptroot-sysvinit.d/config
index f6b7392..1d41c24 100644
--- a/debian/tests/cryptroot-sysvinit.d/config
+++ b/debian/tests/cryptroot-sysvinit.d/config
@@ -1,5 +1,10 @@
1PKGS_EXTRA+=( e2fsprogs ) # for fsck.ext41PKGS_EXTRA+=( e2fsprogs ) # for fsck.ext4
2PKGS_EXTRA+=( cryptsetup-initramfs cryptsetup )2PKGS_EXTRA+=( cryptsetup-initramfs cryptsetup )
3PKG_INIT="sysvinit-core"3# "$DISTRIBUTOR_ID" is defined in ../utils/cryptroot-common
44case "$DISTRIBUTOR_ID" in
5 debian) PKG_INIT="sysvinit-core";;
6 ubuntu) PKG_INIT="systemd-sysv";;
7 *) echo "ERROR: Unknown distributor ID '$DISTRIBUTOR_ID', can't determine default init package" >&2;
8 exit 1;;
9esac
5# vim: set filetype=bash :10# vim: set filetype=bash :
diff --git a/debian/tests/initramfs-hook b/debian/tests/initramfs-hook
index 4171102..f58e6f5 100755
--- a/debian/tests/initramfs-hook
+++ b/debian/tests/initramfs-hook
@@ -63,6 +63,20 @@ mkinitramfs() {
63 # `mkinitramfs -k` would be better but we can't set $DESTDIR in advance63 # `mkinitramfs -k` would be better but we can't set $DESTDIR in advance
64 cleanup_initrd_dir64 cleanup_initrd_dir
65 command unmkinitramfs "$INITRD_IMG" "$INITRD_DIR"65 command unmkinitramfs "$INITRD_IMG" "$INITRD_DIR"
66
67 # find subdirectory with the root file system relative to the cryptsetup location
68 CRYPTSETUP_PATH=sbin/cryptsetup
69 ROOTFS_DIR=`find "$INITRD_DIR" -name cryptsetup | grep "/usr/$CRYPTSETUP_PATH" | sed -e "s|/usr/$CRYPTSETUP_PATH||"`
70
71 if [[ -z "$ROOTFS_DIR" ]]; then
72 ROOTFS_DIR=`find "$INITRD_DIR" -name cryptsetup | grep "/$CRYPTSETUP_PATH" | sed -e "s|/$CRYPTSETUP_PATH||"`
73 fi
74
75 if [[ ! -z "$ROOTFS_DIR" ]] && [[ "$ROOTFS_DIR" != "$INITRD_DIR" ]] && [[ -d "$ROOTFS_DIR" ]]; then
76 echo move root filesystem from "$ROOTFS_DIR" to "$INITRD_DIR"
77 mv "$ROOTFS_DIR"/* "$INITRD_DIR"
78 fi
79
66 for d in dev proc sys; do80 for d in dev proc sys; do
67 mkdir -p "$INITRD_DIR/$d"81 mkdir -p "$INITRD_DIR/$d"
68 mount --bind "/$d" "$INITRD_DIR/$d"82 mount --bind "/$d" "$INITRD_DIR/$d"
@@ -190,9 +204,9 @@ cryptsetup close test3_crypt
190# plain, blowfish + ripemd160 (ignored due to keyfile)204# plain, blowfish + ripemd160 (ignored due to keyfile)
191disk_setup205disk_setup
192head -c32 /dev/urandom >"$TMPDIR/keyfile"206head -c32 /dev/urandom >"$TMPDIR/keyfile"
193cryptsetup open --type=plain --cipher="blowfish" --key-file="$TMPDIR/keyfile" --size=256 --hash="ripemd160" "$CRYPT_DEV" test3_crypt207cryptsetup open --type=plain --cipher="blowfish" --key-file="$TMPDIR/keyfile" --hash="ripemd160" "$CRYPT_DEV" test3_crypt
194mkfs.ext2 -m0 /dev/mapper/test3_crypt208mkfs.ext2 -m0 /dev/mapper/test3_crypt
195echo "test3_crypt $CRYPT_DEV $TMPDIR/keyfile plain,cipher=blowfish,hash=ripemd160,size=256,initramfs" >/etc/crypttab209echo "test3_crypt $CRYPT_DEV $TMPDIR/keyfile plain,cipher=blowfish,hash=ripemd160,initramfs" >/etc/crypttab
196mkinitramfs210mkinitramfs
197legacy_so="$(find "$INITRD_DIR" -xdev -type f -path "*/ossl-modules/legacy.so")"211legacy_so="$(find "$INITRD_DIR" -xdev -type f -path "*/ossl-modules/legacy.so")"
198test -z "$legacy_so" || exit 1 # don't need legacy.so here212test -z "$legacy_so" || exit 1 # don't need legacy.so here
diff --git a/debian/tests/utils/cryptroot-common b/debian/tests/utils/cryptroot-common
index a7df37f..8cedda0 100755
--- a/debian/tests/utils/cryptroot-common
+++ b/debian/tests/utils/cryptroot-common
@@ -81,6 +81,7 @@ load_os_release() {
81}81}
82case "${DISTRIBUTOR_ID:="$(load_os_release && printf "%s" "${ID,,[A-Z]}")"}" in82case "${DISTRIBUTOR_ID:="$(load_os_release && printf "%s" "${ID,,[A-Z]}")"}" in
83 debian) APT_REPO_ORIGIN="Debian"; APT_REPO_URI="http://deb.debian.org/debian";;83 debian) APT_REPO_ORIGIN="Debian"; APT_REPO_URI="http://deb.debian.org/debian";;
84 ubuntu) APT_REPO_ORIGIN="Ubuntu"; APT_REPO_URI="http://archive.ubuntu.com/ubuntu";;
84 # suitable values for derivative can be added here85 # suitable values for derivative can be added here
85 *) echo "ERROR: Unknown distributor ID '$DISTRIBUTOR_ID', can't extract APT origin" >&2;86 *) echo "ERROR: Unknown distributor ID '$DISTRIBUTOR_ID', can't extract APT origin" >&2;
86 exit 1;;87 exit 1;;
@@ -164,6 +165,12 @@ case "$BOOT" in
164 efi) PKG_BOOTLOADER="grub-efi";;165 efi) PKG_BOOTLOADER="grub-efi";;
165 *) echo "ERROR unknown boot method '$BOOT'" >&2; exit 1;;166 *) echo "ERROR unknown boot method '$BOOT'" >&2; exit 1;;
166esac167esac
168
169if [ "$DISTRIBUTOR_ID" = "ubuntu" ]; then
170 echo "Overriding kernel arch to generic"
171 KERNEL_ARCH="generic"
172fi
173
167PKG_KERNEL="linux-image-$KERNEL_ARCH"174PKG_KERNEL="linux-image-$KERNEL_ARCH"
168PKG_INIT="systemd-sysv" # default pid1175PKG_INIT="systemd-sysv" # default pid1
169MERGED_USR="" # use default layout for the target version176MERGED_USR="" # use default layout for the target version
@@ -301,6 +308,12 @@ setup_apt() {
301 esac >"$TEMPDIR/apt/sources.list"308 esac >"$TEMPDIR/apt/sources.list"
302 fi309 fi
303310
311 # ubuntu CI populates sources.list.d with PPA source, append them to the list
312 if [ "$DISTRIBUTOR_ID" = "ubuntu" -a -d /etc/apt/sources.list.d ]; then
313 echo "Append contents of /etc/apt/sources.list.d to $TEMPDIR/apt/sources.list"
314 find /etc/apt/sources.list.d -type f | xargs cat >> "$TEMPDIR/apt/sources.list"
315 fi
316
304 local apt_repo317 local apt_repo
305 for apt_repo in "${EXTRA_REPOS[@]}"; do318 for apt_repo in "${EXTRA_REPOS[@]}"; do
306 printf "%s\\n" "$apt_repo" >>"$TEMPDIR/apt/sources.list"319 printf "%s\\n" "$apt_repo" >>"$TEMPDIR/apt/sources.list"
@@ -416,9 +429,20 @@ extract_kernel() {
416 fi429 fi
417430
418 mkdir "$destdir"431 mkdir "$destdir"
419 dpkg-deb --fsys-tarfile "$APT_CACHE/archives/$KERNEL_DEB" | tar -C "$destdir" -xf- \432 if [ "$DISTRIBUTOR_ID" == "debian" ]; then
420 "./boot/vmlinuz-$KERNEL_VERSION" \433 dpkg-deb --fsys-tarfile "$APT_CACHE/archives/$KERNEL_DEB" | tar -C "$destdir" -xf- \
421 "./lib/modules/$KERNEL_VERSION"434 "./boot/vmlinuz-$KERNEL_VERSION" \
435 "./lib/modules/$KERNEL_VERSION"
436 elif [ "$DISTRIBUTOR_ID" == "ubuntu" ]; then
437 dpkg-deb --fsys-tarfile "$APT_CACHE/archives/$KERNEL_DEB" | tar -C "$destdir" -xf- \
438 "./boot/vmlinuz-$KERNEL_VERSION"; MODULES_DEB="$(echo $KERNEL_DEB | sed s/-image-/-modules-/)"; \
439 dpkg-deb --fsys-tarfile "$APT_CACHE/archives/$MODULES_DEB" | tar -C "$destdir" -xf- \
440 "./lib/modules/$KERNEL_VERSION"
441 else
442 echo "ERROR: Unknown distributor ID '$DISTRIBUTOR_ID', can't extract kernel" >&2
443 exit 1
444 fi
445
422 ln -T -- "$destdir/boot/vmlinuz-$KERNEL_VERSION" "$TEMPDIR/vmlinuz-$KERNEL_VERSION"446 ln -T -- "$destdir/boot/vmlinuz-$KERNEL_VERSION" "$TEMPDIR/vmlinuz-$KERNEL_VERSION"
423}447}
424448
diff --git a/debian/tests/utils/mock.pm b/debian/tests/utils/mock.pm
index 10db3e6..2425d87 100644
--- a/debian/tests/utils/mock.pm
+++ b/debian/tests/utils/mock.pm
@@ -97,6 +97,26 @@ sub expect(;$$) {
97 #print STDERR "INFO done reading\n";97 #print STDERR "INFO done reading\n";
98}98}
9999
100sub consume($) {
101 my $chan = shift;
102 my $buffer = defined $chan ? \$BUFFER{$chan} : undef;
103 if (! defined $buffer) {
104 return;
105 }
106
107 while(unpack("b*", $RBITS) != 0) {
108 my $rout = $RBITS;
109 if (select($rout, undef, undef, 1) == -1) {
110 return;
111 }
112 read_data($rout);
113 if (length($$buffer) == 0) {
114 return;
115 }
116 $$buffer = "";
117 }
118}
119
100sub write_data($$%) {120sub write_data($$%) {
101 my $chan = shift;121 my $chan = shift;
102 my $data = shift;122 my $data = shift;
@@ -167,11 +187,13 @@ BEGIN {
167 hibernate187 hibernate
168 poweroff188 poweroff
169 expect189 expect
190 consume
170 /;191 /;
171}192}
172193
173*expect = \&CryptrootTest::Utils::expect;194*expect = \&CryptrootTest::Utils::expect;
174*write_data = \&CryptrootTest::Utils::write_data;195*write_data = \&CryptrootTest::Utils::write_data;
196*consume = \&CryptrootTest::Utils::consume;
175197
176sub unlock_disk($) {198sub unlock_disk($) {
177 my $passphrase = shift;199 my $passphrase = shift;
@@ -228,7 +250,9 @@ sub shell($%) {
228250
229# enter S3 sleep state (suspend to ram aka standby)251# enter S3 sleep state (suspend to ram aka standby)
230sub suspend() {252sub suspend() {
231 write_data($CONSOLE => q{systemctl suspend});253 # there is a race condition that causes suspend to fail.
254 # retry until success. Note, this may leave clutter in the console
255 write_data($CONSOLE => q{until systemctl suspend; do sleep 1; done});
232 # while the command is asynchronous the system might suspend before256 # while the command is asynchronous the system might suspend before
233 # we have a chance to read the next $PS1257 # we have a chance to read the next $PS1
234258

Subscribers

People subscribed via source and target branches