[Bug 11691] New: "udhcpc -n -b" still exits after backgrounding on no lease
bugzilla at busybox.net
bugzilla at busybox.net
Fri Feb 22 19:59:52 UTC 2019
https://bugs.busybox.net/show_bug.cgi?id=11691
Bug ID: 11691
Summary: "udhcpc -n -b" still exits after backgrounding on no
lease
Product: Busybox
Version: 1.30.x
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Networking
Assignee: unassigned at busybox.net
Reporter: ahippo at yandex.com
CC: busybox-cvs at busybox.net
Target Milestone: ---
Running "udhcpc -n -b" causes udhcpc to go into background and then exit after
some timeout unless a lease is obtained.
It's probably arguable what's the proper behavior is,
but I expect "-b" switch to override "-n" switch.
A particular use-case is managing udhcpc from ifupdown.
Currently, ifupdown passes "-n" to udhcpc by default (unless compiled with
other options), and there is no way to override this without recompiling
busybox.
It looks like, the code actually tries to favor "-b" over "-n", but doesn't
clear "-n" flag while clearing "-b" before backgrounding.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list