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

"dhcpcd -x <interface>" shoud wait for interface to exit and report error if failed in command line during manager mode #413

Open
learn-sys16 opened this issue Nov 30, 2024 · 1 comment

Comments

@learn-sys16
Copy link

Hi,

Current architecture seems for manager or global mode is when I pass any subsequent commands to daemon, they will be transferred to control process and my command will exits immediately without waiting for control process's response.

For example:
dhcpcd --manager interface1 interface2

dhcpcd -4 -x interface1
It will exit after printing:
sending commands to dhcpcd process

And control process will handle this command in background, I think it will be good if this command will wait for reply from control process and report success or failure depending on results.

Not sure if there is any existing option that I'm missing that could do this, will appreciate suggestions. I'm looking for a way to wait until control process has terminated dhcp4 from that interface.

Thanks for maintaining this cool project !!!

@rsmarples
Copy link
Member

This is something we need for dhcpcd-11 when manager mode is the only option for sure.

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

No branches or pull requests

2 participants