:: Re: [DNG] Debian images in AWS with…
Top Pagina
Delete this message
Reply to this message
Auteur: Roy Bixler
Datum:  
Aan: Nick via Dng
Onderwerp: Re: [DNG] Debian images in AWS without systemd
On Fri, Mar 28, 2025 at 05:19:47PM +0100, Nick via Dng wrote:
> On 26-03-2025 20:32, Roy Bixler via Dng wrote:
> > /etc/udev/rules.d/75-cloud-ifupdown.rules:
> >
> > # Handle allow-hotplug interfaces
> > SUBSYSTEM=="net", ACTION=="add", ENV{INTERFACE}=="eth*|en*", RUN+="/etc/network/cloud-ifupdown-helper"
>
> Afaik an ethernet device name always start with an e so the udev rule could
> be even simpler:
>
> SUBSYSTEM=="net", ACTION=="add", ENV{INTERFACE}=="e*",
> RUN+="/etc/network/cloud-ifupdown-helper"


I'm still curious about when the helper script was removed. All I
know is that I had to restore it for bookworm. But it's clear from
this changelog entry which direction cloud-init was headed:

cloud-init (21.4-2) unstable; urgency=medium

* Remove ifupdown and net-tools depends.
* Require isc-dhcp-client as dhclient is used internally.

-- Bastian Blank <waldi@???> Mon, 28 Mar 2022 11:56:22 +0200

Also, when I check ifupdown bugs, there are many of them marked as
"unclassified". Is there are a successor package for ifupdown which
doesn't have a dependency on systemd like netplan.io?

--
Roy Bixler <rcbixler@???>
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman