Package: dmsetup Version: 2:1.02.77-6+b1 Severity: normal Tags: patch Dear dmsetup maintainers,
when debugging #731208 and #712439 I noticed that dmsetup in Debian does not ship an important bit of the upstream rules files (specifically udev/13-dm-disk.rules.in): The OPTIONS+="watch" for device mapper devices is not included. Enabling the watch option (which will generate a udev event once the device is closed after being open for writing) is crucial for an event-based boot with encrypted swap. After setting up the encryption with a random key, the init system (systemd in this case) calls mkswap and waits for the event to arrive. Once it gets notified, it calls swapon. Therefore, I ask you to please apply this patch to your rules, or make the change in any other way you see fit, as long as the watch option gets enabled: --- /lib/udev/rules.d/55-dm.rules 2013-08-07 09:45:01.000000000 -0400 +++ /root/55-dm.rules 2013-12-08 10:12:48.104015288 -0500 @@ -98,6 +98,8 @@ # and 'DM subsystem' related rules enabled in this case. ENV{DM_SUSPENDED}=="1", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}="1" +OPTIONS+="watch" + GOTO="dm_end" LABEL="dm_disable" Thank you, Best regards, Michael -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: armel i386 Kernel: Linux 3.12.3 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dmsetup depends on: ii libc6 2.17-93 ii libdevmapper1.02.1 2:1.02.74-6 ii libudev0 175-7.1 ii util-linux 2.20.1-5.3 dmsetup recommends no packages. dmsetup suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org