debian/heat-common.postinst uses getenv instead of getent

Bug #1328315 reported by kraig on 2014-06-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
heat (Ubuntu)
Medium
Unassigned
Trusty
Medium
Unassigned
Utopic
Medium
Unassigned
Vivid
Medium
Unassigned

Bug Description

I'm unable to install heat on my machine which has a heat user and group in ldap. Upon further inspection it looks like the postinst script is using getenv rather than getent to determine if the user and group already exist.

Other openstack projects are using getent: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/glance/trusty/view/head:/debian/glance-common.postinst
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/nova/trusty/view/head:/debian/nova-common.postinst

Zane Bitter (zaneb) wrote :

This is a distribution issue, not an upstream issue. Moving the bug to Ubuntu (although you should really report it in Debian).

affects: heat → heat (Ubuntu)
James Page (james-page) on 2015-01-21
Changed in heat (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in heat (Ubuntu Vivid):
status: Triaged → Fix Committed
importance: High → Medium
Changed in heat (Ubuntu Utopic):
importance: Undecided → Medium
Changed in heat (Ubuntu Trusty):
importance: Undecided → Medium
Changed in heat (Ubuntu Utopic):
status: New → Triaged
Changed in heat (Ubuntu Trusty):
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package heat - 2015.1~b2-0ubuntu1

---------------
heat (2015.1~b2-0ubuntu1) vivid; urgency=medium

  [ James Page ]
  * d/heat-common.postinst: Update to use getent for detection of existing
    heat user and group (LP: #1328315).

  [ Corey Bryant ]
  * New upstream release.
    - d/control: Align with upstream dependencies.
    - d/p/oslo-i18n-private-classes.patch: Dropped. Fixed upstream.
    - d/p/remove-gettextutils-import.patch: Dropped. Fixed upstream.

  [ Chuck Short ]
  * debian/rules: Use oslo-config-generator to generate configuration files.
  * debian/patches/default-log-dir.patch: Dropped no longer needed.
 -- Chuck Short <email address hidden> Fri, 13 Feb 2015 09:37:14 -0500

Changed in heat (Ubuntu Vivid):
status: Fix Committed → Fix Released
Rolf Leggewie (r0lf) wrote :

utopic has seen the end of its life and is no longer receiving any updates. Marking the utopic task for this ticket as "Won't Fix".

Changed in heat (Ubuntu Utopic):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers