Xpra: Ticket #1093: tmpfiles.d/xpra.conf references nonexistant group

On Debian jessie, systemd-tmpfiles-setup.service and systemd-tmpfiles-clean.service fail because /usr/lib/tmpfiles.d/xpra.conf references the group xpra, which does not exist:

systemd-tmpfiles[842]: [/usr/lib/tmpfiles.d/xpra.conf:3] Unknown group 'xpra'.

I believe the package should create the group at install time.

Wed, 20 Jan 2016 22:12:04 GMT - Antoine Martin: owner changed

r11696 should do what you want, please try the beta packages and close this ticket if that works for you.

Thu, 21 Jan 2016 10:17:26 GMT - tribut: status changed; resolution set

Thanks, that does it.

However, a slightly cleaner way to check for group existence would be

if ! getent group $SERVER_GROUP >/dev/null; then

Thu, 21 Jan 2016 19:45:03 GMT - Antoine Martin:

I've backported this change to v0.16.x in r11706 and will be included in 0.16.1

r11707 uses the syntax from comment:2 (trunk only).

Sat, 23 Jan 2021 05:14:47 GMT - migration script:

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