Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ChienHoWee opened this issue Sep 18, 2023 · 1 comment
Closed

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

ChienHoWee opened this issue Sep 18, 2023 · 1 comment

Comments

@ChienHoWee
Copy link

在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
Copy link
Owner

kenzok8 commented Sep 19, 2023

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

@kenzok8 kenzok8 closed this as completed Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants