Disable UI-based OTA updates if root file system is writable

Bug #1466125 reported by Tony Espy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Triaged
Wishlist
Barry Warsaw

Bug Description

As it's possible for end-users of pre-installed Touch devices to make their file system writable *and* we know that this can lead to broken systems if new packages are installed via apt, we should prevent UI-based OTA updates from being applied. The UI should provide a clear explanation of why OTA updates are non-installable.

As discussed, it should be possible to use the command-line client to apply updates, and if used, a simple warning should be output.

This is being filed as of OTA4, based on the vivid-overlay PPA.

Tags: client
Tony Espy (awe)
tags: added: client
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: New → Triaged
importance: Undecided → Wishlist
assignee: nobody → Barry Warsaw (barry)
milestone: none → 3.1
Revision history for this message
Steve Langasek (vorlon) wrote :

First, the problem isn't specific to the rootfs being *currently* writable. The problem exists if the rootfs has *ever* been marked writable (and modified).

Second, as discussed elswhere in mail, it would be better to force a full update in this case, *not* refuse to update the system. The Ubuntu Phone model is that users should receive updates automatically and seamlessly; while users can fiddle with their filesystem, we probably /don't/ want to leave those users islanded on the currently-installed image version forever, but instead propose a full update, possibly with appropriate caveats. This will clobber any (unsupported) local modifications but at least won't leave them with an insecure and unsupportable device.

Revision history for this message
Mateo Salta (mateo-salta) wrote :

yeah, I only made mine writable to do some ad blocking with the hosts file. something I can re-apply after an ota wipes it out, but nothing crazy like installing things with apt. also I have heard some add new ring tones this way too.

Barry Warsaw (barry)
Changed in ubuntu-system-image:
milestone: 3.1 → 3.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.