[Bug 1520154] Re: /etc/os-release should contain "codename" (like DISTRIB_CODENAME in lsb_release)

Leo Arias leo.arias at canonical.com
Mon Apr 11 01:34:27 UTC 2016


os-release now contains UBUNTU_CODENAME.

ubuntu at localhost:~$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="16.04 (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

I'm marking this as fix released. Ogra, will this trigger the removal of
lsb_release? Or what else should we do now here?

** Changed in: snappy
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1520154

Title:
  /etc/os-release should contain "codename" (like DISTRIB_CODENAME in
  lsb_release)

Status in Snappy:
  Fix Released
Status in base-files package in Ubuntu:
  Fix Released

Bug description:
  to use os-release instead of lsb_release (which adds a python
  dependency to the snappy image and is effectively duplication of
  functionality) /etc/os-release should contain "codename", since the
  value is needed for various container operations (lxd,docker) to
  obtain images

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1520154/+subscriptions



More information about the foundations-bugs mailing list