kenzok8 / small

ssr passwall homeprxoy 依赖
Apache License 2.0
1.08k stars 816 forks source link

luci-app-bypass在Lean的源码里面启动失败 #91

Closed ChienHoWee closed 1 year ago

ChienHoWee commented 1 year ago

在Lean的源码下编译后启动bypass失败,日志文件如下: Sun Sep 17 14:56:15 2023 daemon.crit dnsmasq[1]: cannot access directory /tmp/dnsmasq.by: No such file or directory Sun Sep 17 14:56:15 2023 daemon.crit dnsmasq[1]: FAILED to start up 文件夹和其中文件确实生成了,且权限正常。 用Lienol的源码编译后运行就是正常的(这个情况存在有段时间了)。 我自己修改了/etc/init.d/bypass: DNS_FILE=/tmp/dnsmasq.d/dnsmasq-by.conf DNS_DIR=/tmp/dnsmasq.by 为 DNS_FILE=/tmp/dnsmasq.by/dnsmasq-by.conf DNS_DIR=/tmp/dnsmasq.by 后虽然成功启动,但自己非码农,希望大佬们重新看下具体问题所在。

kenzok8 commented 1 year ago

在L大源码的 package/lean/default-settings/files/zzz-default-settings 添加一句 chmod 0755 /etc/init.d/* 试试看