Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
I like systemd. I like pulseaudio. I liked avahi. Overall, I think Lennart is one of the best things to happen to the Linux desktop.
If only the Linux ecosystem had more people like him, and also people who were almost like him except with s/technical excellence/UI design excellence/g. :)
Poettering: systemd for Administrators, Part IX
Posted Jul 25, 2011 11:05 UTC (Mon) by nye (guest, #51576)
I realise this is offtopic but since you use avahi I wonder if you could give me some idea of what it's actually for. It's one of those random daemons that get installed automatically on new Linux installs but doesn't seem to do anything, and reading the wikipedia page leaves me none the wiser.
I gather it's only of relevance if you have a network which doesn't have a router doing DHCP and DNS, but you still want local name resolution; it that correct? Certainly I've always removed it with no problems - discovery of other machines and file shares still works fine.
With PulseAudio I've worked out that it's useful if one or more of the following cases applies:
* You want to hotplug audio devices frequently and have the appropriate one chosen automatically
* You want per-application volume controls for applications that don't have their own volume setting
* You want to be able to transfer a running audio stream between devices.
None of these apply to me which is why it seemed useless to me for ages and I couldn't figure out why anyone might want it.
Is there a similar list of cases in which one might want to use avahi?
Posted Jul 26, 2011 5:40 UTC (Tue) by elanthis (guest, #6227)
It does two things. For people without DHCP, it lets you allocate a unique IP address amongst your local peers.
Second, it lets you discover both hostnames and services on the local network. For instance, "find a printer on the local network" becomes very easy.
Some printers, multimedia, and chat services use it for local networks. Even if DHCP and DNS are enabled.
If you aren't using any of those services and never have a need of building an ad-hoc network, you probably don't need it running.
Posted Jul 26, 2011 10:28 UTC (Tue) by nye (guest, #51576)
Posted Jul 28, 2011 7:07 UTC (Thu) by lkundrak (subscriber, #43452)
Once systemd gets into RHEL, I won't have to spend late nights working around random flaws and race conditions in horribly broken daemon startup scripts (anyone noticed that in a few mainstream languages you can't even get your pid to write into a file, change effective uid and daemonize?) and I may finally get a life.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds