job with "mounted MOUNTPOINT=/ and net-device-up IFACE=eth0" blocks boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
High
|
Scott Moser | ||
Lucid |
Fix Released
|
High
|
Scott Moser | ||
udev (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) | ||
Lucid |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) | ||
upstart (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) | ||
Lucid |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
Binary package hint: upstart
If I boot an ec2instance, and then reboot it, it comes up fine.
If I add the following job, and reboot, the system will not come back up.
###/etc/
start on (mounted MOUNTPOINT=/ and net-device-up IFACE=eth0)
task
console output
script
echo ========== BEGIN ${UPSTART_JOB}: $(date) =======
echo "hello world\n"
echo ========== END ${UPSTART_JOB}: $(date) =======
end script
###
To further debug, I've enabled more verbosity in init with
###/etc/
description "debug me"
start on startup
task
exec initctl log-priority debug
###
This appears to be ec2-specific, as I cannot reproduce it using the same disk image booted under kvm.
Differences between kvm and ec2 boot are:
a.) kvm and ec2 use different kernels/ramdisks
b.) ec2 boot has karmic initramdisk (to work around bug 503212)
ProblemType: Bug
Architecture: i386
Date: Fri Jan 8 18:00:41 2010
DistroRelease: Ubuntu 10.04
Ec2AMI: ami-a0c32ec9
Ec2AMIManifest: ubuntu-
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: aki-60cb2609
Ec2Ramdisk: ari-06c22f6f
Package: upstart 0.6.3-11
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: upstart
Tags: lucid ec2-images
Uname: Linux 2.6.32-301-ec2 i686
Changed in udev (Ubuntu Lucid): | |
assignee: | nobody → Scott James Remnant (scott) |
Changed in upstart (Ubuntu Lucid): | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → lucid-alpha-3 |
assignee: | nobody → Scott James Remnant (scott) |
Changed in cloud-init (Ubuntu Lucid): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Scott Moser (smoser) |
console log from clean successful reboot before adding the described job.