Public bug reported: == 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@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 ** Affects: libvirt (Ubuntu) Importance: Undecided Assignee: Skipper Bug Screeners (skipper-screen-team) Status: New ** Tags: architecture-s39064 bugnameltc-153281 openstack-ibm severity-medium targetmilestone-inin--- ** Tags added: architecture-s39064 bugnameltc-153281 severity-medium targetmilestone-inin--- ** Changed in: ubuntu Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team) ** Package changed: ubuntu => libvirt (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1681470 Title: libvirt-daemon-system package post scriptlet of Ubuntu-Cloud Occata for Xenial breaks /etc/group To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1681470/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
