Public bug reported:
Binary package hint: cloud-init
If you do:
sudo rm /var/lib/cloud/config-mounts*
sudo start cloud-config-mounts
You'll notice that /etc/fstab something like:
# cloud-config mounts
/dev/sda2 /mnt auto defaults 0 0
/dev/sda3 none swap sw 0 0
# cloud-config mounts
/dev/sda2 /mnt auto defaults 0 0
/dev/sda3 none swap sw 0 0
The second comment and entries are written even though they're already present.
It seems reasonable that to not write a new entry if an existing entry is
present.
The fallout of this, is that if /etc/fstab is as shown above, a 'reboot'
will never end up with 'filesystems' being emitted, and anything that
depends on that will never run (quite a lot).
ProblemType: Bug
Architecture: i386
Date: Fri Feb 19 17:53:29 2010
DistroRelease: Ubuntu 10.04
Package: cloud-init 0.5.5-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
** Affects: cloud-init (Ubuntu)
Importance: Low
Status: Confirmed
** Tags: apport-bug ec2-images i386 lucid uec-images
--
cloud-init cloud-config-mounts can add duplicate fstab entries
https://bugs.launchpad.net/bugs/524562
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs