Hi Crhis,

On Wed, Dec 11, 2024 at 02:19:40PM +0100, Chris Hofstaedtler wrote:
> On Mon, Dec 09, 2024 at 06:06:32PM +0100, Daniel Gröber wrote:
> > dhcpcd-base does not send the system's hostname by default as
> > isc-dhcp-client used to due to /etc/dhcpcd.conf having the `hostname`
> > option commented out.
> > 
> > This will cause outages for users relying on DDNS when upgrading to
> > trixie. Please let's change the default before releasing this. ifupdown's
> > reputation is already hanging on by a thread as it is.
> 
> Shouldn't preserving the previous meaning of (default) config
> settings in /etc/network/interfaces be a concern of ifupdown, and
> not of the DHCP client implementation?
> 
> If so, then ifupdown could/should change how it configured dhcpcd?

Things are never that simple :-)

There is simply no interface for ifupdown to make this configuration
change. All we can practically do is bring interfaces up/down.

I'd previously thought perhaps we can programmatically change dhcpcd.conf
in postinst, but this is explicitly forbidden by RC policy:

> 3. Configuration files
> 
>     Packages must not modify their own or other packages conffiles
>     programmatically. (The only correct way to modify a conffile is
>     the user running an editor specifically; if anything more automated
>     is required or useful, configuration files must _NOT_ be handled as
>     conffiles)
>     Ref: 10.7.3

https://release.debian.org/testing/rc_policy.txt

--Daniel

Attachment: signature.asc
Description: PGP signature

Reply via email to