dhcpcd: dhcpcd 10.0.4 --enable-privsep fails to fork in the background
Related to https://gitlab.alpinelinux.org/alpine/aports/-/issues/15417 and https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/issues/48
dhcpcd 10.0.4 with --enable-privsep fails to fork into the background…
* Starting networking ... * lo ... [ ok ]
* eth0 ...dhcpcd-10.0.4 starting
DUID 00:01:00:01:2c:d2:c9:cf:0a:15:c6:f6:91:91
eth0: IAID c6:f6:91:91
eth0: soliciting an IPv6 router
eth0: Router Advertisement from fe80::8e7:ddff:fe5c:ad3b
eth0: no global addresses for default route
eth0: adding route to 2600:1f14:2a4a:8902::/64
eth0: soliciting a DHCPv6 lease
eth0: soliciting a DHCP lease
eth0: offered 172.30.2.109 from 172.30.2.1
eth0: probing address 172.30.2.109/24
eth0: ADV 2600:1f14:2a4a:8902:55b4:ea04:18cf:3342/128 from fe80::8e7:ddff:fe5c:ad3b
eth0: REPLY6 received from fe80::8e7:ddff:fe5c:ad3b
eth0: adding address 2600:1f14:2a4a:8902:55b4:ea04:18cf:3342/128
eth0: renew in 70, rebind in 112, expire in 450 seconds
eth0: adding default route via fe80::8e7:ddff:fe5c:ad3b
forked to background, child pid 1870
dhcpcd_fork_cb: truncated read 0 (expected 4)
ifup: failed to change interface eth0 state to 'up'
[ !! ]
10.0.3 works, and 10.0.4 without --enable-privsep is also working as expected.
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Comments: 27 (10 by maintainers)
Commits related to this issue
- dhcpcd: Close fork_fd on hangup Closing it early results in zero length reads in some situations. Logging that we forked via the launcher process also make more sense and allows us to use log* functi... — committed to NetworkConfiguration/dhcpcd by rsmarples 8 months ago
- dhcpcd: Close fork_fd on hangup Closing it early results in zero length reads in some situations. Logging that we forked via the launcher process also make more sense and allows us to use log* functi... — committed to NetworkConfiguration/dhcpcd by rsmarples 8 months ago
- privsep: Allow sched_yield on Linux Another fix for #260. — committed to NetworkConfiguration/dhcpcd by rsmarples 8 months ago
- privsep: Allow dup3 on Linux It seems some libc will really call dup3 rather than dup2. Another fix for #260. — committed to NetworkConfiguration/dhcpcd by rsmarples 8 months ago
- privsep: Allow dup3 on Linux It seems some libc will really call dup3 rather than dup2. Another fix for #260. — committed to NetworkConfiguration/dhcpcd by rsmarples 8 months ago
- dhcpcd: Update to version 10.0.6 + fix issue experinced by some community users. - Update from version 10.0.4 to 10.0.6 - Update of rootfile not required. - In version 10.0.4 a bug was found https... — committed to ipfire/ipfire-2.x by deleted user 5 months ago
- package/dhcpcd: bump to version 10.0.5 This version contains a fix for aarch64 based systems. On such systems, dhcpcd would crash without setting any IP addresses. See https://github.com/NetworkConfi... — committed to buildroot/buildroot by david-barbion 5 months ago
- dhcpcd: Close fork_fd on hangup Closing it early results in zero length reads in some situations. Logging that we forked via the launcher process also make more sense and allows us to use log* functi... — committed to pemensik/dhcpcd by rsmarples 8 months ago
- package/dhcpcd: bump to version 10.0.5 This version contains a fix for aarch64 based systems. On such systems, dhcpcd would crash without setting any IP addresses. See https://github.com/NetworkConfi... — committed to buildroot/buildroot by david-barbion 5 months ago
dhcpcd-10.0.5 is out 😃