aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2024-04-26 15:08:44 +0200
committerOliver Smith <osmith@sysmocom.de>2024-04-26 15:08:44 +0200
commitf3cc0d9e57d6f569738fb20c11fb046a34a5ca9c (patch)
tree659e04f025ce09ff6db37931277a55bc8ad54144 /debian/patches
parentee75a07dfdfefa314aa502de0994cc56cb9a00da (diff)
.deb/.rpm: various fixes related to non-rootHEADmaster
* 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: Ie34e7aa65e576cf1742a33530a6f44d2344c39d0
Diffstat (limited to 'debian/patches')
0 files changed, 0 insertions, 0 deletions