Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pd] ensure dhcp6_pd_daemon starts after otbr-agent (#2600)
The `dhcp6_pd_daemon` occasionally fails to receive dbus messages on initial boot due to a race condition with `otbr-agent`. This commit fixes the issue by explicitly defining a service dependency on `otbr-agent`.
- Loading branch information
094d0cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change seems to break a clean first time build (when otbr-agent doesn't exist on the platform and has never been compiled).
./script/setup - fails as follows
[Install]
WantedBy=multi-user.target
Created symlink /etc/systemd/system/multi-user.target.wants/dhcp6_pd_daemon.service → /etc/systemd/system/dhcp6_pd_daemon.service.
Failed to start dhcp6_pd_daemon.service: Unit otbr-agent.service not found.