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>
{
uid_t uid = getuid();
const char log[] = "/dev/log";
- const char ubus[] = "/var/run/ubus.sock";
+ const char ubus[] = "/var/run/ubus/ubus.sock";
int ch, ret;
if (uid) {