consecutive runs of "init-checkconf" produce errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Fix Released
|
Undecided
|
James Hunt |
Bug Description
Binary package hint: upstart
lsb_release -rd:
Description: Ubuntu 11.04
Release: 11.04
apt-cache policy upstart:
upstart:
Installed: 0.9.7-1
Candidate: 0.9.7-1
I am trying to programmatically run `init-checkconf` on the entire /etc/init folder and seem to have found a race condition. Basically I want to do something like `for UPSTART_JOB in /etc/init/*.conf; do init-checkconf $UPSTART_JOB; done` but find that I can't do so without putting a sleep after each check.
How to reproduce:
`init-checkconf /etc/init/atd.conf && init-checkconf /etc/init/
Expected results:
File /etc/init/atd.conf: syntax ok
File /etc/init/
Actual results:
File /etc/init/atd.conf: syntax ok
ERROR: failed to ask Upstart to check conf file
Changed in upstart (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → James Hunt (jamesodhunt) |
Changed in upstart (Ubuntu): | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → In Progress |
Changed in upstart (Ubuntu): | |
status: | In Progress → Fix Released |