Comment 51 for bug 1637601

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-01-16 14:45 EDT-------
Christian,

> That said, it would be very kind if you did a check if it works for you as
> intended.
>
> It does for me, but an ack would be nice
> $ id libvirt-qemu
> uid=64055(libvirt-qemu) gid=116(kvm) groups=116(kvm),64055(libvirt-qemu)

Yes, it does work OK on Zesty for me too.

How would you prefer to handle this for Xenial -- myself or yourself to provide a backport of changes in Debian/Zesty?

Thanks!

Details
----------

Distro and Package version
---

# lsb_release -d
Description: Ubuntu Zesty Zapus (development branch)

# apt-cache madison libvirt-daemon-system
libvirt-daemon-system | 2.5.0-3ubuntu1 | http://us.ports.ubuntu.com/ubuntu-ports zesty/main ppc64el Packages

Install without existing user/group (set UID/GID)
---

# id libvirt-qemu
id: ?libvirt-qemu?: no such user

# apt-get install --yes --no-install-recommends libvirt-daemon-system

# id libvirt-qemu
uid=64055(libvirt-qemu) gid=117(kvm) groups=117(kvm),64055(libvirt-qemu)

Install with existing user/group (keep UID/GID)
---

# apt-get purge --yes libvirt-daemon-system

# id libvirt-qemu
id: ?libvirt-qemu?: no such user

# useradd --system --no-create-home --uid 1704 libvirt-qemu

# id libvirt-qemu
uid=1704(libvirt-qemu) gid=999(libvirt-qemu) groups=999(libvirt-qemu)

# apt-get install --yes --no-install-recommends libvirt-daemon-system

# id libvirt-qemu
uid=1704(libvirt-qemu) gid=999(libvirt-qemu) groups=999(libvirt-qemu)