boot failure because of missing filesystem event
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Fix Released
|
High
|
Scott James Remnant (Canonical) | ||
Karmic |
Won't Fix
|
High
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Scott James Remnant (Canonical) |
Bug Description
Binary package hint: mountall
While stress-testing Karmic, we ran into an infrequent boot failure that we traced to the 'filesystem' event not being emitted by mountall.
Keybuk describes the problem:
"mountall, in the failure case, has queued the "filesystem" event to be sent - but it's still queued only in memory and hasn't yet been put on the socket. Since mountall never waits for a reply, it's possible for mountall to exit without ever actually sending the event.
Adding:
dbus_
to the bottom of the main() function, just before the "return" should flush the sockets and ensure the event hits Upstart. If this fixes the problem, it's certainly something we'd want to SRU for karmic and fix in lucid!"
Changed in mountall (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in mountall (Ubuntu Karmic): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Scott James Remnant (scott) |
Changed in mountall (Ubuntu Lucid): | |
assignee: | nobody → Scott James Remnant (scott) |
Changed in mountall (Ubuntu Lucid): | |
status: | Triaged → Fix Committed |
Changed in mountall (Ubuntu Karmic): | |
status: | Triaged → Fix Committed |
status: | Fix Committed → Triaged |
Note that mountall finished mounting the filesystems, so it should have emitted the event: handler: Ignored event 1 (0) for process 470
[ 6.299441] mountall: local finished
[ 6.299646] mountall: fhs mounted
[ 6.299816] mountall: mounted: local 2/2 remote 0/0 virtual 11/11 swap 1/1
[ 6.299916] event_new: Pending local-filesystems event
[ 6.300231] job_process_
[ 6.300412] mountall main process (470) exited normally
[ 6.300583] mountall goal changed from start to stop
[ 6.300753] mountall state changed from running to stopping