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

Chuck Short chuck.short at canonical.com
Thu Jan 5 14:32:53 UTC 2017


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

-- 
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 Committed

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