jail: adapt to new ubus socket path
authorDaniel Golle <daniel@makrotopia.org>
Mon, 19 Oct 2020 16:00:26 +0000 (17:00 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 19 Oct 2020 16:00:26 +0000 (17:00 +0100)
commit12a5b97711b74efa72eae328c1e73b8fdfb76d74
tree5ba8b85065de6b0d63704ea001e15bfd730068d1
parent31214674545c3703c1171a02a1949a5d3162bdee
jail: adapt to new ubus socket path

The previous commit
3121467 ("early: run ubusd non-root as user ubus, group ubus")
changed the path of the ubus socket from /var/run/ubus.sock to
/var/run/ubus/ubus.sock. Adapt jail to also mount-bind that new
path for jails which include ubus access (eg. dnsmasq).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/jail.c