This bug was fixed in the package apport - 2.12-0ubuntu2

---------------
apport (2.12-0ubuntu2) saucy; urgency=low

  * Merge from trunk:
    - sandboxutils.py, make_sandbox(): Install packages from Package: and
      Dependencies: fields also if we have a ProcMaps: field and there are any
      third-party packages. This fixes retracing crashes that use PPAs (as they
      don't have Contents.gz).
    - Robustify "progress bar visible" GTK and KDE UI checks for the faster
      collection due to dropping lsb_release.
 -- Martin Pitt <[email protected]>   Fri, 02 Aug 2013 16:03:43 +0200

** Changed in: apport (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1018387

Title:
  documentation refers to OS and OSRelease, bug reports use
  DistroRelease

Status in “apport” package in Ubuntu:
  Fix Released

Bug description:
  The documentation (doc/data-format.tex) describes the OS and OSRelease
  fields:

      \item [OS:] (optional) Name of the operating system. On LSB compliant
      systems, this can be determined with \verb!lsb_release -si!.

      \item [OSRelease:] (optional) Release version of the operating system. On
      LSB compliant systems, this can be determined with \verb!lsb_release -sr!.

  But these are not included in bug reports. Instead, the DistroRelease
  field is included, and its value is constructed from the output of
  lsb_release -sir in report.py:

      def add_os_info(self):
          '''Add operating system information.

          This adds:
          - DistroRelease: lsb_release -sir output
          - Architecture: system architecture in distro specific notation
          - Uname: uname -srm output
          - NonfreeKernelModules: loaded kernel modules which are not free (if
              there are none, this field will not be present)
          '''
          p = subprocess.Popen(['lsb_release', '-sir'], stdout=subprocess.PIPE,
              stderr=subprocess.PIPE, close_fds=True)
          self['DistroRelease'] = 
p.communicate()[0].decode().strip().replace('\n', ' ')

          u = os.uname()
          self['Uname'] = '%s %s %s' % (u[0], u[2], u[4])
          self['Architecture'] = packaging.get_system_architecture()

  The documentation should be updated to reflect the use of
  DistroRelease instead of OS and OSRelease.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1018387/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to