swapon failed: invalid argument
Bug #1788321 reported by
superlex
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
util-linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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.
description: | updated |
affects: | ubuntu → util-linux (Ubuntu) |
tags: | added: regression-update |
Changed in linux (Ubuntu): | |
status: | Confirmed → Incomplete |
tags: | added: cscc |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1788321/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]