Well, you could even enable ping capabilities by unpriviledged users
with the ICMP socket type:

# sysctl -w net.ipv4.ping_group_range='0 65536'
$ strace -esocket ping 127.0.0.1
socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP) = 3

Regards,
On Mon, Aug 6, 2018 at 10:30 PM Launchpad Bug Tracker
<1302...@bugs.launchpad.net> wrote:
>
> This bug was fixed in the package livecd-rootfs - 2.534
>
> ---------------
> livecd-rootfs (2.534) cosmic; urgency=medium
>
>   [ Michael Hudson-Doyle ]
>   * Disable journald rate limiting in the live-server live session.
>     (LP: #1776891)
>
>   [ Steve Langasek ]
>   * generate all tar files with --xattrs.  LP: #1302192.
>
>  -- Steve Langasek <steve.langa...@ubuntu.com>  Mon, 06 Aug 2018
> 13:12:02 -0700
>
> ** Changed in: livecd-rootfs (Ubuntu)
>        Status: New => Fix Released
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1302192
>
> Title:
>   capabilities not preserved on installation
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/attr/+bug/1302192/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to iputils in Ubuntu.
https://bugs.launchpad.net/bugs/1302192

Title:
  capabilities not preserved on installation

Status in attr package in Ubuntu:
  Fix Released
Status in iputils package in Ubuntu:
  Confirmed
Status in live-installer package in Ubuntu:
  Fix Released
Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in ubiquity package in Ubuntu:
  Fix Released
Status in attr source package in Trusty:
  Fix Released
Status in iputils source package in Trusty:
  Confirmed
Status in live-installer source package in Trusty:
  Fix Released
Status in ubiquity source package in Trusty:
  Fix Released

Bug description:
  Ping is not longer setuid root and I have to ping as root:

  [~]$ ping kubuntu.org
  ping: icmp open socket: Operation not permitted
  [~]$ sudo ping kubuntu.org
  PING kubuntu.org (91.189.94.156) 56(84) bytes of data.
  64 bytes from vostok.canonical.com (91.189.94.156): icmp_seq=1 ttl=51 
time=52.2 ms
  --- kubuntu.org ping statistics ---
  1 packets transmitted, 1 received, 0% packet loss, time 0ms
  rtt min/avg/max/mdev = 52.231/52.231/52.231/0.000 ms
  [~]$

  Related bugs:
   bug 1313550: ping does not work as a normal user on trusty tarball cloud 
images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/attr/+bug/1302192/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to