strace shows the problem: | write(2, "*** WARNING *** Please fix your application to use the native API of Avahi!\n"..., 76) = -1 EPIPE (Broken pipe) | --- SIGPIPE (Broken pipe) @ 0 (0) --- This version of the Avahi compat layer writes a warning sometimes and stderr is closed. Bastian -- You're too beautiful to ignore. Too much woman. -- Kirk to Yeoman Rand, "The Enemy Within", stardate unknown