[pkg-cryptsetup-devel] Bug#791944: udev: shutdown hangs because of missing swapoff

Guilhem Moulin guilhem at guilhem.org
Sun Jan 10 20:43:36 UTC 2016


On Sun, 10 Jan 2016 at 16:57:43 +0100, Guilhem Moulin wrote:
> I'm able to reproduce the problem in fresh install (automatically installed
> VM).  AFAICT this is due to the fact that udev is not longer running at this
> point.  I applied the following patch:
> […]
> Adding ‘/etc/init.d/udev start’ before the ‘cryptsetup remove’ solves
> the problem.  Of course this is not a proper fix though, since the rcS
> dependencies should ensure the proper dependency instead.

In fact the dependency chain looks fine already: both the ‘cryptdisks-early’
and ‘cryptdisks’ scripts have had a “Should-Stop: udev” header since
2006.

How come systemd-udevd does not honor the dependency?  Unfortunately
this is hard to debug since it happens after the syslog daemon is
brought down.  CC'ing the systemd maintainers for input (I don't know
which package is the culprit, but it's odd that the service dies before
its sysvinit reverse dependencies).

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20160110/9c15ad92/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list