16:54 <cjwatson> jodh: I *think* I may see the general structure of what's 
going on here
16:54 <cjwatson> jodh: This debugging should make it about as clear to you as 
it is to me so far, I think
16:54 <cjwatson> <7>init: conf_load_path_with_override: Loading configuration 
file /etc/init/rc-sysinit.conf
16:54 <cjwatson> ...
16:54 <cjwatson> <7>init: conf_file_destroy: Destroyed unused job rc-sysinit
16:54 <cjwatson> <7>init: event_unblock: name: 'filesystem', new blockers: 3
16:55 <cjwatson> jodh: When we tear down the old job, we end up unreferencing 
and destroying the event operators it refers to, at least enough to cause them 
to decrement various event->blockers
16:56 <cjwatson> jodh: So the 'filesystem' event ends up entering the finished 
state far too early because it's been wrongly unblocked
17:08 <jodh> cjwatson: gotcha - that is indeed subtle. Could be an interesting 
one to fix too ;)
17:10 <cjwatson> jodh: My feeling is that the nih_free in conf_file_destroy 
needs to be something more careful involving keeping references
17:10 <cjwatson> jodh: But that also perhaps job_class_reconsider shouldn't 
replace a job that has events that are blocking some other event?  I'm not 
quite sure, I don't know the structures quite well enough
17:10 <cjwatson> jodh: Is that enough to get you going for now though?
17:11 <jodh> cjwatson: sure is - thanks!!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1124384

Title:
  reload-configuration can confuse upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1124384/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to