Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#47928 - [libvirt] package installation creates user group when it should create system group
Attached to Project:
Community Packages
Opened by Jamin Collins (jamincollins) - Thursday, 28 January 2016, 15:50 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 29 January 2016, 08:24 GMT
Opened by Jamin Collins (jamincollins) - Thursday, 28 January 2016, 15:50 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 29 January 2016, 08:24 GMT
|
DetailsDescription:
installation of the libvirt package creates a user group called "libvirt" this group should be created as a system (not user) group Additional info: * AFAICT all package versions are affected Steps to reproduce: * install the package * grep libvirt /etc/group The problem is due to line 7 of libvirt.install (https://projects.archlinux.org/svntogit/community.git/tree/trunk/libvirt.install?h=packages/libvirt#n7) the groupadd call should have a -r or (preferably for clarity) a --system parameter. |
This task depends upon
On Arch, system accounts are sub-1k and seem to be assigned in a reverse fashion, with the first being 999, second being 998, etc. Non-system accounts are 1k+ and get co-mingled with user accounts. I noticed it because my first user account as a uid of 1000 and gid of 1001, because libvirt had been installed and was assigned gid 1000.
For examples of how other packages handled it:
dnsmasq - https://projects.archlinux.org/svntogit/packages.git/tree/trunk/dnsmasq.install?h=packages/dnsmasq
git - https://projects.archlinux.org/svntogit/packages.git/tree/trunk/git.install?h=packages/git
networkmanager-openvpn - https://projects.archlinux.org/svntogit/packages.git/tree/trunk/networkmanager-openvpn.install?h=packages/networkmanager-openvpn