[procps] Re: [BUG] Commit 81df8e2 allows only one key=value arg

  • From: Sami Kerola <kerolasa@xxxxxx>
  • To: Sven Ulland <sveniu@xxxxxxxxx>
  • Date: Tue, 6 Mar 2012 16:50:35 +0100

On Tue, Mar 6, 2012 at 15:06, Sven Ulland <sveniu@xxxxxxxxx> wrote:
> Any key=value pair following the first one are dropped after commit
> 81df8e2 [1], due to changing from the while loop to using getopt.
>
> Before:
> sysctl net.ipv6.conf.tun0.optimistic_dad \
>       net.ipv6.conf.tun0.mc_forwarding
> net.ipv6.conf.tun0.optimistic_dad = 0
> net.ipv6.conf.tun0.mc_forwarding = 0
>
> After:
> sysctl net.ipv6.conf.tun0.optimistic_dad \
>       net.ipv6.conf.tun0.mc_forwarding
> net.ipv6.conf.tun0.optimistic_dad = 0
>
> Sorry for not providing a patch! I hope it's a trivial and quick
> thing to correct.
>
> [1]: sysctl: options handling & usage output
> commit 81df8e26300b35968e3702decc02e9413d5389fc
> Author: Sami Kerola <kerolasa@xxxxxx>
> Date:   Sun Jun 5 19:46:49 2011 +0200
> <URL:https://gitorious.org/procps/procps/commit/81df8e26300b35968e3702decc02e9413d5389fc>

Hi Sven & Craig,

Thanks for regressions report. This could be release 3.3.3 blocker,
and I am keen to it is. Without reviewing the source I cannot say from
top of my head how easy or time consuming fixing might be. Let's hope
it's trivial.

-- 
   Sami Kerola
   http://www.iki.fi/kerolasa/

Other related posts: