[enhancement] Need to signal when mir is ready for upstart dependencies to wait for
Bug #1239876 reported by
Michał Sawicz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alexandros Frantzis | ||
unity-mir |
Fix Released
|
High
|
Gerry Boland | ||
mir (Ubuntu) |
Fix Released
|
High
|
Alexandros Frantzis | ||
unity8 (Ubuntu) |
Fix Released
|
High
|
Michał Sawicz |
Bug Description
Raising a SIGSTOP from unity8 when it's ready (start() returned in mir) will make sure that dependencies (maliit) don't start too early. We need a signal from Mir for that, and handle that upwards towards unity8 - need to make sure surfaceflinger usecase still works.
unity8 upstart job needs:
expect stop
Related branches
lp:~afrantzis/mir/server-started-notification
- Daniel van Vugt: Approve
- Alan Griffiths: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 584 lines (+194/-204)11 files modifiedinclude/server/mir/default_pause_resume_listener.h (+0/-40)
include/server/mir/default_server_configuration.h (+2/-2)
include/server/mir/default_server_status_listener.h (+43/-0)
include/server/mir/pause_resume_listener.h (+0/-40)
include/server/mir/server_configuration.h (+2/-2)
include/server/mir/server_status_listener.h (+41/-0)
include/test/mir_test_doubles/mock_pause_resume_listener.h (+0/-44)
include/test/mir_test_doubles/mock_server_status_listener.h (+45/-0)
src/server/default_server_configuration.cpp (+4/-4)
src/server/display_server.cpp (+7/-5)
tests/integration-tests/test_display_server_main_loop_events.cpp (+50/-67)
lp:~gerboland/unity-mir/listen-for-server-start-stop-ready
- PS Jenkins bot (community): Approve (continuous-integration)
- Michael Zanetti (community): Approve
- Alan Griffiths: Approve
-
Diff: 165 lines (+100/-2)6 files modifieddebian/changelog (+9/-0)
src/unity-mir/serverstatuslistener.cpp (+45/-0)
src/unity-mir/serverstatuslistener.h (+30/-0)
src/unity-mir/shellserverconfiguration.cpp (+11/-0)
src/unity-mir/shellserverconfiguration.h (+1/-0)
src/unity-mir/unity-mir.pro (+4/-2)
lp:~saviq/unity8/raise-sigstop
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Michael Zanetti (community): Approve
- Gerry Boland (community): Approve
-
Diff: 152 lines (+107/-1)4 files modifieddata/unity8.conf (+1/-0)
debian/control (+1/-1)
main.cpp (+6/-0)
tests/autopilot/unity8/shell/tests/test_upstart.py (+99/-0)
Changed in mir: | |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
Changed in unity-mir: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Gerry Boland (gerboland) |
Changed in unity8: | |
milestone: | none → ubuntu-13.10 |
Changed in mir: | |
status: | Incomplete → Triaged |
importance: | Undecided → High |
Changed in mir: | |
status: | Triaged → In Progress |
summary: |
- Need to signal when mir is ready for upstart dependencies to wait for + [enhancement] Need to signal when mir is ready for upstart dependencies + to wait for |
tags: | added: enhancement |
Changed in unity-mir: | |
status: | Triaged → In Progress |
Changed in unity8: | |
assignee: | Gerry Boland (gerboland) → Michał Sawicz (saviq) |
status: | Triaged → In Progress |
Changed in mir: | |
milestone: | none → phone-v1-freeze |
summary: |
- [enhancement] Need to signal when mir is ready for upstart dependencies - to wait for + [feature] Need to signal when mir is ready for upstart dependencies to + wait for |
tags: |
added: feature removed: enhancement |
Changed in mir: | |
milestone: | phone-v1-freeze → 0.0.16 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in mir: | |
milestone: | 0.0.16 → 0.1.0 |
status: | Fix Released → Fix Committed |
summary: |
- [feature] Need to signal when mir is ready for upstart dependencies to - wait for + [enhancement] Need to signal when mir is ready for upstart dependencies + to wait for |
tags: |
added: enhancement removed: feature |
Changed in mir (Ubuntu): | |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in mir: | |
status: | Fix Committed → Fix Released |
tags: | added: needs-ap-test |
Changed in unity-mir: | |
status: | In Progress → Fix Released |
Changed in unity8: | |
status: | In Progress → Fix Released |
Changed in unity8: | |
status: | Fix Released → In Progress |
Changed in unity-mir: | |
status: | Fix Released → In Progress |
Changed in unity8: | |
status: | Fix Committed → Fix Released |
Changed in unity-mir: | |
status: | Fix Committed → Fix Released |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Michał Sawicz (saviq) |
importance: | Undecided → High |
no longer affects: | unity8 |
To post a comment you must log in.
I don't entirely understand the description. You mean a signal emitted by libmirserver to say "the socket and server are now open for business"?