[Bug 1650207] Re: original lsb-release file should be preserved for classic mode

Kyle Fazzari kyle at canonical.com
Fri Feb 24 19:59:31 UTC 2017


I've not tested anywhere else, but this bug is _not_ fixed on arm64,
running core from edge:

$ snap --version
snap    2.23~201702241616.git.9d8157d~ubuntu16.04.1
snapd   2.23~201702241616.git.9d8157d~ubuntu16.04.1
series  16
kernel  4.4.0-1032-snapdragon

$ snap list
Name                Version       Rev   Developer  Notes
classic             16.04         17    canonical  devmode
core                16-2          1316  canonical  -
dragonboard         16.04-0.18    24    canonical  -
dragonboard-kernel  4.4.0-1032-3  16    canonical  -

(classic)kyrofa at localhost:~$ cat /etc/os-release 
NAME="Ubuntu Core"
VERSION="16"
ID=ubuntu-core
PRETTY_NAME="Ubuntu Core 16"
VERSION_ID="16""
HOME_URL="http://www.snapcraft.io/"
BUG_REPORT_URL="http://bugs.launchpad.net/snappy/"

** Changed in: livecd-rootfs (Ubuntu)
       Status: Fix Committed => Confirmed

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

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

Title:
  original lsb-release file should be preserved for classic mode

Status in Snappy:
  Confirmed
Status in livecd-rootfs package in Ubuntu:
  Confirmed

Bug description:
  when installing the classic snap the modified /etc/lsb-release and
  /etc/os-release are used inside the tarball. when compiling code that
  uses the content of these files at build time they get the wrong info:

  DISTRIB_ID="Ubuntu Core"
  DISTRIB_RELEASE=16
  DISTRIB_DESCRIPTION="Ubuntu Core 16"

  vs:

  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=16.04
  DISTRIB_CODENAME=xenial
  DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

  we should preserve the original data for these two files and use it
  inside the classic container when the classic snap is installed, so
  build environments can match against the correct data.

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



More information about the foundations-bugs mailing list