[pkg-lxc-devel] Bug#1125011: lxc-templates: please replace isc-dhcp-client with dhcpd-base in trixie+ containers

Arnaud Rebillout arnaudr at kali.org
Mon Mar 9 11:27:45 GMT 2026


On 09/03/2026 17:23, Sven Geuer wrote:
> Getting the codename is essential, according to my tests. It won't
> install isc-dhcp-client but dhcpcd-base if debci is invoked like "debci
> setup -s stable". The same applies when setting up an oldstable or
> oldoldstable testbed.

You're correct, my approach doesn't work for stable, oldstable and the rest.

I note that there are various places in the template where $release is
matched against a list of codenames, so the template is already bogus in
this regard. I wonder if it's a good idea to fix it by using the
variable distro_codename that you introduced.

I'll rework my MR to expand on your patch, give me some minutes (or hours).


>> @elbrus: I believe the fix doesn't need to apply to trixie, but only to
>> forky onward. Please tell me if I'm mistaken.
> It depends on what release the worker/host-running-the-test is running
> natively. If there are workers running on trixie they need the fix as
> well, it seems to me.

I don't understand this one. The package isc-dhcp-client is present on
trixie, so why do we need the fix? Or is it missing on trixie/loong64
(didn't find a way to check, rmadison doesn't tell about loong64)?

Arnaud



More information about the Pkg-lxc-devel mailing list