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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to