lsb_release -a returns Debian's distributor_id and description, not Tails'
In the version-3 series of Tails, `lsb_release -a` returns the Distributor ID as being `Tails`, and references Tails in the Description field. In Tails 4.0~beta2, `lsb-release -a` references `Debian` in both fields instead.
This impacts applications that rely on lsb or ansible_lsb to toggle Tails-specific features.
- Status changed from New to Confirmed
- Target version deleted (
- Type of work changed from Debian to Code
Indeed, since 10.2018112800,
lsb_release uses the info from
/usr/lib/os-release, which we don't modify from the pristine Debian one. Patching that file is sufficient to fix this problem. It can be done by generating
auto/config, just like we already add bits to
I don't know if dropping the Debian info there can break other stuff. Hopefully our test suite will catch such breakage once a branch is proposed and we run our CI on it.
I'm removing the "Target version" for now as I'm not aware of important use cases that warrant treating this as a blocker for releasing Tails 4.0, and our 4.0 plate is pretty full already. But this probably tells more about my ignorance than about anything else, so feel free to enlighten me :)