Haas-proxy does not start (Turris 4.0)
The haas service does not start on Turris 4.0.
Cross-reference to forum: https://forum.turris.cz/t/turris-os-4-0-beta1-is-released/10107/83
kernel: 4.14.113
hostname: turris
system: ARMv7 Processor rev 1 (v7l)
model: Turris Omnia
board_name: armada-385-turris-omnia
distribution: TurrisOS
version: 4.0-beta1
revision: 0663455801
target: mvebu/cortexa9
description: TurrisOS 4.0-beta1 0663455801
$opkg list-installed | grep haas
haas-proxy - 1.9-3.6-6.0
After setting token in /etc/config/haas
and enabling the service, the haas does not start.
There are following entries in the /var/log/messages
:
May 23 15:27:01 turris procd: /etc/rc.d/S99haas-proxy: /etc/rc.common: line 1: can't create /sys/fs/cgroup/cpu/haas/cpu.cfs_period_us: Permission denied
May 23 15:27:01 turris procd: /etc/rc.d/S99haas-proxy: /etc/rc.common: line 1: can't create /sys/fs/cgroup/cpu/haas/cpu.cfs_quota_us: Permission denied
May 23 15:27:26 turris procd: Instance haas-proxy::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
The service can be started if the init file is modified with attached patch.haas-proxy_init.patch