[Bug 1713980] Re: swapfile did not start after installation

Jean-Baptiste Lallement jean-baptiste.lallement at ubuntu.com
Fri Sep 1 12:26:45 UTC 2017


*** This bug is a duplicate of bug 1670336 ***
    https://bugs.launchpad.net/bugs/1670336

** This bug is no longer a duplicate of bug 1713722
   System fails to start encrypted swap on boot on an encrypted home installation
** This bug has been marked a duplicate of bug 1670336
   Ubiquity problem with encrypted home option: system hangs because of ecryptfs-setup-swap not working with swapfiles

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

Title:
  swapfile did not start after installation

Status in grub2 package in Ubuntu:
  New

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)
             man:systemd-fstab-generator(8)
    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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1713980/+subscriptions



More information about the foundations-bugs mailing list