Busybox 1.30.1-6 does not work correctly

Hello!

After updating busybox to version 1.30.1-6, Addblock and Multiwan stopped working. This is seen on firmware 19.07.2 and 19.07.3. Netgear R6300v2 router. With version busybox 1.30.1-5 everything worked fine. Because of this, I cannot use the router properly. Has anyone encountered this problem?

1 Like
/etc/init.d/log restart; \
/etc/init.d/adblock restart; \
sleep 10; logread -e adblock; \
uci show adblock; uci show dhcp
1 Like

UCI log

Summary
/$ /etc/init.d/log restart
/$ /etc/init.d/adblock restart
/$ sleep 10; logread -e adblock
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_dns    ::: dns: dnsmasq, dns_dir: /tmp/dnsmasq.d, dns_file: adb_list.overall, dns_user: dnsmasq, dns_inotify: 0, dns_instance: 0, backup: 0, backup_dir: /tmp, jail_dir: /tmp
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_fetch  ::: fetch_util: /usr/bin/wget, fetch_parm: --no-cache --no-cookies --max-redirect=0 --timeout=20 -O
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: 0, ubus_service: /etc/adblock/adblock.monitor
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_report ::: action: restart, report: 0, search: +, count: 50, process: false, print: false, dump_util: /usr/sbin/tcpdump, repdir: /tmp, repiface: -, replisten: 53, repchunksize: 1, repchunkcnt: 5, bg_pid:
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 60, dns_cnt: 0, in_rc: 4, out_rc: 0
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_rmtemp ::: tmp_dir: -, src_file: /tmp/adb_sources.json, pid_file: /var/run/adblock.pid
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_rmdns  ::: dns: dnsmasq, status: true, dns_dir: /tmp/dnsmasq.d, dns_file: adb_list.overall, rt_file: /tmp/adb_runtime.json, backup_dir: /tmp
Sat Aug 15 14:29:38 2020 user.info adblock-4.0.6[31244]: adblock instance started ::: action: restart, priority: 0, pid: 31244
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_jsnup  ::: status: running, cnt: , mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_uci    ::: config: dhcp, change:
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_uci    ::: config: firewall, change:
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_temp   ::: tmp_base: /tmp, tmp_dir: /tmp/tmp.FoAIMl, cores: 2, sort_options: --temporary-directory=/tmp/tmp.FoAIMl --compress-program=gzip --batch-size=32 --parallel=2, pid_file: /var/run/adblock.pid
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 60, dns_cnt: 0, in_rc: 0, out_rc: 0
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_main   ::: memory: 254/217/188, max_queue: 4, safe_search: 0, force_dns: 0, awk: /usr/bin/awk
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_list   ::: name: blacklist, mode: blacklist, cnt: 0, in_rc: 0, out_rc: 0
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_list   ::: name: whitelist, mode: whitelist, cnt: 0, in_rc: 0, out_rc: 0
/$ uci show adblock; uci show dhcp
adblock.global=adblock
adblock.global.adb_enabled='1'
adblock.global.adb_forcedns='0'
adblock.global.adb_safesearch='0'
adblock.global.adb_mail='0'
adblock.global.adb_dns='dnsmasq'
adblock.global.adb_dnsflush='1'
adblock.global.adb_trigger='wan4'
adblock.global.adb_fetchutil='wget'
adblock.global.adb_debug='1'
adblock.global.adb_dnsfilereset='0'
adblock.global.adb_report='0'
adblock.global.adb_tmpbase='/tmp'
adblock.global.adb_sources='adaway' 'adguard' 'andryou' 'anti_ad' 'bitcoin' 'disconnect' 'dshield' 'malwarelist' 'openphish' 'reg_ru' 'smarttv' 'whocares' 'winhelp' 'winspy' 'youtube' 'yoyo'
adblock.global.adb_backup='0'
adblock.global.adb_dnstimeout='60'
adblock.global.adb_triggerdelay='120'
adblock.global.adb_maxqueue='4'
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].boguspriv='1'
dhcp.@dnsmasq[0].filterwin2k='0'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].nonegcache='0'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
dhcp.@dnsmasq[0].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].allservers='1'
dhcp.@dnsmasq[0].ednspacket_max='4096'
dhcp.@dnsmasq[0].cachesize='10000'
dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d'
dhcp.@dnsmasq[0].interface='lan' 'lo'
dhcp.@dnsmasq[0].notinterface='wan6' 'wan4'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.dhcpv6='server'
dhcp.lan.ra='server'
dhcp.lan.force='1'
dhcp.lan.ra_default='1'
dhcp.lan.ra_management='1'
dhcp.lan.leasetime='5m'
dhcp.wan4=dhcp
dhcp.wan4.interface='wan4'
dhcp.wan4.ignore='1'
dhcp.wan6=dhcp
dhcp.wan6.interface='wan6'
dhcp.wan6.ignore='1'
dhcp.odhcpd=odhcpd
dhcp.odhcpd.maindhcp='0'
dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
dhcp.odhcpd.loglevel='4'

