Attention is currently required from: laforge, fixeria, msuraev. osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-hlr/+/29311 )
Change subject: Debian: add osmocom user during package install ......................................................................
Patch Set 7:
(1 comment)
File debian/postinst:
https://gerrit.osmocom.org/c/osmo-hlr/+/29311/comment/7ff6a46c_a093cee0 PS7, Line 9: # install.
as you mentioned in the issue, this also need to be added to the rpm spec or else the systemd file t […]
...and also to OE as you mentioned. probably here:
https://gitea.osmocom.org/cellular-infrastructure/meta-telephony/src/branch/...
I wonder if maybe it's more elegant to just use the systemd service to create a user and change permissions of the related files, instead of doing this in post-upgrade scripts. Looks like this might be possible with ReadWritePaths= and DynamicUser=? But we would need to make sure that all options used are present in the (older) systemd versions that are on Debian 10 and in the 201705 OE we use.