Comment 27 for bug 1552539

Martin Pitt (pitti) wrote :

I'm able to replicate this behaviour with the following in QEMU:

  swapoff /dev/vda5
  udevadm trigger --action=remove --sysname-match=vda5
  udevadm trigger --action=add --sysname-match=vda5

This makes dev-vda5.device go down and back up, and thus looks like it got hotplugged, and then the fstab entry for /dev/vda5 gets triggered which auto-enables the swap partition again.

This remove/add event can happen if partman removes the existing partition and recreates it, which is fairly plausible.