osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/36798?usp=email )
Change subject: debian/postinst: don't change /etc/osmocom
......................................................................
debian/postinst: don't change /etc/osmocom
osmo_dia2gsup doesn't have a config file in /etc/osmocom. The path I put
there didn't make sense.
Fix for:
chown: cannot access '/etc/osmocom/osmo_dia2gsup.service': No such file or
directory
Fixes: 240b43f3 ("contrib/systemd: run as osmocom user")
Change-Id: I32a06db20c53fdc136989f41805c78e5d9420b9b
---
M debian/postinst
1 file changed, 16 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup refs/changes/98/36798/1
diff --git a/debian/postinst b/debian/postinst
index f9f64c8..680cb2f 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -16,10 +16,6 @@
fi
# Fix permissions of previous (root-owned) install (OS#4107)
- chown osmocom:osmocom /etc/osmocom/osmo_dia2gsup.service
- chmod 0660 /etc/osmocom/osmo_dia2gsup.service
- chown root:osmocom /etc/osmocom
- chmod 2775 /etc/osmocom
mkdir -p /var/lib/osmo_dia2gsup
chown -R osmocom:osmocom /var/lib/osmo_dia2gsup
;;
--
To view, visit
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/36798?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I32a06db20c53fdc136989f41805c78e5d9420b9b
Gerrit-Change-Number: 36798
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange