Mailinglist Archive: opensuse (1352 mails)

< Previous Next >
Re: [opensuse] Friday quiz - ping: socket: Operation not permitted
  • From: Andrei Borzenkov <arvidjaar@xxxxxxxxx>
  • Date: Fri, 1 Jun 2018 15:01:13 +0300
  • Message-id: <CAA91j0WwWjrLhtHoED4=t4qrYN0u+FmF67V2KMowFV5oPQt6ZQ@mail.gmail.com>
On Fri, Jun 1, 2018 at 2:40 PM, Per Jessen <per@xxxxxxxxxxxx> wrote:
On Leap15 as a plain user:

per@discompi2:~> ping discompi3
ping: socket: Operation not permitted

With an strace -

socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP) = -1 EACCES (Permission denied)
socket(AF_INET, SOCK_RAW, IPPROTO_ICMP) = -1 EPERM (Operation not permitted)
socket(AF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6) = -1 EACCES (Permission denied)
socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6) = -1 EPERM (Operation not
permitted)

Nothing to be seen in apparmor.


what "getcap /usr/bin/ping" says? You may need to install libcap-progs.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References