summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INSTALL37
-rw-r--r--avahi-daemon/static-services.c2
2 files changed, 28 insertions, 11 deletions
diff --git a/INSTALL b/INSTALL
index a004758..5db5545 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,10 +1,27 @@
-* Quick install instructions (tested on debian/ubuntu only!)
-./bootstrap.sh
-./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-make
-make install
-/etc/init.d/dbus-1 restart
-
-* Note:
-On other linux distributions, the dbus initscript may be different (eg redhat /etc/init.d/messagebus).
-You need to restart dbus to make it knows about /etc/dbus-1/system.d/avahi-dbus.conf . \ No newline at end of file
+*** Quick install instructions (tested on debian/ubuntu only!) ***
+
+$ ./bootstrap.sh
+ (this will run autoconf/automake and finally ./configure
+ --prefix=/usr --sysconfdir=/etc --localstatedir=/var)
+
+$ make
+# make install
+
+# addgroup --system avahi
+# adduser --system --no-create-home --ingroup avahi avahi
+ (These commands are Debian specific and may be different on other
+ distributions)
+
+# /etc/init.d/dbus-1 restart
+ (This whill restart DBUS and avahi too)
+
+While "make" and "boostrap.sh" may be run as normal users all other commands
+need to be run is root.
+
+*** Note ***
+
+On other linux distributions, the dbus initscript may be different (eg redhat
+/etc/init.d/messagebus). You need to restart dbus to make it know about
+/etc/dbus-1/system.d/avahi-dbus.conf .
+
+$Id$
diff --git a/avahi-daemon/static-services.c b/avahi-daemon/static-services.c
index 898edf3..4e97299 100644
--- a/avahi-daemon/static-services.c
+++ b/avahi-daemon/static-services.c
@@ -591,7 +591,7 @@ void static_service_load(void) {
memset(&globbuf, 0, sizeof(globbuf));
if (glob(AVAHI_SERVICE_DIRECTORY "/*.service", GLOB_ERR, NULL, &globbuf) != 0)
- avahi_log_error("glob() failed.\n");
+ avahi_log_error("Failed to read service directory.");
else {
for (p = globbuf.gl_pathv; *p; p++)
load_file(*p);