#1064144 rpki-client: /var/lib/rpki-client/cache created with wrong permissions

Package:
rpki-client
Source:
rpki-client
Description:
OpenBSD RPKI validator
Submitter:
Tobias Heider
Date:
2024-02-17 18:21:05 UTC
Severity:
normal
Tags:
#1064144#5
Date:
2024-02-17 17:52:14 UTC
From:
To:
Dear Maintainer,

since the last update a fresh rpki-client installation will create
/var/lib/rpki-client/cache with the wrong permissions. It should be
owned by _rpki-client:_rpki_client but is installed as root:root.

As a result rpki-client will fail to run on fresh installations unless
one runs chown -R _rpki-client:_rpki-client /var/lib/rpki-client/cache

This can be fixed by adding /var/lib/rpki-client/cache to d/rpki-client.tmpfiles.
I will submit the fix seperately via salsa.

#1064144#10
Date:
2024-02-17 18:01:06 UTC
From:
To:
Salsa won't let me open a merge request so I will attach the fix as a patch file here.