System log

Summary
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_dns    ::: dns: dnsmasq, dns_dir: /tmp/dnsmasq.d, dns_file: adb_list.overall, dns_user: dnsmasq, dns_inotify: 0, dns_instance: 0, backup: 0, backup_dir: /tmp, jail_dir: /tmp
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_fetch  ::: fetch_util: /usr/bin/wget, fetch_parm: --no-cache --no-cookies --max-redirect=0 --timeout=20 -O
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: 0, ubus_service: /etc/adblock/adblock.monitor
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_report ::: action: restart, report: 0, search: +, count: 50, process: false, print: false, dump_util: /usr/sbin/tcpdump, repdir: /tmp, repiface: -, replisten: 53, repchunksize: 1, repchunkcnt: 5, bg_pid:
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[18781]: exiting on receipt of SIGTERM
Sat Aug 15 14:29:38 2020 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sat Aug 15 14:29:38 2020 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: started, version 2.80 cachesize 10000
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq-dhcp[31378]: DHCP, IP range 192.168.20.100 -- 192.168.20.249, lease time 5m
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq-dhcp[31378]: DHCP, sockets bound exclusively to interface eth0.1020
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain test
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain onion
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain localhost
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain local
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain invalid
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain bind
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain lan
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: reading /tmp/resolv.conf.auto
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain test
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain onion
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain localhost
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain local
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain invalid
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain bind
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using local addresses only for domain lan
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using nameserver fd30:b5e0:b207::1#53
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: using nameserver 192.168.40.1#53
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: read /etc/hosts - 4 addresses
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: read /tmp/hosts/odhcpd - 1 addresses
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq[31378]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Aug 15 14:29:38 2020 daemon.info dnsmasq-dhcp[31378]: read /etc/ethers - 0 addresses
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 60, dns_cnt: 0, in_rc: 4, out_rc: 0
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_rmtemp ::: tmp_dir: -, src_file: /tmp/adb_sources.json, pid_file: /var/run/adblock.pid
Sat Aug 15 14:29:38 2020 user.debug adblock-4.0.6[31244]: f_rmdns  ::: dns: dnsmasq, status: true, dns_dir: /tmp/dnsmasq.d, dns_file: adb_list.overall, rt_file: /tmp/adb_runtime.json, backup_dir: /tmp
Sat Aug 15 14:29:38 2020 user.info adblock-4.0.6[31244]: adblock instance started ::: action: restart, priority: 0, pid: 31244
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_jsnup  ::: status: running, cnt: , mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_uci    ::: config: dhcp, change:
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_uci    ::: config: firewall, change:
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_temp   ::: tmp_base: /tmp, tmp_dir: /tmp/tmp.FoAIMl, cores: 2, sort_options: --temporary-directory=/tmp/tmp.FoAIMl --compress-program=gzip --batch-size=32 --parallel=2, pid_file: /var/run/adblock.pid
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31378]: exiting on receipt of SIGTERM
Sat Aug 15 14:29:39 2020 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sat Aug 15 14:29:39 2020 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: started, version 2.80 cachesize 10000
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq-dhcp[31520]: DHCP, IP range 192.168.20.100 -- 192.168.20.249, lease time 5m
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq-dhcp[31520]: DHCP, sockets bound exclusively to interface eth0.1020
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain test
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain onion
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain localhost
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain local
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain invalid
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain bind
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain lan
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: reading /tmp/resolv.conf.auto
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain test
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain onion
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain localhost
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain local
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain invalid
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain bind
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using local addresses only for domain lan
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using nameserver fd30:b5e0:b207::1#53
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: using nameserver 192.168.40.1#53
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: read /etc/hosts - 4 addresses
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: read /tmp/hosts/odhcpd - 1 addresses
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq[31520]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Aug 15 14:29:39 2020 daemon.info dnsmasq-dhcp[31520]: read /etc/ethers - 0 addresses
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 60, dns_cnt: 0, in_rc: 0, out_rc: 0
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_main   ::: memory: 254/217/188, max_queue: 4, safe_search: 0, force_dns: 0, awk: /usr/bin/awk
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_list   ::: name: blacklist, mode: blacklist, cnt: 0, in_rc: 0, out_rc: 0
Sat Aug 15 14:29:39 2020 user.debug adblock-4.0.6[31244]: f_list   ::: name: whitelist, mode: whitelist, cnt: 0, in_rc: 0, out_rc: 0
Sat Aug 15 14:30:06 2020 user.debug adblock-4.0.6[31244]: f_list   ::: name: -, mode: merge, cnt: 0, in_rc: 4, out_rc: 2
Sat Aug 15 14:30:06 2020 daemon.info dnsmasq[31520]: exiting on receipt of SIGTERM
Sat Aug 15 14:30:06 2020 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sat Aug 15 14:30:06 2020 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: started, version 2.80 cachesize 10000
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq-dhcp[32194]: DHCP, IP range 192.168.20.100 -- 192.168.20.249, lease time 5m
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq-dhcp[32194]: DHCP, sockets bound exclusively to interface eth0.1020
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain test
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain onion
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain localhost
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain local
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain invalid
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain bind
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain lan
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: reading /tmp/resolv.conf.auto
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain test
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain onion
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain localhost
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain local
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain invalid
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain bind
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using local addresses only for domain lan
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using nameserver fd30:b5e0:b207::1#53
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: using nameserver 192.168.40.1#53
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: read /etc/hosts - 4 addresses
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: read /tmp/hosts/odhcpd - 1 addresses
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq[32194]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Aug 15 14:30:07 2020 daemon.info dnsmasq-dhcp[32194]: read /etc/ethers - 0 addresses
Sat Aug 15 14:30:07 2020 user.debug adblock-4.0.6[31244]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 60, dns_cnt: 0, in_rc: 0, out_rc: 0
Sat Aug 15 14:30:07 2020 user.debug adblock-4.0.6[31244]: f_jsnup  ::: status: enabled, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Sat Aug 15 14:30:07 2020 user.info adblock-4.0.6[31244]: blocklist with overall 0 blocked domains loaded successfully (Netgear R6300 V2 (BCM4708), OpenWrt 19.07.3 r11063-85e04e9f46)
Sat Aug 15 14:30:07 2020 user.debug adblock-4.0.6[31244]: f_rmtemp ::: tmp_dir: /tmp/tmp.FoAIMl, src_file: /tmp/adb_sources.json, pid_file: /var/run/adblock.pid
Sat Aug 15 14:30:18 2020 daemon.notice netifd: wan4 (1488): udhcpc: sending renew to 192.168.40.1
Sat Aug 15 14:30:18 2020 daemon.notice netifd: wan4 (1488): udhcpc: lease of 192.168.40.167 obtained, lease time 300
Sat Aug 15 14:31:38 2020 daemon.info dnsmasq-dhcp[32194]: DHCPREQUEST(eth0.1020) 192.168.20.197 6c:b0:ce:bb:9f:2b
Sat Aug 15 14:31:38 2020 daemon.info dnsmasq-dhcp[32194]: DHCPACK(eth0.1020) 192.168.20.197 6c:b0:ce:bb:9f:2b Multi
1 Like

