Updater/pkgupdate doesn't remove /var/lock/opkg.lock
How to replicate:
Reboot Turris Omnia, wait for a few minutes and check ls -lh /var/lock/opkg.lock
. The file exists even though it is not used by any process as seen using lsof /var/lock/opkg.lock
. By monitoring the filesystem I have found out that the file was created by pkgupdate
.
This breaks some packages, for example adblock which relies (https://github.com/openwrt/packages/blob/master/net/adblock/files/adblock-helper.sh) on the absence of this file.