Package: iputils-ping
Version: 3:20240905-1
Severity: normal

Dear Maintainer,
after upgrade to Sid iputils-ping 3:20240905-1
I get:
"
ping argos
ping: socktype: SOCK_RAW
ping: socket: Opération non permise
ping: => missing cap_net_raw+p capability or setuid?
"

from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008281 I learnt
that it was due to me missing the recommended pacakge
linux-sysctl-defaults (as I have recommends disabled by defaults by the
default DebOps ansible I use to manage my boxes, "APT::Install-Recommends 
"false";").

But the error from the ping command is misleadingf in that it tells to
revert to set the capability instead of telling to install the
recommended package. (it could tell both as setting the cap could sitll
be a valid local administation policy).


THis is another bug, probably in linux-sysctl-defaults, I found but installing 
linux-sysctl-defaults
does not apply its sysctl settings. Ie one either has to reboot or run
"sysctl --system" to have ping working even after having
linux-sysctl-defaults installed.
Do you know if this is a bug in linux-sysctl-defaults or a Debian
policy not to apply sysctl settings on package install?


Cheers
Alban

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-debug'), (500, 'oldstable-debug'), (500, 'oldoldstable'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.11-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages iputils-ping depends on:
ii  libc6      2.40-3
ii  libcap2    1:2.66-5
ii  libidn2-0  2.3.7-2

Versions of packages iputils-ping recommends:
ii  linux-sysctl-defaults  4.10.1

iputils-ping suggests no packages.

-- no debconf information

Reply via email to