aboutsummaryrefslogtreecommitdiffstats
path: root/tests/db/Makefile.am
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2024-04-26 14:21:27 +0200
committerOliver Smith <osmith@sysmocom.de>2024-04-26 15:07:32 +0200
commite391c4c58d60f6c3164f2c621e8246ff0fddb372 (patch)
treebd9fa60afd829edb300c8a14ddead1b356d74b0a /tests/db/Makefile.am
parenta26abc6aa87477b8bc7425558f8acaaee7d7d49d (diff)
.deb/.rpm: various fixes related to non-root
* Explicitly chown /var/lib/osmocom to osmocom:osmocom, instead of relying on systemd to do it when the service starts up. This does not work with the systemd versions in debian 10 and almalinux 8. * deb: Use "useradd" instead of the interactive "adduser" perl script from Debian. This makes it consistent with how we do it in rpm, and avoids the dependency on "adduser". * deb: Remove support for the "dpkg-statoverride --list" logic. This seems to be a rather obscure feature to override permissions for certain files or directories. Let's rather remove this complexity to make the postinst script more maintainable and more similar to the rpm spec file. If users need this, they can achieve something similar by using their own Osmocom config file in a different path with different permissions. * deb: Consistently use tabs throughout postinst, instead of mixing tabs and spaces. Related: OS#4107 Change-Id: Ib20406dd253f5e8720552e92e9002e45591218fa
Diffstat (limited to 'tests/db/Makefile.am')
0 files changed, 0 insertions, 0 deletions