Public bug reported: Environment: - Ubuntu 18.04.1 LTS - Linux 4.15.0-32-generic i686
Description: When I try to mount my swap partition or my swap file, I get "swapon failed: invalid argument" . Steps to reproduce: 1) sudo bash 2) dd if=/dev/zero of=/swapfile bs=1024 count=524288 3) mkswap /swapfile 4) chown root:root /swapfile 5) chmod 0600 /swapfile 6) swapon /swapfile Last execution returns "swapon failed: invalid argument" . I'm almost sure it's a bug because I have no problems using Linux 4.15.0-29-generic instead of Linux 4.15.0-32-generic. Also, no problems using Ubuntu 18.04.1 LTS Live CD. Regards. ** Affects: ubuntu Importance: Undecided Status: New ** Description changed: Environment: - - Ubuntu 18.04.1 LTS - - Linux 4.15.0-32-generic i686 + - Ubuntu 18.04.1 LTS + - Linux 4.15.0-32-generic i686 Description: When I try to mount my swap partition or my swap file, I get "swapon failed: invalid argument" . Steps to reproduce: 1) sudo bash 2) dd if=/dev/zero of=/swapfile bs=1024 count=524288 3) mkswap /swapfile 4) chown root:root /swapfile 5) chmod 0600 /swapfile 6) swapon /swapfile - Last execution return "swapon failed: invalid argument" . + Last execution returns "swapon failed: invalid argument" . I'm almost sure it's a bug because I have no problems using Linux - 4.15.0-29-generic instead of Linux 4.15.0-32-generic. - + 4.15.0-29-generic instead of Linux 4.15.0-32-generic. Also, no problems + using Ubuntu 18.04.1 LTS Live CD. Regards. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1788321 Title: swapon failed: invalid argument To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1788321/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs