Page MenuHomeVyOS Platform

op-mode command: restart dhcp relay-agent not working
Closed, ResolvedPublicBUG

Description

Command restart dhcp relay-agent now working on 1.3

● isc-dhcp-relay.service - ISC DHCP IPv4 relay
   Loaded: loaded (/lib/systemd/system/isc-dhcp-relay.service; disabled; vendor 
   Active: active (running) since Tue 2023-02-14 17:36:11 UTC; 1h 2min ago

# Restart service
vyos@VyOS-130-2:~$ restart dhcp relay-agent 

vyos@VyOS-130-2:~$ sudo systemctl status isc-dhcp-relay
● isc-dhcp-relay.service - ISC DHCP IPv4 relay
   Loaded: loaded (/lib/systemd/system/isc-dhcp-relay.service; disabled; vendor 
   Active: active (running) since Tue 2023-02-14 17:36:11 UTC; 1h 4min ago

From journalctl:

vyos@VyOS-130-2:~$ sudo journalctl -b | tail -30
...
Feb 14 18:40:21 VyOS-130-2 sudo[3152]:     vyos : TTY=ttyS0 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/libexec/vyos/op_mode/restart_dhcp_relay.py --ipv4

It calls the script but it doesn't restart the service.

Details

Difficulty level
Unknown (require assessment)
Version
vyos-1.3.2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

n.fort changed the task status from Open to Confirmed.Feb 14 2023, 6:43 PM
n.fort claimed this task.
n.fort created this task.
n.fort changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
n.fort changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).
n.fort changed the task status from In progress to Needs testing.Feb 15 2023, 2:36 PM