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

Seblu seblu at seblu.net
Thu Mar 31 20:54:47 EDT 2011


On Wed, Mar 30, 2011 at 8:01 PM, Tom Gundersen <teg at jklm.no> wrote:
> If this bug is still present (after more than 4 years) it should be
> reported and fixed in syslog-ng.
You win a BOFH point :)

Another point: Are there people that still use NIS?

>
> 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
>
>



-- 
Sébastien Luttringer
www.seblu.net


More information about the arch-projects mailing list