Watchdog is too aggressive, can lead to unusable device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Alejandro J. Cura | ||
upstart-watchdog (Ubuntu) |
Fix Released
|
Critical
|
dobey |
Bug Description
upstart-watchdog reboots the phone if a process is restarting repeatedly.
In a situation where apport is disabled (which is the proposed situation on retail devices), a process which encounters a problem may restart repeatedly, causing watchdog to reboot the phone. If the situation hasn't changed then the next time the phone starts the same issue could happen.
I had this (bug 1498080) where a process - mediascanner - was crashing.
My phone was then stuck in a boot loop with watchdog rebooting due to repeated mediascanner crashes.
We should probably re-think this.
This solution was implemented to address bug #1394350
The original idea was to include a check on the number of reboots and go into recovery
Related branches
- Mathieu Trudel-Lapierre: Approve
- Alejandro J. Cura (community): Approve
-
Diff: 100 lines (+56/-19)3 files modifieddebian/changelog (+7/-0)
debian/session-watchdog.conf (+26/-11)
debian/upstart-watchdog.system-watchdog.upstart (+23/-8)
description: | updated |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Pat McGowan (pat-mcgowan) |
importance: | Undecided → Critical |
milestone: | none → ww46-2015 |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
milestone: | ww46-2015 → ww40-2015 |
tags: | added: hotfix |
Changed in canonical-devices-system-image: | |
assignee: | Pat McGowan (pat-mcgowan) → Alejandro J. Cura (alecu) |
Changed in upstart-watchdog (Ubuntu): | |
assignee: | Łukasz Zemczak (sil2100) → Rodney Dawes (dobey) |
Changed in upstart-watchdog (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | Triaged → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
see also bug #1381075 upstart should report applications that hit respawn limit to errors.ubuntu.com