[Bug 1681470] Re: [ocata] libvirt-daemon-system package post scriptlet of Ubuntu-Cloud Ocata for Xenial breaks /etc/group

Corey Bryant corey.bryant at canonical.com
Thu Jan 11 19:30:50 UTC 2018


Also marking as invalid for the cloud-archive based on Christian's
comments. The libvirt packages in the xenial cloud archives are
unchanged from the corresponding Ubuntu release they've been backported
from.

** Changed in: cloud-archive
       Status: New => Invalid

-- 
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/1681470

Title:
  [ocata] libvirt-daemon-system package post scriptlet of Ubuntu-Cloud
  Ocata for Xenial breaks /etc/group

Status in Ubuntu Cloud Archive:
  Invalid
Status in libvirt package in Ubuntu:
  Invalid

Bug description:
  == Comment: #0 - Carsten Jacobi - 2017-04-10 05:35:09 ==
  ---Problem Description---
  Post installation scriptlet of package libvirt-daemon-system renders /etc/group database inconsistent, the identical group id is assigned to two different names
   
  Machine Type = IBM zSeries 2827 (EC12) 
   
  ---Steps to Reproduce---
   The addressed package is part of the Ubuntu-Cloud update repository for Occata on xenial:

  APT-Sources: http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-
  updates/ocata/main s390x Packages

  In case version 1.3.3 of libvirt-daemon-system was installed on the
  system and you install version 2.5.0 from the Occata-Repository over
  it, the Post-Installation scriptlet will create a setup like this in
  /etc/group

  root at compzfw1:~# getent group | grep :121:
  libvirtd:x:121:
  libvirt:x:121:ubuntu,nova

  This is not a valid configuration, for example IBM internal tools detect those setups and mark the corresponding server "non-compliant".
  The post-scriptlet in question looks like this:

  [...]
  add_users_groups()
  {
      if ! getent group libvirt >/dev/null; then
          if getent group libvirtd >/dev/null; then
              gid=`getent group libvirtd | getent group libvirtd  | cut -d: -f3`
              groupadd --system --non-unique --gid "$gid" libvirt
  [...]

  If a new group with an existing GID is added, the group which previously was assigned to that GID must be consequently remove beforehand!
   
  ---uname output---
  Linux compzfw1 4.8.0-45-generic #48~16.04.1-Ubuntu SMP Fri Mar 24 12:52:18 UTC 2017 s390x s390x s390x GNU/Linux

  Userspace rpm: libvirt-daemon-system_2.5.0-3ubuntu5~cloud0

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



More information about the Ubuntu-openstack-bugs mailing list