On Sat, Sep 05, 2009 at 10:23:54PM -0000, David Favor wrote:
> The problem is ec2-init should only be installed on running cloud
> instances.
> 
> The fix is to have this package throw an error if an attempt is made to
> install it on a non-cloud instance.

That's really the crux of the problem. The only way to be sure that
you're running on EC2 or a compatible environment (like UEC), is by
looking for the meta- or user-data service.

I happened to discuss this last week, though, and I've come up with an
approach that should make most people happy.

I'm going to add a check to the init script that will look for signs
that we're not running on EC2, such as "crashkernel" or "splash" on the
kernel command line. It's not 100% accurate, but errs on the side of
running the init script if there's doubt, and should solve this problem
for at least Ubuntu users, as I believe they will all have "splash" on
their kernel command line.

-- 
ec2-init hangs boot on non-EC2/Eucalpytus systems
https://bugs.launchpad.net/bugs/424065
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to