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

FS#541 - process relayd is missing after boot #5474

Closed
openwrt-bot opened this issue Feb 21, 2017 · 7 comments
Closed

FS#541 - process relayd is missing after boot #5474

openwrt-bot opened this issue Feb 21, 2017 · 7 comments
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Feb 21, 2017

Rampler:

Relayd will be not started after booting device.
After manual start, relayd works as expected.
process relayd ist missing after boot.
tested with LEDE Reboot SNAPSHOT r3544-55ffc38 / LuCI Master (git-17.051.48856-7942a23)

I have tried to enable init process, no success, only manual start helps

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 21, 2017

Rampler:

/etc/init.d/relayd start helps until next boot ...

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 25, 2017

Rampler:

Occusrs on Archer C7 v2

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 25, 2017

yousong:

Can you confirm that /etc/rc.d/relayd exists as a valid symbolic link and has executable bit set?

Output of the following command immediately after reboot before relayd starts up may also help

ubus call service list '{"name": "relayd", "verbose": true}'

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 25, 2017

Rampler:

root@Repeater_WZ:/etc/rc.d# ls -ali /etc/rc.d/S80relayd 758 lrwxrwxrwx 1 root root 16 Feb 23 16:52 /etc/rc.d/S80relayd -> ../init.d/relayd root@Repeater_WZ:/etc/rc.d# ubus call service list '{"name": "relayd", "verbose": true}' { "relayd": { "instances": { "instance1": { "running": false, "command": [ "\/usr\/sbin\/relayd", "-I", "br-LAN" ], "term_timeout": 5 } } } }

After /etc/init.d/releayd start:

root@Repeater_WZ:/etc/rc.d# /etc/init.d/relayd start
root@Repeater_WZ:/etc/rc.d# ubus call service list '{"name": "relayd", "verbose": true}'
{
"relayd": {
"instances": {
"instance1": {
"running": true,
"pid": 1655,
"command": [
"/usr/sbin/relayd",
"-I",
"br-LAN",
"-I",
"wlan0",
"-L",
"192.168.1.4",
"-B",
"-D"
],
"term_timeout": 5
}
},
"triggers": [
[
"config.change",
[
"if",
[
"eq",
"package",
"network"
],
[
"run_script",
"/etc/init.d/relayd",
"reload"
]
],
1000
],
[
"interface.*",
[
[
"run_script",
"/etc/init.d/relayd",
"reload"
]
],
2000
]
]
}
}

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 25, 2017

yousong:

Hi, Klaus

Please try replacing /etc/init.d/relayd with the one at [[https://git.lede-project.org/?p=lede/yousong/staging.git;a=blob;f=package/network/services/relayd/files/relay.init;h=5c7a0f9efe608766e577a667262c155395408fe9;hb=699eedace08b54b0bb4592b88573314604c4c0f6]] , reboot and see if it can fix the issue for you.

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 25, 2017

Rampler:

it works like a charm ...
GREAT JOB !!

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 25, 2017

Rampler:

FS#525 is caused due to the same problem, therefor you can close it also..
best regards
Klaus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant