[Bug 1651852] Re: trove-common postinst references wrong command

Launchpad Bug Tracker 1651852 at bugs.launchpad.net
Mon Jan 30 19:37:02 UTC 2017


This bug was fixed in the package openstack-trove - 1:7.0.0~b3-0ubuntu1

---------------
openstack-trove (1:7.0.0~b3-0ubuntu1) zesty; urgency=medium

  * d/trove-common.postinst: Use 'getent' instead of 'getenv'.
    (LP: #1651852)
  * New upstream release.
  * d/control: Align (Build-)Depends with upstream.
  * d/patches/unwedge-tests.patch: Skip failing unit tests.

 -- Chuck Short <zulcss at ubuntu.com>  Mon, 30 Jan 2017 09:26:14 -0500

** Changed in: openstack-trove (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openstack-trove in Ubuntu.
https://bugs.launchpad.net/bugs/1651852

Title:
  trove-common postinst references wrong command

Status in openstack-trove package in Ubuntu:
  Fix Released

Bug description:
  http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/openstack-
  trove/trusty/view/head:/debian/trove-common.postinst#L6

  trove-common.postinst is calling 'getenv' instead of 'getent' in two
  locations[0][1]. This isn't an actual command but rather a function in
  stdlib. Understandable typo. This breaks the package install when the
  trove group already exists (to define static uid/gid before package
  install).

  Simple fix, but I am not familiar with how patch submissions work for
  this.

  [0] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/openstack-trove/trusty/view/head:/debian/trove-common.postinst#L6
  [0] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/openstack-trove/trusty/view/head:/debian/trove-common.postinst#L9

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openstack-trove/+bug/1651852/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list