[Bug 1651852] [NEW] trove-common postinst references wrong command

Sam Yaple sam at yaple.net
Wed Dec 21 21:08:05 UTC 2016


Public bug reported:

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

** Affects: openstack-trove (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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