NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/52701: rtadvd logs thousands of syslog messages
The following reply was made to PR bin/52701; it has been noted by GNATS.
From: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
To: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
Andreas Gustafsson <gson%gson.org@localhost>
Subject: Re: bin/52701: rtadvd logs thousands of syslog messages
Date: Mon, 6 Nov 2017 19:58:55 +0900
On Sun, Nov 5, 2017 at 11:50 PM, J. Hannken-Illjes
<hannken%eis.cs.tu-bs.de@localhost> wrote:
> The following reply was made to PR bin/52701; it has been noted by GNATS.
>
> From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: bin/52701: rtadvd logs thousands of syslog messages
> Date: Sun, 5 Nov 2017 15:48:07 +0100
>
> --Apple-Mail=_D998CD31-DB37-4159-9C9D-F768E4B92A7D
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
> charset=us-ascii
>
> For some time I have this local change and it helped me a lot.
Thanks. I added similar cleanup codes to the tests.
I think that the real fix is to suppress rtadvd on a rump kernel
from dumping logs to the host, but I have no idea how to do it.
ozaki-r
>
> --
> J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)
>
> --Apple-Mail=_D998CD31-DB37-4159-9C9D-F768E4B92A7D
> Content-Disposition: attachment;
> filename=t_ra.diff
> Content-Type: application/octet-stream;
> x-unix-mode=0644;
> name="t_ra.diff"
> Content-Transfer-Encoding: 7bit
>
> Index: t_ra.sh
> ===================================================================
> RCS file: /cvsroot/src/tests/net/ndp/t_ra.sh,v
> retrieving revision 1.29
> diff -p -u -2 -r1.29 t_ra.sh
> --- t_ra.sh 22 Jun 2017 09:56:48 -0000 1.29
> +++ t_ra.sh 5 Nov 2017 14:46:30 -0000
> @@ -288,4 +288,8 @@ ra_flush_prefix_entries_cleanup()
> {
>
> + if [ -f ${PIDFILE} ]; then
> + kill -TERM `cat ${PIDFILE}`
> + wait_term ${PIDFILE}
> + fi
> $DEBUG && dump
> cleanup
> @@ -345,4 +349,8 @@ ra_flush_defrouter_entries_cleanup()
> {
>
> + if [ -f ${PIDFILE} ]; then
> + kill -TERM `cat ${PIDFILE}`
> + wait_term ${PIDFILE}
> + fi
> $DEBUG && dump
> cleanup
> @@ -772,4 +780,8 @@ ra_defrouter_expiration_cleanup()
> {
>
> + if [ -f ${PIDFILE} ]; then
> + kill -TERM `cat ${PIDFILE}`
> + wait_term ${PIDFILE}
> + fi
> $DEBUG && dump
> cleanup
> @@ -837,4 +849,8 @@ ra_prefix_expiration_cleanup()
> {
>
> + if [ -f ${PIDFILE} ]; then
> + kill -TERM `cat ${PIDFILE}`
> + wait_term ${PIDFILE}
> + fi
> $DEBUG && dump
> cleanup
>
> --Apple-Mail=_D998CD31-DB37-4159-9C9D-F768E4B92A7D--
>
Home |
Main Index |
Thread Index |
Old Index