[LuCI -> /admin/status/syslog] Unable to load log data: Not Found
{"kernel":"4.19.93","hostname":"to","system":"ARMv7 Processor rev 1 (v7l)","model":"Turris Omnia","board_name":"cznic,turris-omnia","release":{"distribution":"TurrisOS","version":"6.0-future","revision":"cd4a3a1","target":"mvebu/cortexa9","description":"TurrisOS 6.0-future 57a9633a2c6c3be56c794576157f057a70ac52df"}}
upstream commit in Master [1], which may or may not get uplifted into stable branch(es), introduced an explicit path for
"/sbin/logread -e ^": [ "exec" ],
After having first patched https://gitlab.labs.nic.cz/turris/turris-os-packages/issues/530 the syslog display in LuCI exhibits
because syslog-ng provides a different path for logread -> /usr/sbin/logread
It seems that upstream implements logread [2]
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{logd,logread} $(1)/sbin/
which is strange since being the same path and thus expect the same outcome.
ln -sfn /usr/sbin/logread /sbin/logread
remedies the issue
[1] https://github.com/openwrt/luci/commit/939b371bc72f4c020c499c815f636dafc296829a#diff-e32045eab7d6e4701afc02a6fa707e8dR47
[2] https://github.com/openwrt/openwrt/blob/master/package/system/ubox/Makefile#L64