ephemeral mount does not show up in df output or mtab

Bug #527825 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Low
Scott Moser
Nominated for Lucid by Scott Moser

Bug Description

Binary package hint: cloud-init

on 20100224.2:
$ cat /etc/fstab
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults 0 0
# cloud-config mounts
/dev/sda2 /mnt auto defaults 0 0
/dev/sda3 none swap sw 0 0

$ grep mnt /proc/mounts
/dev/sda2 /mnt ext3 rw,relatime,errors=continue,data=writeback 0 0

$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 10403128 645092 9338608 7% /
devtmpfs 853792 112 853680 1% /dev
none 870508 0 870508 0% /dev/shm
none 870508 48 870460 1% /var/run
none 870508 0 870508 0% /var/lock
none 870508 0 870508 0% /lib/init/rw

$ egrep "sda|mnt" /etc/mtab
/dev/sda1 / ext3 rw 0 0

On reboot everything is fine. Note that the entries in fstab are written by cloud-init on first boot.

ProblemType: Bug
Architecture: i386
Date: Thu Feb 25 14:23:35 2010
DistroRelease: Ubuntu 10.04
Package: cloud-init 0.5.7-0ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: User Name 2.6.32-302.6-ec2
SourcePackage: cloud-init
Uname: Linux 2.6.32-302-ec2 i686

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
Scott Moser (smoser)
Changed in cloud-init (Ubuntu):
assignee: nobody → Scott Moser (smoser)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Scott Moser (smoser) wrote :

making the following change to cloud-config-mounts.conf fixes this:
#start on cloud-config
start on filesystem

Changed in cloud-init (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.5.10-0ubuntu1

---------------
cloud-init (0.5.10-0ubuntu1) lucid; urgency=low

  * New upstream release.
  * ec2-get-info: fix for python traceback
  * ephemeral mount will show up in /etc/mtab or df on first boot
    LP: #527825
 -- Scott Moser <email address hidden> Fri, 26 Mar 2010 00:57:28 -0400

Changed in cloud-init (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.