Re: Avahi not "self aware"
Posted by pschaff on 2012/4/4 14:51:56
Your needs are clear but I don't completely understand where your script approach is failing. My guess is that the hostname you set is somehow getting clobbered when subsequent services start. You could try setting it in /etc/rc.d/rc.local which should run last, but that presumably requires some logic to test what your perl script has done earlier.
This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=58&topic_id=36603&post_id=159404