Subject: misc/25006: ipmon | '-D' command argument in /etc/rc.d/ipmon
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/01/2004 11:03:20
>Number:         25006
>Category:       misc
>Synopsis:       ipmon | '-D' command argument in /etc/rc.d/ipmon
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 01 09:04:00 UTC 2004
>Originator:     Fabian Duelli
>Release:        NetBSD 1.6.2
System: NetBSD 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Feb 10 21:53:10 UTC 2004 i386
Architecture: i386
Machine: i386
by default ipmon gets started with '-ns' plus '-D' due the
command_args in /etc/rc.conf/ipmon. that's ok until you change the ipmon_flags
to something like '-n /var/log/ipf.log', then the '-D' in /etc/rc.d/ipmon gets
overridden, because the filename must be the last argument, and ipmon doesnt start in daemon mode.

set the ipmon_flags in /etc/rc.conf to '-n ipf.log' and enter
	/etc/rc.d/ipmon restart

- command_args="-D"

- ipmon=NO	ipmon_flags="-ns"
+ ipmon=NO	ipmon_flags="-Dns"