[pkg-cryptsetup-devel] Bug#791944: Bug#791944: udev: shutdown hangs because of missing swapoff
Milan Broz
gmazyland at gmail.com
Tue Dec 15 20:34:30 UTC 2015
On 12/15/2015 08:55 PM, Jochen Sprickerhof wrote:
> * Jonas Meurer <jonas at freesources.org> [2015-12-10 13:16]:
>> Could you try to replace 'cryptsetup remove' by 'dmsetup --check close'
>> and see whether the shutdown process still hangs?
>
> I guess you mean `dmsetup --checks remove "$dst"`, at least that's what
> I've found in my unstable version of dmsetup (2:1.02.110-2). But the
> result is the same, it still hangs.
If this happens, it probably means that for some reason there is missing
(of ignored) "dmsetup udevcomplete" call in udev rules.
This call decreases internal semaphore allowing libdevampper process to continue.
(I see this in /lib/udev/rules.d/55-dm.rules on Debian, part of dmsetup package).
Isn't possible that you have this rule missing, or that there are installed
other udev rules interference with it?
(Note that rules probably differes from device-mapper upstream.)
Milan
More information about the pkg-cryptsetup-devel
mailing list