%general-entities; ]> $LastChangedBy$ $Date$ Avahi-&avahi-version; Avahi Introduction to Avahi The Avahi package is a system which facilitates service discovery on a local network. &lfs101_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &avahi-md5sum; Download size: &avahi-size; Estimated disk space required: &avahi-buildsize; Estimated build time: &avahi-time; Additional Downloads Required patch: Avahi Dependencies Required Recommended , , , , , and Optional , , , and xmltoman (for generating documentation) User Notes: Installation of Avahi There should be a dedicated user and group to take control of the avahi-daemon daemon after it is started. Issue the following commands as the root user: groupadd -fg 84 avahi && useradd -c "Avahi Daemon Owner" -d /var/run/avahi-daemon -u 84 \ -g avahi -s /bin/false avahi There should also be a dedicated priviliged access group for Avahi clients. Issue the following command as the root user: groupadd -fg 86 netdev Fix a regression that results in a race condition when IPv6 is in use and multiple network adapters are present on the system: patch -Np1 -i ../avahi-&avahi-version;-ipv6_race_condition_fix-1.patch Fix a security vulnerabilty in avahi-daemon: sed -i '426a if (events & AVAHI_WATCH_HUP) { \ client_free(c); \ return; \ }' avahi-daemon/simple-protocol.c Install Avahi by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --disable-libevent \ --disable-mono \ --disable-monodoc \ --disable-python \ --disable-qt3 \ --disable-qt4 \ --enable-core-docs \ --with-distro=none \ --with-systemdsystemunitdir=no && make ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --disable-libevent \ --disable-mono \ --disable-monodoc \ --disable-python \ --disable-qt3 \ --disable-qt4 \ --enable-core-docs \ --with-distro=none \ --with-systemdsystemunitdir=/lib/systemd/system && make This package does not come with a test suite. Now, as the root user: make install Command Explanations --disable-libevent: This parameter disables the use of . Remove if you have it installed. --disable-mono: This parameter disables the Mono bindings. --disable-monodoc: This parameter disables documentation for the Mono bindings. --disable-python: This parameter disables the scripts that depend on Python. It also allows a regular install to complete successfully. --disable-qt3: This parameter disables the attempt to build the obsolete Qt3 portions of the package. --disable-qt4: This parameter disables the attempt to build the obsolete Qt4Core portions of the package. --enable-core-docs: This parameter enables the building of documentation. --with-distro=none: There is an obsolete boot script in the distribution for LFS. This option disables it. --with-systemdsystemunitdir=no: Without it, the daemon fails to start in BLFS, which does not support systemd. --with-systemdsystemunitdir=/lib/systemd/system: This parameter is used to set the correct installation directory for systemd units. : This parameter disables the use of D-Bus. : This parameter disables the use of GTK+2. : This parameter disables the use of GTK+3. : This parameter disables the use of Qt5, and allows building without it. : This parameter disables the use of libdaemon. If you use this option, avahi-daemon won't be built. : This option enables the building of tests and examples. : This option enables the compatibility layer for HOWL. : This option enables the compatibility layer for libdns_sd. Configuring avahi Boot Script To automatically start the avahi-daemon when the system is rebooted, install the /etc/rc.d/init.d/avahi bootscript from the package. To start the avahi-daemon daemon at boot, enable the previously installed systemd unit by running the following command as the root user: avahi make install-avahi systemctl enable avahi-daemon To start the avahi-dnsconfd daemon at boot, enable the previously installed systemd unit by running the following command as the root user: systemctl enable avahi-dnsconfd Contents Installed Programs Installed Libraries Installed Directories avahi-autoipd, avahi-browse, avahi-browse-domains, avahi-daemon, avahi-discover-standalone, avahi-dnsconfd, avahi-publish, avahi-publish-address, avahi-publish-service, avahi-resolve, avahi-resolve-address, avahi-resolve-host-name, avahi-set-host-name, bshell, bssh, and bvnc libavahi-client.so, libavahi-common.so, libavahi-core.so, libavahi-glib.so, libavahi-gobject.so, libavahi-libevent.so libavahi-ui-gtk3.so, libavahi-qt5, libavahi-ui.so, libdns_sd.so, and libhowl.so, /etc/avahi/services, /usr/include/{avahi-client,avahi-common, avahi-compat-howl, avahi-compat-libdns_sd, avahi-core, avahi-glib, avahi-gobject, avahi-libevent, avahi-qt5, avahi-ui}, /usr/lib/avahi, /usr/share/avahi Short Descriptions avahi-autoipd is a IPv4LL network address configuration daemon avahi-autoipd avahi-browse browses for mDNS/DNS-SD services using the Avahi daemon avahi-browse avahi-browse-domains browses for mDNS/DNS-SD services using the Avahi daemon avahi-browse-domains avahi-daemon is the Avahi mDNS/DNS-SD daemon avahi-daemon avahi-discover-standalone browses for mDNS/DNS-SD services using the Avahi daemon avahi-discover-standalone avahi-dnsconfd is a Unicast DNS server from mDNS/DNS-SD configuration daemon avahi-dnsconfd avahi-publish registers a mDNS/DNS-SD service or host name or address mapping using the Avahi daemon avahi-publish avahi-publish-address registers a mDNS/DNS-SD service or host name or address mapping using the Avahi daemon avahi-publish-address avahi-publish-service registers a mDNS/DNS-SD service or host name or address mapping using the Avahi daemon avahi-publish-service avahi-resolve resolves one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon avahi-resolve avahi-resolve-address resolves one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon avahi-resolve-address avahi-resolve-host-name resolves one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon avahi-resolve-host-name avahi-set-host-name changes the mDNS host name avahi-set-host-name bssh browses for SSH servers on the local network bssh bvnc browses for VNC servers on the local network bvnc