From f51d21949a004d63fefb4b99820887d2f3becd1f Mon Sep 17 00:00:00 2001 From: Manuel Montecelo Date: Fri, 16 Mar 2018 10:45:02 +0100 Subject: [PATCH] TT#26264 Use /var/run/ngcp-sems again as home of user "sems", instead of /run It breaks some tests, that could be changed, but maybe there are some other unintended consequences, and it's not important to change to /run right now (in fact, it might be undesired for consistency reasons with respect to the other sems-service variant, etc.) User: sems: home: doesn't match, expect: [{"or":["/var/run/ngcp-sems","/var/run/sems"]}] found: ["/run/ngcp-sems"] Change-Id: I2038e0d90b46dc12eeecf4bcc7ad4e249688ad20 --- debian/ngcp-sems.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/ngcp-sems.postinst b/debian/ngcp-sems.postinst index c7717538..a0efa196 100644 --- a/debian/ngcp-sems.postinst +++ b/debian/ngcp-sems.postinst @@ -6,7 +6,7 @@ case "$1" in configure) # add sems user adduser --quiet --system --group --disabled-password --shell /bin/false \ - --gecos "SIP Express Media Server" --home /run/ngcp-sems sems || true + --gecos "SIP Express Media Server" --home /var/run/ngcp-sems sems || true ;; abort-upgrade|abort-remove|abort-deconfigure) exit 0