]> code.ossystems Code Review - openembedded-core.git/commit
busybox: sysctl: ignore EIO of stable_secret below /proc/sys/net/ipv6/conf
authorYi Zhao <yi.zhao@windriver.com>
Sat, 4 Apr 2020 09:11:08 +0000 (17:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 5 Apr 2020 10:46:34 +0000 (11:46 +0100)
commitff074f495dd4bb637618f790dd30e51e542cd30a
treef4aa61dc9970e25e80ce7d08a867b50d3985e93c
parent660fdaa95858485b1caa779f1137a933c1f5d5f6
busybox: sysctl: ignore EIO of stable_secret below /proc/sys/net/ipv6/conf

Avoid confusing messages caused by EIO on reading
/proc/sys/net/ipv6/conf/*/stable_secret if those are not set yet.
Make it behave the same as procps(>=3.3.13).

Fixes:
$ sysctl -a | grep ipv6.conf | grep stable_secret
sysctl: error reading key 'net.ipv6.conf.all.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.default.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.eth0.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.lo.stable_secret': Input/output error

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox/0001-sysctl-ignore-EIO-of-stable_secret-below-proc-sys-ne.patch [new file with mode: 0644]
meta/recipes-core/busybox/busybox_1.31.1.bb