OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Base system
  • Assigned To
    Yousong Zhou
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version All
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Klaus Voigt - 21.02.2017
Last edited by Yousong Zhou - 26.02.2017

FS#541 - process relayd is missing after boot

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

Closed by  Yousong Zhou
26.02.2017 05:51
Reason for closing:  Fixed
Additional comments about closing:  

Fixed with https://git.l ede-project.org/?p=source.git;a=commitdi ff;h=699eedace08b54b0bb4592b88573314604c 4c0f6

Klaus Voigt commented on 21.02.2017 13:27

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

Klaus Voigt commented on 25.02.2017 06:56

Occusrs on Archer C7 v2

Project Manager
Yousong Zhou commented on 25.02.2017 08:26

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}'
Klaus Voigt commented on 25.02.2017 10:57
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
                        ]
                ]
        }
}
Project Manager
Yousong Zhou commented on 25.02.2017 12:22
Klaus Voigt commented on 25.02.2017 13:17

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

Klaus Voigt commented on 25.02.2017 13:20

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

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing