• Bug#1040867: bug#1040867 could be with cloud-init rather than ifupdown

    From Chris Hofstaedtler@21:1/5 to Nate Childers on Sat Jul 12 23:20:02 2025
    Control: reassign -1 cloud-init

    Hi cloud-init maintainers,

    On Tue, Jul 11, 2023 at 06:53:52PM +0000, Nate Childers wrote:
    After reviewing the contents of /etc/network/interfaces.d/50-cloud-init containing the call to the missing route command it occurred to me that this may be an issue with cloud-init instead.

    it appears cloud-init adds "route ..." commands to
    /etc/network/interfaces. If so, it should also ensure net-tools is
    installed.

    Alternatively it could also add "ip route ..." commands instead, as
    it already Depends: iproute2.

    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Noah Meyerhans@21:1/5 to Chris Hofstaedtler on Fri Jul 25 19:30:02 2025
    On Sat, Jul 12, 2025 at 11:12:12PM +0200, Chris Hofstaedtler wrote:
    After reviewing the contents of /etc/network/interfaces.d/50-cloud-init containing the call to the missing route command it occurred to me that this may be an issue with cloud-init instead.

    it appears cloud-init adds "route ..." commands to
    /etc/network/interfaces. If so, it should also ensure net-tools is
    installed.

    Alternatively it could also add "ip route ..." commands instead, as
    it already Depends: iproute2.

    Cloud-init is capable of generating configuration for several different networking management systems, or in many cases isn't used to generate
    any network configuration at all. So we leave the network management
    out of cloud-init's dependency list intentionally. If you're generating
    VM images that depend on cloud-init to generate network configuration, I recommend installing the dependencies for the desired backend explicitly
    in the images, and possibly installing cloud-init configuration to tell
    it to use the particular back-end in question.

    noah

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)