diff options
author | Oliver Smith <osmith@sysmocom.de> | 2024-04-26 15:08:46 +0200 |
---|---|---|
committer | osmith <osmith@sysmocom.de> | 2024-05-08 06:46:32 +0000 |
commit | a9c39c04de5bb6d130f9c62c1f9fdddf8f555d39 (patch) | |
tree | a47eb90d02d5fa78760a3c95412121fe888c6075 /include/openbsc/bsc_msg_filter.h | |
parent | 282de031f1b6d156af538f6b4fdb10b57e0f9581 (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: Consistently use tabs through the file, instead of mixing tabs
and spaces.
* 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, for which it does not seem to be a good
idea to make the postinst script less maintainable. Something similar
can be achieved by using your own Osmocom config file in a different
path with different permissions.
Related: OS#4107
Change-Id: I406ff0d625b02991d580c8382aa4be04dba45a00
Diffstat (limited to 'include/openbsc/bsc_msg_filter.h')
0 files changed, 0 insertions, 0 deletions