From f9cf9ae2ca9421be14af78b3af120bcc16787f81 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Sat, 6 Dec 2025 06:52:20 +0800 Subject: [PATCH] lib / distro-agnostic.sh: drop chmod on /bin/ping we are way past buster now (if ever this was needed to begin with) --- lib/functions/rootfs/distro-agnostic.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/functions/rootfs/distro-agnostic.sh b/lib/functions/rootfs/distro-agnostic.sh index 3ce2de462a..03ec9c92c3 100644 --- a/lib/functions/rootfs/distro-agnostic.sh +++ b/lib/functions/rootfs/distro-agnostic.sh @@ -131,11 +131,6 @@ function install_distribution_agnostic() { # add the /dev/urandom path to the rng config file echo "HRNGDEVICE=/dev/urandom" >> "${SDCARD}"/etc/default/rng-tools - # @TODO: security problem? - # ping needs privileged action to be able to create raw network socket - # this is working properly but not with (at least) Debian Buster - chroot_sdcard chmod u+s /bin/ping - # change time zone data echo "${TZDATA}" > "${SDCARD}"/etc/timezone chroot_sdcard dpkg-reconfigure -f noninteractive tzdata