[Bug 1245611] Re: novnc tries to add nova user/group without checking if it exists

James Page james.page at ubuntu.com
Thu Sep 8 10:36:55 UTC 2016


Fixed in:

novnc (1:0.4+dfsg+1+20131010+gitf68af8af3d-2) unstable; urgency=medium

  * Do not create nova user and group if they already exist.

 -- Thomas Goirand <zigo at debian.org>  Wed, 25 Dec 2013 16:47:06 +0800


** Changed in: novnc (Ubuntu Trusty)
       Status: Triaged => Fix Released

** Changed in: novnc (Ubuntu)
       Status: Triaged => Fix Released

** Changed in: cloud-archive
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1245611

Title:
  novnc tries to add nova user/group without checking if it exists

Status in Ubuntu Cloud Archive:
  Fix Released
Status in novnc package in Ubuntu:
  Fix Released
Status in novnc source package in Saucy:
  Won't Fix
Status in novnc source package in Trusty:
  Fix Released

Bug description:
  Packacge "novnc" from http://ubuntu-cloud.archive.canonical.com/ubuntu
  precise-updates/havana has a bug in its postinst script. It does not
  check if the nova user/group exists.

  Replace the postinst script with this:

  #!/bin/sh

  set -e

  if [ "$1" = "configure" ]; then
      if ! getent group nova > /dev/null 2>&1; then
          addgroup --system nova >/dev/null
      fi

      if ! getent passwd nova > /dev/null 2>&1; then
          adduser --system --home /var/lib/nova --ingroup nova --no-create-home --shell /bin/false nova
      fi
  fi

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1245611/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list