Talk:Capabilities

From ArchWiki

ping no longer seems to use capabilities

This page uses ping as a demo for capabilities. As of 2021-01-20 (ping version 20211215 and kernel 5.16.0-arch1-1) ArchLinux ping doesn't seem to have capabilities, making the demo no longer work. This is because of sysctl net.ipv4.ping_group_range being set by default making the CAP_NET_ADMIN and CAP_NET_RAW capabilities no longer needed. This makes the demo confusing to users trying to learn about capabilities.

—This unsigned comment is by Mokytis (talk) 10:15, 20 January 2022. Please sign your posts with ~~~~!

The page has been flagged out of date, but I'm not sure it is appropriate : looking at the iputils.install file, the function post_install() has not been touched in the last 9 years and consists of setcap cap_net_raw=ep usr/bin/ping 2>/dev/null || chmod +s usr/bin/ping. The PKGBUILD is missing the install=$pkgname.install line since https://github.com/archlinux/svntogit-packages/commit/85e2878805a281f04da921c5518f5c4058095a75 in 2020-09-06: should this be a bugreport ? --Erus Iluvatar (talk) 15:24, 26 January 2022 (UTC)
I'm an idiot, i've opened FS#73526, but there already was FS#72419 linking to FS#63710 explaining the change. --Erus Iluvatar (talk) 10:39, 27 January 2022 (UTC)
Since no one added anything here, let's consider this closed : the page has been flagged with Template:Out of date. --Erus Iluvatar (talk) 18:33, 24 February 2022 (UTC)