systemd is reporting: systemd[1]: swapfile.swap: Failed with result 'exit-code'.
so you are using a non-raw device swapfile called swapfile.swap that is not a contiguous swap file (that is, has no file holes), hence it can't be used as swap. Linux will create files with holes to save space (this is a sparse file) but swap files must not have holes. The location of the swap file can be found using: grep swap /etc/fstab A good way to generate a swapfile without holes is to use dd, e.g. sudo dd if=/dev/zero of=/path/swapfile.swap bs=1024 count=1048576 sudo chmod 0600 /path/swap.swp sudo chown root:root /path/swap.swp ..where path is the path to the swapfile. This is not a kernel bug, but a mis-configuration of the swap file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1742934 Title: Double swapon message To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1742934/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
