Package: dhcpcd
Version: 1:10.3.2-6
Severity: normal

Dear Maintainer,

`dhcpcd.service` has `Before=networking.service`, which is basically exactly 
opposite what you want in most cases.

If you are using ifupdown to manage your statically-configured interfaces, such 
as LAN interfaces, and then using PD via dhcpcd to manage provider-delegated 
addresses to those interfaces, you want those interfaces configured and brought 
up *before* dhcpcd starts. In my case, that means creating VLAN interfaces with 
specific sysctls (e.g., `addr_gen_mode=1`) and bringing them up with static RFC 
1918 IPv4 addresses, ULA IPv6 addresses, and chosen IPv6 link local addresses 
(e.g., `fe80::1`), all of which needs to happen before dhcpcd touches them.

Notably, my WAN connection doesn't have any static configuration outside of 
dhcpcd.conf and sysctl.d/*: it is not even referenced in 
/etc/network/interfaces.d/*, because dhcpcd entirely manages the lifecycle of 
that interface, overriding virtually every setting you might want specified in 
an interfaces stanza, so I cannot fathom why anyone would want to enforce 
dhcpcd starting before `ifup -a`.

`dhcpcd.service` should either have `After=networking.service`, or should not 
specify a dependency at all, letting the user set the right order via 
`override.conf` without having to shadow the entire service module and keep it 
in-sync with upstream perpetually. (That motivates another feature request for 
systemd that I am sure will never be accepted, that of syntax to remove 
individual entries from list variables via override; but I digress.)



-- System Information:
Debian Release: forky/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.101+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dhcpcd depends on:
ii  dhcpcd-base  1:10.3.2-6

Versions of packages dhcpcd recommends:
pn  wpasupplicant  <none>

Versions of packages dhcpcd suggests:
pn  dhcpcd-gtk  <none>

-- no debconf information

Reply via email to