Updater hangs waiting for zombie process
Running pkgupdate
interactively to upgrade from TOS 5.1.8 to TOS 5.2.1 and the updater hangs waiting for zombie process while running mwan
postinstall script:
It recovers itself somehow after several minutes but it takes too long in interactive mode IMO. Also, this happened to me several times already. I guess it's mwan
package every time...
pkgupdate console log
root@factory02: ~ # pkgupdate
INFO:Target Turris OS: 5.2.1
INFO:Queue install of kernel/core/4.14.232-1-67f70e2f39f8e8859c56d42cced0b0b3
...
INFO:Queue install of luci-i18n-mwan3-en/luci/git-21.132.36199-d0cf6e4-1
...
INFO:Queue install of kmod-sit/core/4.14.232-1-67f70e2f39f8e8859c56d42cced0b0b3
INFO:Queue removal of dhparam
...
INFO:Queue removal of luasec
Press return to continue, CTRL+C to abort
INFO:Downloading packages
INFO:Executing preupdate hook: 05_schnapps.sh
Snapshot number 55 created
INFO:Unpacking download packages
INFO:Checking for file collisions between packages
INFO:Running pre-install and pre-rm scripts and merging packages to root file system
WARN:Config file /etc/config/openvpn modified by the user. Backing up the new one into /etc/config/openvpn-opkg
...
WARN:Config file /etc/mwan3.user modified by the user. Backing up the new one into /etc/mwan3.user-opkg
...
WARN:Config file /etc/config/foris modified by the user. Backing up the new one into /etc/config/foris-opkg
INFO:Running prerm of dhparam
...
INFO:Running prerm of luasec
INFO:Removing packages and leftover files
INFO:Running post-install and post-rm scripts
INFO:Running postinst of kernel
...
INFO:Running postinst of kmod-ipt-ipset
INFO:Running postinst of mwan3
...
<several minutes>
...
ip: invalid argument '0x3d00/0x3F00' to 'fwmark'
ip: invalid argument '0x3e00/0x3F00' to 'fwmark'
ip: invalid argument '0x3d00/0x3F00' to 'fwmark'
ip: invalid argument '0x3e00/0x3F00' to 'fwmark'
ip: invalid argument '0x100/0x3F00' to 'fwmark'
ip: invalid argument '0x3d00/0x3F00' to 'fwmark'
ip: invalid argument '0x3e00/0x3F00' to 'fwmark'
ip: invalid argument '0x3d00/0x3F00' to 'fwmark'
ip: invalid argument '0x3e00/0x3F00' to 'fwmark'
ip: invalid argument '0x200/0x3F00' to 'fwmark'
INFO:Running postinst of luci-compat
...