Check which 4.x base versions we need to support upgrades for
Originally created by @intrigeri on #17437 (Redmine)
For 4.2.2 we’re supporting (v2) upgrades for devices that were initially installed with any version among 4.0~beta1, 4.0~beta2, 4.0~rc1, 4.0, 4.1, 4.1.1, and 4.2. That is, we generated 7 IUKs. The status quo is that we’ll be doing this for every subsequent 4.x release, and the number of IUKs to generate will grow each time.
I was wondering if all these base versions (=
initial-install-version
) were actually used in the real world.
So I checked which base versions have been used with the Upgrader v2 (Tails 4.2+) so far, with this command on our webserver:
zgrep -E 'upgrade/v2/Tails/4\..*/amd64/stable/upgrades.yml.pgp' \
/var/log/nginx/tails.boum.org/access.log* \
| awk '{print $5}' | sort -u
⇒ every final 4.x release appears on the list, but none of 4.0* does, i.e.: so far, none of our IUKs built againt 4.0* has been used. But we should bear in mind that at the time I’m writing this, 4.2 has been released only a week ago, so there could very well be folks who initially installed 4.0~* but did not upgrade to 4.2 yet.
I’ll take a look at these logs regularly and we’ll see if 4.0* pop up. If they don’t, IMO we should consider dropping 4.0* from our list of IUK “source versions”.
In passing, sajolida: it seems to me that with the single SquashFS diff scheme, we have no way anymore to tell, by looking at our logs, which version of Tails people are running. I hope it won’t be a problem.
Related issues
- Related to #17361 (closed)
- Related to sysadmin#17434 (closed)
- Related to #17435 (closed)