From 6ad9faf26a7b339d592329b022589dc56fb828f8 Mon Sep 17 00:00:00 2001 From: Nicolas Cavallari Date: Fri, 17 Jun 2022 16:12:02 +0200 Subject: [PATCH] package/avahi: fix GNUism in S05avahi-setup.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This script uses "chown user.group" instead of the POSIX "chown user:group". The first syntax is a deprecated GNU extension. Since coreutils 9.1, chown started issuing a warning when this syntax is used¹. The result is that if both avahi and coreutils are enabled, this message appears during boot: chown: warning: '.' should be ':': 'avahi.avahi' [1] https://git.savannah.gnu.org/cgit/gnulib.git/commit/lib/userspec.c?id=23cca8268d21f5d58ed0209002d5673d0518c426 Signed-off-by: Nicolas Cavallari Signed-off-by: Peter Korsgaard (cherry picked from commit ccea032c75a5a7ddbdc5b7b14957b2b4683b94fc) Signed-off-by: Peter Korsgaard --- package/avahi/S05avahi-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/avahi/S05avahi-setup.sh b/package/avahi/S05avahi-setup.sh index 90ccbceacc..2f53a192e4 100644 --- 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 avahi.avahi /tmp/avahi-autoipd + chown avahi:avahi /tmp/avahi-autoipd fi ;; stop) ;;