Updates keep coming in while writable image is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu system image |
Invalid
|
Undecided
|
Unassigned | ||
system-image (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I've been updating whilst having writable image set.
root@ubuntu-
current build number: 104
device name: mako
channel: ubuntu-
alias: ubuntu-
last update: 2014-06-29 04:47:42
version version: 104
version ubuntu: 20140629
version device: 20140625
root@ubuntu-
-rw-rw-rw- 1 root root 0 Jun 22 14:37 /userdata/
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: system-image-common 2.2-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.3-0ubuntu2
Architecture: armhf
Date: Sun Jun 29 05:00:12 2014
InstallationDate: Installed on 2014-06-29 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140629-020204)
PackageArchitec
SourcePackage: system-image
UpgradeStatus: No upgrade log present (probably fresh install)
This is basically a feature, not a bug. system-image-cli is a developer tool, as is writable mode. Developers are supposed to know what they're doing, so s-i-cli never changes its behavior based on writable mode and in fact never looks at /userdata/ .writable_ image.
You would have to pass `--build 0` to force a full update.
In IRC discussions, Sergio mentioned that it worked differently in Saucy, where if writable mode was set, no updates would happen via the system-settings ui. If that behavior's changed, then it's a ui bug. Note that system-image-dbus also does not look at /userdata/ .writable_ image and does not change behavior based on writable mode, however s-i-dbus is purely triggered through D-Bus activation, which typically is only invoked by the systems-setting ui.