ifupdown-executor(7)

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the manual name ifupdown-executor(7) β€” it covers /usr/libexec/ifupdown-ng/program, aka the ifupdown executor protocol. πŸ’…βœ¨


🌸 DESCRIPTION 🌸

The ifupdown executors are programs that are typically installed into the ifupdown-ng executor path. They follow a specific protocol documented in this man page. No cap, that's the whole vibe: executor programs, one protocol, this page. 🫢


✨ PHASES ✨

Executors are run to react to nine different phases and are not required to take any specific action. These phases are:

  • depend β€” Called to determine if the executor wishes to change the dependency graph. The executor should write a space-delimited list of interface names it is dependent upon to stdout. Those interface names will be merged into the dependency graph. If an executor does not have any dependencies, it may simply exit 0 without doing anything.
  • create β€” Called before pre-up, to explicitly allow for interface creation if necessary. πŸŽ€
  • pre-up β€” Called before the interface is going to be brought up.
  • up β€” Called when the interface is being brought up.
  • post-up β€” Called after the interface was successfully brought up. πŸ”₯
  • pre-down β€” Called before the interface is going to be taken down.
  • down β€” Called when the interface is being taken down.
  • post-down β€” Called after the interface was successfully taken down. πŸ’œ
  • destroy β€” Called after post-down to allow for explicitly destroying an interface if necessary.

πŸ¦‹ ENVIRONMENT πŸ¦‹

Executors are guaranteed to run with a core set of environment variables:

  • IFACE β€” The name of the interface being configured. πŸ’–
  • INTERFACES_FILE β€” The path to the interfaces database file being used.
  • MODE β€” Either start, stop or depend depending on phase. This environment variable is present for compatibility with legacy ifupdown scripts and should not be used in ifupdown-ng executors.
  • PHASE β€” The phase being executed. See the phases section for more information about phases.
  • VERBOSE β€” If present, verbose output is expected from the executor.

Additionally, the properties associated with an interface are provided to executors. The keys are rewritten to begin with IF_ and are capitalized with dashes converted to underscores. For example, the property bridge-ports will be rewritten as IF_BRIDGE_PORTS. iykyk πŸ’…


🌈 SEE ALSO 🌈


πŸ‘‘ AUTHORS πŸ‘‘

Ariadne Conill <ariadne@dereferenced.org>


that's the whole page, bestie 🫢 source/version vibes: ifupdown-executor(7), dated 2026-05-10. may your interfaces always come up and your dependency graph stay iconic. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from