[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#721446: nfsiod: Init script needs output formatting.



Package: freebsd-nfs-common
Version: 9.0+ds1-11~deb7u1
Severity: normal
Tags: patch

As nfsiod is started the executable emits some text.
This upsets the message flow crafted by log_msg_*.
The following patch silences that glitch.

Regards,
  Mats Erik Andersson, DM
--- etc/init.d/nfsiod.orig	2013-03-18 10:32:55.000000000 +0000
+++ etc/init.d/nfsiod	2013-08-25 23:30:10.000000000 +0000
@@ -43,7 +43,7 @@
 	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
 		|| return 1
 	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
-		$DAEMON_ARGS \
+		$DAEMON_ARGS > /dev/null \
 		|| return 2
 	# Add code here, if necessary, that waits for the process to be ready
 	# to handle requests from services started subsequently which depend

Reply to: