openwrt
openwrt copied to clipboard
busybox sysctl stops parsing .conf file after some error
Describe the bug
When uncommon errors are encountered parsing sysctl.conf the rest of configuration is ignored.
OpenWrt version
r28741-5ff7149a08
OpenWrt release
24.10-SNAPSHOT
OpenWrt target/subtarget
x86/64
Device
QEMU Standard PC (Q35 + ICH9, 2009)
Image kind
Official downloaded image
Steps to reproduce
Add following to /etc/sysctl.conf
kernel.hostname = FAIL
vm.mmap_rnd_bits = 1000
kernel.hostname = PASS
Then run
sysctl -p
uname -n
Actual behaviour
FAIL is returned indicating parsing did not proceed past error
Expected behaviour
PASS is returned as the file got parsed completely
Additional info
Obviously procps-ng-sysctl works "as on any other linux"
Diffconfig
Terms
- [x] I am reporting an issue for OpenWrt, not an unsupported fork.