[arch-projects] [PATCH 06/10] workaround: do not unset NIS on shutdown

Tom Gundersen teg at jklm.no
Wed Mar 30 14:01:27 EDT 2011


If this bug is still present (after more than 4 years) it should be
reported and fixed in syslog-ng.

Signed-off-by: Tom Gundersen <teg at jklm.no>
---
 rc.shutdown |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/rc.shutdown b/rc.shutdown
index 4c5a3f8..106c3df 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -15,8 +15,6 @@ echo " "
 printhl "Initiating Shutdown..."
 echo " "
 
-# avoid NIS hanging syslog-ng on shutdown by unsetting the domainname
-[[ -x /bin/domainname ]] && /bin/domainname ""
 [[ -x /etc/rc.local.shutdown ]] && /etc/rc.local.shutdown
 
 kill_everything shutdown
-- 
1.7.4.2



More information about the arch-projects mailing list