Try this way:

opkg update
opkg install adblock libustream-mbedtls
uci set adblock.global.adb_fetchutil="uclient-fetch"
uci commit adblock
/etc/init.d/adblock restart
1 Like

Thanks, but I don't think this will help me.

I have set up automatic update of packets after every turn on of routers. I have multiple routers, so it's convenient.

Everything worked fine until yesterday and never had any issues after automatic package updates.

Yesterday morning, only one busybox 1.30.1-6 package was updated, and the VPN connection was immediately lost. Because my VPN is balanced with the help of Multiwan. Also, after the reboot, the Addblock stopped working.

I have two providers connected, IPv6 tunnels, and OpenVPN. All this is balanced with Multiwan. But now only one connection works, and nothing else after yesterday's update.
Today I updated the firmware on the routers to version 19.07.3, (before that it was 19.07.2) and everything started working fine as before. But after updating all packages, including busybox 1.30.1-6, the problems recurred.

As far as I know, Multiwan and Addblock use some of the utilities from the busybox set.
Now I don't know what to do. Wait until a working update is released, or reinstall the firmware again, and turn off automatic package updates.

Summary

Если что, можно на русском, мне так будет проще. Потому что я использую переводчик что бы переписываться на этом форуме.

1 Like

Upgrading busybox in a live system is dangerous, as it provides all shell functionality and lots of embedded commands, also for upgrading process.

