avahi-autoipd.action(8)
π avahi-autoipd.action β the manual, bestie edition π
okay so real talk, this is the page for avahi-autoipd.action(8) from the System Manager's Manual, and it's genuinely one of those tiny little scripts that does SO much heavy lifting. like, unglamorous but essential. main character energy in a trench coat. let's get into it π«Ά
β¨ NAME β¨
avahi-autoipd.action β the action script for avahi-autoipd. that's it. that's the whole name. short, sweet, slays. π
πΈ SYNOPSIS πΈ
/etc/avahi/avahi-autoipd.action
that's the path. that's where it lives. iconic behavior, no arguments to pass yourself, it just gets called. π₯
π¦ DESCRIPTION π¦
so avahi-autoipd.action is the action script, and it gets called in exactly two vibes of situation:
- whenever an IP address has been acquired by
avahi-autoipd, or - when it detected an IP address conflict. π
and what's the script supposed to do? literally just add or remove the specified address from the specified network interface. that's the job. add it. remove it. no drama. periodt. β¨
π PARAMETERS π
these come in as argv, and there are three of them, and you need ALL of them, bestie. no skipping.
argv[1]β an event string, and it's one of exactly four things:BIND,CONFLICT,UNBINDorSTOP. here's the tea on each one:- if
BINDis passed, an IP address has been successfully acquired and the script shall add it to the network interface. yay!! we got an address!! π - if
CONFLICTis passed,avahi-autopiddetected a IP address on the local network, and the action script should remove the configured IP address. oh no, someone else has it, back off. π - if
UNBINDis passed, the IP address should be removed from the interface too, because a routable address has been configured to the interface by some other program. like, someone else showed up with a better address, we're out. π - if
STOPis passed,avahi-autoipdis being shutdown and the action script should remove the IP address. packing up, lights off, bye. π - and in short (because I know that was a lot): on
BINDthe address should be added to the interface, and onCONFLICT,UNBINDorSTOPit should be removed. that's the whole rule. memorize it. it's giving cheat sheet. β
- if
argv[2]β the network interface name. y'know, the actual interface we're doing all this adding and removing on. πargv[3]β an IP address from the IPv4LL range. that's the address in question, the one getting bound or unbound. π
π AUTHORS π
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
look at them. legends. respect the elders. π«‘
π₯ SEE ALSO π₯
go read these too, they're the friend group. iykyk. β¨
π COMMENTS π
This man page was written using xml2man(1) by Oliver Kurth.
shoutout Oliver, thank you for your service, the pipeline delivered. π
heads up bestie: this script is literally the thing standing between your interface and a stray address that shouldn't be there, so be careful what you make it do. it gets called at the messiest moments. no cap. π
and that's the whole page!! it's from Manuals, section User, and the manual name is avahi-autoipd.action(8) β so if you ever forget where you read this, that's the receipt. mwah π
πβ¨
π¦ where this page comes from
- centos-stream 10: avahi-autoipd 0.9~rc2-7.el10 Β· LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause-Views AND MIT
- centos-stream 9: avahi-autoipd 0.8-24.el9 Β· LGPLv2+
- debian bookworm: avahi-autoipd 0.8-10+deb12u1
- debian trixie: avahi-autoipd 0.8-16
- fedora 43: avahi-autoipd 0.9~rc2-6.fc43 Β· LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause-Views AND MIT
- fedora 44: avahi-autoipd 0.9~rc2-8.fc44 Β· LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause-Views AND MIT
- nixpkgs unstable: avahi 0.8
- nixpkgs unstable: avahi-compat 0.8
- opensuse-leap 16.0: avahi 0.8-160000.6.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: avahi 0.8-160000.6.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: avahi 0.8-160000.6.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: avahi 0.8-160000.6.1 Β· LGPL-2.1-or-later
- ubuntu jammy: avahi-autoipd 0.8-5ubuntu5
- ubuntu jammy: avahi-autoipd 0.8-5ubuntu5.5
- ubuntu noble: avahi-autoipd 0.8-13ubuntu6
- ubuntu noble: avahi-autoipd 0.8-13ubuntu6.2
- ubuntu questing: avahi-autoipd 0.8-16ubuntu3
- ubuntu questing: avahi-autoipd 0.8-16ubuntu3.2
- ubuntu resolute: avahi-autoipd 0.8-18ubuntu1
- ubuntu resolute: avahi-autoipd 0.8-18ubuntu1.1
- ubuntu stonking: avahi-autoipd 0.8-18ubuntu1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms