/etc/init.d/ec2-init invokes 'ec2-wait-for-meta-data-service' as the first thing in its 'start'.
That program (/usr/bin/ec2-wait-for-meta-data-service) waits for the service, so the script will not move on until the meta-data service is up and running.
I tested that the ec2-wait-for-meta-data-service blocks on my local system using test environment set up from https://wiki.ubuntu.com/UEC/Images/Testing. I brought down the httpd daemon on the local system and ran ec2-wait-for-meta-data-service from inside. That blocked until I started the httpd daemon on the host system.
I've verified this is fixed in http:// ec2-images. ubuntu. com/karmic/ 20090811. 2/ubuntu- ec2-karmic- amd64.img. gz (ec2-init 0.4.99-0ubuntu2).
/etc/init. d/ec2-init invokes 'ec2-wait- for-meta- data-service' as the first thing in its 'start'.
That program (/usr/bin/ ec2-wait- for-meta- data-service) waits for the service, so the script will not move on until the meta-data service is up and running.
I tested that the ec2-wait- for-meta- data-service blocks on my local system using test environment set up from https:/ /wiki.ubuntu. com/UEC/ Images/ Testing. I brought down the httpd daemon on the local system and ran ec2-wait- for-meta- data-service from inside. That blocked until I started the httpd daemon on the host system.
Please re-open if you believe otherwise.