8000 dist: tools: avoid hanging tapsetup in the absence of a DHCP server by OlegHahm · Pull Request #20411 · RIOT-OS/RIOT · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dist: tools: avoid hanging tapsetup in the absence of a DHCP server #20411

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

10000
Merged
merged 1 commit into from
Feb 2, 2025

Conversation

OlegHahm
Copy link
Member

Contribution description

"Become a daemon immediately (nowait) rather than waiting until an IP address has been acquired." Otherwise tapsetup may hang for a long time in the absence of a DHCP server.

Testing procedure

Run tapsetup -u <UPSTREAM-INTERFACE> without a DHCP server ready on that link.

"Become a daemon immediately (nowait) rather than waiting until an IP
address has been acquired." Otherwise tapsetup may hang for a long time
in the absence of a DHCP server.
@OlegHahm OlegHahm requested a review from benpicco February 21, 2024 23:37
@OlegHahm OlegHahm changed the title dist: tools: tapsetup: dhclient no-wait dist: tools: avoid hanging tapsetup in the absence of a DHCP server Feb 21, 2024
@benpicco benpicco requested a review from miri64 February 22, 2024 00:15
benpicco
benpicco previously approved these changes Feb 22, 2024
@github-actions github-actions bot added the Area: tools Area: Supplementary tools label Feb 22, 2024
@benpicco benpicco added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs labels Feb 22, 2024
@riot-ci
Copy link
riot-ci commented Feb 22, 2024

Murdock results

✔️ PASSED

cdfc5f6 dist: tools: tapsetup: dhclient no-wait

Success Failures Total Runtime
1 0 1 58s

Artifacts

@benpicco benpicco added this pull request to the merge queue Feb 22, 2024
@benpicco benpicco removed this pull request from the merge queue due to a manual request Feb 22, 2024
@benpicco
Copy link
Contributor

If this keeps it running beyond the lifetime of the tapbridge, we better kill it on tear-down (before it lays eggs)

@Teufelchen1 Teufelchen1 dismissed benpicco’s stale review March 12, 2024 16:04

New changes were requested: Missing tear-down of the dhcp service.

@OlegHahm
Copy link
Member Author
OlegHahm commented Jan 8, 2025

Has this been addressed anywhere in the mean time?

@maribu maribu enabled auto-merge February 2, 2025 18:31
@maribu maribu added this pull request to the merge queue Feb 2, 2025
@maribu
Copy link
Member
maribu commented Feb 2, 2025

I'll add the tear down as follow up

Merged via the queue into RIOT-OS:master with commit c5d23ba Feb 2, 2025
1 check passed
@OlegHahm OlegHahm deleted the pr/tapsetup_dhclient_nowait branch February 2, 2025 18:41
@mguetschow mguetschow added this to the Release 2025.04 milestone Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: tools Area: Supplementary tools CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0