Added xpra to a CentOS custom image to install it during the system installation, through Anaconda. When Anaconda tries to install xpra-common the process is exit with an error exit code from the post script:
getent group wireshark >/dev/null || groupadd -r wireshark
The error occurs because groupadd is not available, even it is marked to be installed.
As you can check at the links below, the problem is solved adding "Requires(pre): shadow-utils" to the spec file:
https://bugzilla.redhat.com/show_bug.cgi?id=753293 https://fedoraproject.org/wiki/Packaging:UsersAndGroups
I successfully installed xpra-common, modifying the spec file from xpra-0.17.0-1.el7_2.src.rpm.
Patch created from trunk rev. 12487 to solve add shadow-utils as a requirement to the spec file.
Thanks!
Applied in r12488, will be included in the next stable updates as this is cheap.
r12750 + r12751 was needed to fix opensuse packaging, backport will be needed too
(edit milestone)
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1191