From: Peter Korsgaard Date: Mon, 23 Jun 2014 09:36:30 +0000 (+0200) Subject: avahi: fixup init scripts after default user removal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0576f4cd5b7c681f274a63e4f9559a5ae61aa4d7;p=buildroot.git avahi: fixup init scripts after default user removal Commit d3ccfa362b (avahi: run as avahi user/group instead of default) changed avahi-autoipd to run as the avahi user, but forgot to update the init script/systemd config to match. Signed-off-by: Peter Korsgaard --- diff --git a/package/avahi/S05avahi-setup.sh b/package/avahi/S05avahi-setup.sh index f42a4d318f..90ccbceacc 100755 --- a/package/avahi/S05avahi-setup.sh +++ b/package/avahi/S05avahi-setup.sh @@ -5,7 +5,7 @@ case "$1" in if [ ! -d /tmp/avahi-autoipd ]; then rm -rf /tmp/avahi-autoipd mkdir /tmp/avahi-autoipd - chown default.default /tmp/avahi-autoipd + chown avahi.avahi /tmp/avahi-autoipd fi ;; stop) ;; diff --git a/package/avahi/avahi_tmpfiles.conf b/package/avahi/avahi_tmpfiles.conf index 41eb3c6fb5..f9aebdfd0d 100644 --- a/package/avahi/avahi_tmpfiles.conf +++ b/package/avahi/avahi_tmpfiles.conf @@ -1 +1 @@ -d /tmp/avahi-autopid 0755 default default +d /tmp/avahi-autopid 0755 avahi avahi