On Fri, 1 Jul 2016, Benjamin Drung wrote:

> Because lsb-release is not installed on all system, but base-files is.
> My intention for getting VERSION_CODENAME defined for jessie is to
> develop a proper fix forĀ https://github.com/saltstack/salt/issues/34423

Let's see:

  On a Debian 8 (jessie) system where lsb-release is not installed, [...]

So why don't you just declare lsb-release required for that
particular feature to work?

If you consider this a bug at all, your intended fix (rely on the
/etc/os-release file) would only half-fix it, because it would still
be wrong in testing and unstable.

OTOH, if you document that lsb_release is required for this feature to
work, then the bug will be fixed in stable, testing and unstable at
the same time, without corner cases.

BTW: In general, relying on the codename is a bad idea and it's
something I would prefer not to encourage. We should rely on actual
features being present or absent, not on the system being at a
particular version.

Thanks.

Reply via email to