xpra icon
Bug tracker and wiki

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1093 closed defect (fixed)

tmpfiles.d/xpra.conf references nonexistant group

Reported by: tribut Owned by: tribut
Priority: minor Milestone: 0.17
Component: packaging Version: trunk
Keywords: Cc:

Description

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.

Change History (3)

comment:1 Changed 3 years ago by Antoine Martin

Owner: changed from Antoine Martin to tribut

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

comment:2 Changed 3 years ago by tribut

Resolution: fixed
Status: newclosed

Thanks, that does it.

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

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

comment:3 Changed 3 years ago by 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).

Note: See TracTickets for help on using tickets.