From 6a99dd81becd465e7fce06738cf98b015d4dc59a Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Sat, 13 Jul 2019 12:38:10 -0700 Subject: [PATCH] [baseimage]: Remove old ping permission fix because of aufs->overlay filesystem (#3154) Signed-off-by: Qi Luo --- build_debian.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build_debian.sh b/build_debian.sh index bf0fa08062..92938c40b7 100755 --- a/build_debian.sh +++ b/build_debian.sh @@ -274,12 +274,6 @@ sudo sed -i 's/LOAD_KEXEC=true/LOAD_KEXEC=false/' $FILESYSTEM_ROOT/etc/default/k ## jump when time difference is greater than 1000 seconds (remove -g). sudo sed -i "s/NTPD_OPTS='-g'/NTPD_OPTS='-x'/" $FILESYSTEM_ROOT/etc/default/ntp -## Fix ping tools permission so non root user can directly use them -## Note: this is a workaround since aufs doesn't support extended attributes -## Ref: https://github.com/moby/moby/issues/5650#issuecomment-303499489 -## TODO: remove workaround when the overlay filesystem support extended attributes -sudo chmod u+s $FILESYSTEM_ROOT/bin/ping{,6} - ## Remove sshd host keys, and will regenerate on first sshd start sudo rm -f $FILESYSTEM_ROOT/etc/ssh/ssh_host_*_key* sudo cp files/sshd/host-ssh-keygen.sh $FILESYSTEM_ROOT/usr/local/bin/