osmith has submitted this change. ( 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(-)
Approvals: Jenkins Builder: Verified lynxis lazus: Looks good to me, approved
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 ;;