hotplug DEVICE won't be reported on ifdown
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
OpenWrt 25.12.0-rc1.
~ # ifdown wan2
~ # Wed Jan 7 07:14:13 2026 user.notice hotplug: ifdown wan2
~ # ifup wan2
~ # Wed Jan 7 07:14:42 2026 user.notice hotplug: ifup wan2 lan1
/etc/hotplug.d/iface/99-test
#!/bin/sh
logger -t hotplug "$ACTION $INTERFACE $DEVICE"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided /etc/hotplug.d/iface/99-test script and reproduce the ifdown/ifup commands shown in the report. Trace netifd's interface hotplug handling to determine why DEVICE is absent during ifdown; done means the relevant DEVICE is reported on ifdown as well as ifup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100