Skip to content

Commit f9cf9ae

Browse files
leggewieigorpecovnik
authored andcommitted
lib / distro-agnostic.sh: drop chmod on /bin/ping
we are way past buster now (if ever this was needed to begin with)
1 parent d1fc474 commit f9cf9ae

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/functions/rootfs/distro-agnostic.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ function install_distribution_agnostic() {
131131
# add the /dev/urandom path to the rng config file
132132
echo "HRNGDEVICE=/dev/urandom" >> "${SDCARD}"/etc/default/rng-tools
133133

134-
# @TODO: security problem?
135-
# ping needs privileged action to be able to create raw network socket
136-
# this is working properly but not with (at least) Debian Buster
137-
chroot_sdcard chmod u+s /bin/ping
138-
139134
# change time zone data
140135
echo "${TZDATA}" > "${SDCARD}"/etc/timezone
141136
chroot_sdcard dpkg-reconfigure -f noninteractive tzdata

0 commit comments

Comments
 (0)