X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 6BE21DC006D for ; Sun, 8 May 2016 20:58:18 +0000 (UTC) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 0A883DC0065 for ; Sun, 8 May 2016 20:58:18 +0000 (UTC) Received: by mail-wm0-f43.google.com with SMTP id n129so114972526wmn.1 for ; Sun, 08 May 2016 13:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kampka-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=+aRTXFKaNKcjoLWoyHatxD3neiRG1KBDdGN3u+iei4Y=; b=M007yjKRLrtyc79LfiGI1HoptW7FCOGyarGk2YoRkwd9O9+MOc8uIK8iaZy87qkenz JyobUyuMvkwomh7BmWg+VTa1rbbiBtkrMIhgKPdW2xE6aOgKkN3pO1gJKx6L6zB4TZnL hKECO/yB/ODE/BQmngj7KXPrBW0HChj8KbhOk7iq8Fw61mBjwxPMZitc7EqomgHsopwa auslATZCXNbGxQ60Sp5J4oM/tiHJGadWOHOrkjFt/6RgNqJCtbNlmR63ivV9oKpnNwwk LGbWz3sINZrNjQwFyzI1P6I3Y4b9FeUe0YCjwUYlQBdI5kAbnOCWwHogo3sNtMwYIk3O S0fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=+aRTXFKaNKcjoLWoyHatxD3neiRG1KBDdGN3u+iei4Y=; b=apis3Re6hl3dtCU04kz5G4xepmehb7wYjkBPLmotTNfkNjOX27Yjr3SxL2k1krlisX Y2RRqoUDdyXpZYVZhxrtFAY+V4VovtWypwhz9c8uJkvR3x6KxV4PYdUnRxXN0eA2txdY 22rUEgtvfdS1AgawBszEtEp4ONul7gPXK5WlR8UQyyP535zWaRVwWmfLdILeY4l6Hhy4 IioD5oc86U57b14dEc74mYXoSeHmCxwJww2ZFTQfzp7jaQy2xiV0zRN/B//VJnvvNdOy kBk9/CyW4SAj2HijJdObltz7Nq1gKRvzmOFZIRz0yCBjkdAMMzjtMHLDkQ0GwO+K18ts 0NgA== X-Gm-Message-State: AOPr4FXmmwAdYAPsgkX+YFmn17VIUbbJCQOHoNuBAvG7z1w/voWIffx+lJeTYzvDXc2i0UGE0Dy1x7SAis2u/Q== X-Received: by 10.194.200.65 with SMTP id jq1mr14682612wjc.21.1462741096742; Sun, 08 May 2016 13:58:16 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20160508200757.GA10522@newbook> In-Reply-To: From: Christian Kampka Date: Sun, 08 May 2016 20:58:06 +0000 Message-ID: Subject: Re: [alpine-devel] ping: ping is not a valid applet To: Alba Pompeo , alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=047d7b874e5a78560405325af338 X-Virus-Scanned: ClamAV using ClamSMTP --047d7b874e5a78560405325af338 Content-Type: text/plain; charset=UTF-8 You should be able to use ping as a non-root user by setting the ping_group_range in sys/net/ipv4 to the appropriate group(s). See 'man 7 icmp' for details. Maybe we should figure out a sensible default we can supply with an alpine-base installation. Alba Pompeo schrieb am So., 8. Mai 2016 um 22:31 Uhr: > Nice workaround for now, thanks. > I hope in the future it works on non-root user accounts too. > > On Sun, May 8, 2016 at 5:07 PM, Isaac Dunham wrote: > > On Sun, May 08, 2016 at 01:36:17PM -0300, Alba Pompeo wrote: > >> I'm on edge and receive this message when trying to ping an IP. > >> ping: ping is not a valid applet > >> Is there a fix? > >> Thanks. > >> Ciao. > > > > This is an issue I mentioned previously, where bbsuid no longer > recognizes > > ping as a valid command, but the symlink has not been updated to point to > > busybox. > > > > Workaround: > > rm -f /bin/ping && /bin/busybox --install -s > > > > Fix: > > See attached patch. > > > > The sysctl settings shown are disabled/netdev (gid=28) only/everyone. > > > > HTH, > > Isaac Dunham > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > > --047d7b874e5a78560405325af338 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
You should be able to use ping as a non-root user by setti= ng the=C2=A0ping_group_range in sys/net/ipv4 to the appropriate group(s).See 'man 7 icmp' for details.

Maybe we = should figure out a sensible default we can supply with an alpine-base inst= allation.

Alba P= ompeo <albapompeo@gmail.com&= gt; schrieb am So., 8. Mai 2016 um 22:31=C2=A0Uhr:
Nice workaround for now, thanks.
I hope in the future it works on non-root user accounts too.

On Sun, May 8, 2016 at 5:07 PM, Isaac Dunham <ibid.ag@gmail.com> wrote:
> On Sun, May 08, 2016 at 01:36:17PM -0300, Alba Pompeo wrote:
>> I'm on edge and receive this message when trying to ping an IP= .
>> ping: ping is not a valid applet
>> Is there a fix?
>> Thanks.
>> Ciao.
>
> This is an issue I mentioned previously, where bbsuid no longer recogn= izes
> ping as a valid command, but the symlink has not been updated to point= to
> busybox.
>
> Workaround:
> rm -f /bin/ping && /bin/busybox --install -s
>
> Fix:
> See attached patch.
>
> The sysctl settings shown are disabled/netdev (gid=3D28) only/everyone= .
>
> HTH,
> Isaac Dunham


---
Unsubscribe:=C2=A0 alpine-devel+unsubscribe@lists.alpinelinux.or= g
Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-devel+help@lists.alpineli= nux.org
---

--047d7b874e5a78560405325af338-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---