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 aspace-delimitedlist of interface names it is dependent upon tostdout. Those interface names will be merged into the dependency graph. If an executor does not have any dependencies, it may simplyexit 0without doing anything.createβ Called beforepre-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 afterpost-downto 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β Eitherstart,stopordependdepending 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
- alpine 3.24: ifupdown-ng-doc 0.13.0-r0 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms