Skip to content

[services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh#3823

Merged
yxieca merged 1 commit intosonic-net:masterfrom
jleveque:dhcp_relay_swss_sh
Nov 27, 2019
Merged

[services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh#3823
yxieca merged 1 commit intosonic-net:masterfrom
jleveque:dhcp_relay_swss_sh

Conversation

@jleveque
Copy link
Contributor

Remove swss and teamd services from both the Requires= and WantedBy= fields of the dhcp_relay service file, and instead control the dhcp_relay service from the swss.sh script along with the teamd and radv services.

Removing the services from Requires= field will prevent dhcp_relay from automatically starting teamd when it is started (in case it gets started while teamd is supposed to be shut down), and removing the services from the WantedBy= field will prevent dhcp_relay getting started by systemd if swss or teamd get started. Instead, dhcp_relay will only be started by the swss.sh script in the proper order, ensuring that teamd is always started before dhcp_relay.

@jleveque
Copy link
Contributor Author

Retest vsimage please

1 similar comment
@jleveque
Copy link
Contributor Author

Retest vsimage please

@yxieca yxieca merged commit 5e6f8ad into sonic-net:master Nov 27, 2019
@jleveque jleveque deleted the dhcp_relay_swss_sh branch November 27, 2019 01:12
yxieca pushed a commit that referenced this pull request Nov 27, 2019
zhenggen-xu pushed a commit to zhenggen-xu/sonic-buildimage that referenced this pull request Jan 10, 2020
mssonicbld added a commit that referenced this pull request Apr 4, 2025
…atically (#22232)

#### Why I did it
src/sonic-utilities
```
* a6fcf564 - (HEAD -> 202411, origin/202411) [show][interfaces] Add proposal for show interfaces flap (#3627) (#3823) (8 hours ago) [vdahiya12]
```
#### How I did it
#### How to verify it
#### Description for the changelog
DavidZagury pushed a commit to DavidZagury/sonic-buildimage that referenced this pull request Apr 28, 2025
…AD automatically (sonic-net#991)

#### Why I did it
src/sonic-utilities
```
* cd1be5b8 - (HEAD -> 202412, origin/202412) Merge pull request sonic-net#163 from mssonicbld/sonicbld/202412-merge (21 hours ago) [mssonicbld]
* 38f299c0 - Merge branch '202411' of https://github.com/sonic-net/sonic-utilities into 202412 (21 hours ago) [Sonic Automation]
* a6fcf564 - [show][interfaces] Add proposal for show interfaces flap (sonic-net#3627) (sonic-net#3823) (11 days ago) [vdahiya12]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants