swapfile did not start after installation

Bug #1713980 reported by fossfreedom on 2017-08-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)

Bug Description

Ubuntu Budgie 17.10 32bit

Test case "Auto Resize"

During installation I chose to encrypt my home-folder, install all updates and 3rd party non-free codecs.

I noticed during boot there was a Failure of the Swapfile

on login I ran

systemctl status swapfile.swap

The showed:

● swapfile.swap - /swapfile
   Loaded: loaded (/etc/fstab; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2017-08-30 12:00:50 BST; 4min 0s ago
     What: /swapfile
     Docs: man:fstab(5)
  Process: 318 ExecActivate=/sbin/swapon -o sw /swapfile (code=exited, status=255)

Aug 30 12:00:49 dad-VirtualBox systemd[1]: Activating swap /swapfile...
Aug 30 12:00:50 dad-VirtualBox swapon[318]: swapon: /swapfile: read swap header failed
Aug 30 12:00:50 dad-VirtualBox systemd[1]: swapfile.swap: Swap process exited, code=exited status=255
Aug 30 12:00:50 dad-VirtualBox systemd[1]: Failed to activate swap /swapfile.
Aug 30 12:00:50 dad-VirtualBox systemd[1]: swapfile.swap: Unit entered failed state.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic i686
ApportVersion: 2.20.6-0ubuntu7
Architecture: i386
CurrentDesktop: Budgie:GNOME
Date: Wed Aug 30 12:08:06 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-08-30 (0 days ago)
InstallationMedia: Ubuntu-Budgie 17.10 "Artful Aardvark" - Alpha i386 (20170829)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

fossfreedom (fossfreedom) wrote :
Jason (jason-glithero) wrote :

I have the same issue on 17.04... follwed the manual create swapfile on this site.
removed the old one, and then created a new one.

could the swapfile just not be created during installation?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers