Xpra: Ticket #1191: Adds shadow-utils as a requirement(pre) of xpra-common in xpra.spec

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.



Fri, 29 Apr 2016 19:45:34 GMT - Ronaldo Nunez: attachment set

Patch created from trunk rev. 12487 to solve add shadow-utils as a requirement to the spec file.


Fri, 29 Apr 2016 19:47:23 GMT - Ronaldo Nunez: version, type, milestone changed


Sat, 30 Apr 2016 04:43:04 GMT - Antoine Martin: status changed; resolution set

Thanks!

Applied in r12488, will be included in the next stable updates as this is cheap.


Sun, 05 Jun 2016 16:11:23 GMT - Antoine Martin:

r12750 + r12751 was needed to fix opensuse packaging, backport will be needed too


Mon, 20 Feb 2017 12:28:04 GMT - Antoine Martin: description, milestone changed

(edit milestone)


Sat, 23 Jan 2021 05:17:28 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1191