[Bug 898365] [NEW] cloud-config mount of '[swap, null ]' not handled correctly

Scott Moser smoser at ubuntu.com
Wed Nov 30 21:27:43 UTC 2011


Public bug reported:

when testing precise alpha-1 I noticed some errors in the logs like this:
 
 fsck: fsck.swap: not found
 fsck: Error 2 while executing fsck.swap for /dev/xvda3
 fsck.ext3: Device or resource busy while trying to open /dev/xvda2
 Filesystem mounted or opened exclusively by another program?
 ..
 mountall: fsck None [344] terminated with status 8

This was with cloud-config user-data like:
  mounts:
   - [ ephemeral0, /opt , auto, "defaults,noexec" ]
   - [ swap, null ]

The resultant fstab had:
  /dev/xvda2	/opt	auto	defaults,noexec,comment=cloudconfig	0	2
  /dev/xvda3	None	auto	defaults,nobootwait,comment=cloudconfig	0	2

There should not be an entry for swap.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/898365

Title:
  cloud-config mount of '[swap, null ]' not handled correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/898365/+subscriptions



More information about the Ubuntu-server-bugs mailing list