* [Buildroot] [PATCH 1/1] package/avahi: fix GNUism in S05avahi-setup.sh
@ 2022-06-17 14:12 Nicolas Cavallari
2022-06-19 12:41 ` Peter Korsgaard
2022-07-19 15:12 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Cavallari @ 2022-06-17 14:12 UTC (permalink / raw)
To: buildroot
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 <nicolas.cavallari@green-communications.fr>
---
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) ;;
--
2.36.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/avahi: fix GNUism in S05avahi-setup.sh
2022-06-17 14:12 [Buildroot] [PATCH 1/1] package/avahi: fix GNUism in S05avahi-setup.sh Nicolas Cavallari
@ 2022-06-19 12:41 ` Peter Korsgaard
2022-07-19 15:12 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-06-19 12:41 UTC (permalink / raw)
To: Nicolas Cavallari; +Cc: buildroot
>>>>> "Nicolas" == Nicolas Cavallari <nicolas.cavallari@green-communications.fr> writes:
> 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 <nicolas.cavallari@green-communications.fr>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/avahi: fix GNUism in S05avahi-setup.sh
2022-06-17 14:12 [Buildroot] [PATCH 1/1] package/avahi: fix GNUism in S05avahi-setup.sh Nicolas Cavallari
2022-06-19 12:41 ` Peter Korsgaard
@ 2022-07-19 15:12 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-07-19 15:12 UTC (permalink / raw)
To: Nicolas Cavallari; +Cc: buildroot
>>>>> "Nicolas" == Nicolas Cavallari <nicolas.cavallari@green-communications.fr> writes:
> 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 <nicolas.cavallari@green-communications.fr>
Committed to 2022.05.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-19 15:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-17 14:12 [Buildroot] [PATCH 1/1] package/avahi: fix GNUism in S05avahi-setup.sh Nicolas Cavallari
2022-06-19 12:41 ` Peter Korsgaard
2022-07-19 15:12 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.