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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1552539

Title:
  Ubiquity Erase Disk and Install Fails to create Swap Space

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1552539/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to