Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1701519

Re: sysctl, argument parsing, possible bug

From Massimo Sala <massimo.sala.71@gmail.com>
Newsgroups linux.kernel
Subject Re: sysctl, argument parsing, possible bug
Date 2017-08-01 23:40 +0200
Message-ID <u9N3r-Rr-1@gated-at.bofh.it> (permalink)
References <u9Mh4-jv-15@gated-at.bofh.it> <u9MTL-Oh-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Do you confirm it is a sysctl parsing bug ?

Bosybox handles these cases, so I think also standalone sysctl have to.

Or at least someone must update sysctl docs / MAN about this.

Best regards, Sala


On 01/08/2017, Cong Wang <xiyou.wangcong@gmail.com> wrote:
> On Tue, Aug 1, 2017 at 1:47 PM, Massimo Sala <massimo.sala.71@gmail.com>
> wrote:
>> cat /proc/sys/net/ipv4/conf/eth0.100/forwarding
>> 0
>>
>> sysctl net.ipv4.conf.eth0.100.forwarding
>> error: "net.ipv4.conf.eth0.100.forwarding" is an unknown key
>>
>
> Use echo instead, sysctl doesn't understand eth0.100
> is a netdev name, sigh.
>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

sysctl, argument parsing, possible bug Massimo Sala <massimo.sala.71@gmail.com> - 2017-08-01 22:50 +0200
  Re: sysctl, argument parsing, possible bug Cong Wang <xiyou.wangcong@gmail.com> - 2017-08-01 23:30 +0200
    Re: sysctl, argument parsing, possible bug Massimo Sala <massimo.sala.71@gmail.com> - 2017-08-01 23:40 +0200
      Re: sysctl, argument parsing, possible bug Cong Wang <xiyou.wangcong@gmail.com> - 2017-08-02 00:00 +0200
        Re: sysctl, argument parsing, possible bug "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-08-03 00:00 +0200
    Re: sysctl, argument parsing, possible bug Stephen Hemminger <stephen@networkplumber.org> - 2017-08-02 04:50 +0200

csiph-web