You might exclude busybox from live upgrades.

(Live mass opkg upgrades of packages are dangerous in any case, so you are living in twilight zone in any case)

5 Likes

Thanks for the answer.
I am updating packages for stable firmware. It turns out that I cannot be completely sure that when using the stable version of the firmware, everything will work correctly?

In theory, you can downgrade BusyBox by removing its overlay files:

/rom/bin/busybox rm -f $(opkg files busybox \
| sed -n -e "s|^/|/overlay/upper/|p"); \
/rom/bin/busybox reboot

Be ready to utilize failsafe mode and perform factory reset if something goes wrong.

3 Likes

To get the adblock culprit please provide the output of sort --version

2 Likes

Hi, @dibdot,

Same problem here, fixed it temporarily installing coreutils-sort and changing busybox symbolic links to point to it.

I am running snapshot with BusyBox v1.31.1

BusyBox v1.31.1 () multi-call binary.

Usage: sort [-nru] [FILE]...

Let me know if you need any kind of testing, happy to help.

Kind regards.

That's the "final" fix. Adblock requires coreutils-sort for merge sorting which isn't supported by the busybox variant. It's an adblock package requirement ... most probably during your busybox update a symlink get lost or will be replaced by busybox. Just re-install the adblock package afterwards or repair the symlink to point to coreutils-sort again.

4 Likes

Oh, cool, done then. Ta! However, before finding this thread, which gave me the clue, I reinstalled adblock, I even removed all config files. It did not solved it. And, adblocking was working without coreutils-sort, it wasn't installed. Strange thing...

Which adblock version did you use? Latest adblock 4.x has a package dependency to coreutils-sort.

All good with the package, something was probably derped in my router, IDK.

Package: adblock
Version: 4.0.6-1
Depends: libc, jshn, jsonfilter, coreutils, coreutils-sort, ca-bundle, opkg
1 Like

Not really if we consider the problem from the point of OpenWrt core development.
Technically, it should be possible to solve this kind of issue once and for all.

The paths can be split into 2 tiers with different priorities, for example:

  • /bin and /sbin - BusyBox binaries/symlinks.
  • /usr/bin and /usr/sbin - additional packages.

This way upgrading or reinstalling BusyBox will never overwrite binaries from other packages.
At the same time, other binaries will always have higher priority.

2 Likes

I thought that this is already the current status, e.g. if you install coreutils-sort the binary will be installed as "gnu-sort" in /usr/bin and in the same directory a "sort" symlink will be created which points to this binary. Furthermore in adblock I also explicitly set the path variable to

export PATH="/usr/sbin:/usr/bin:/sbin:/bin"

I'm unsure what's happening during busybox update with those system settings.

Currently the higher priority has the last installed/upgraded package.
It forcefully updates symlinks to point to its own binaries.
This is a race condition.

We can avoid this problem if BusyBox is allowed to use only lower priority exclusive PATH locations like /bin and /sbin, but prohibited to alter /usr/bin and /usr/sbin.

4 Likes

I had same issue, adblock stopped working after busybox update.
I ended up removing adblock and libustream-mbedtls via luci remove software button, leaving luci-app-adblock installed.
I then fully reinstalled via SSH shell as per https://openwrt.org/docs/guide-user/services/ad-blocking
My luci setup was not lost as the blocked sources and # of threads were not lost, they were left same as prior to removal.
So basically, no harm to uninstall as nothing seems to be lost in the process of reinstalling.
Funnily enough, woke up this morning and checked for updates via luci and the only update available was adblock 4.0.6-2. Don't know if it fixes issue, as I fixed prior to this update.
Hoppefuly this helps...

opkg update; opkg --force-reinstall install $(opkg list-installed | grep -o -e ^coreutils-sort -e ^ip-full)
5 Likes

Hi all,

I just experiencied the same problem updating busybox on a Lamobo R1 board ( banana pi R1 ).

All fixed by reinstalling coreutils-sort.

Thanks vgaetera