Bug 208884

Summary: net-mgmt/ipv6mon: rc script for multiple instances bug
Product: Ports & Packages Reporter: fmysh
Component: Individual Port(s)Assignee: Hiroki Sato <hrs>
Status: In Progress ---    
Severity: Affects Only Me CC: hrs, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (hrs)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
a patch for files/ipv6mon.in none

Description fmysh 2016-04-18 05:26:20 UTC
Created attachment 169421 [details]
a patch for files/ipv6mon.in

If ipv6mon_interfaces variable for rc script is set, command line arguments are duplicated.

ex. ipv6mon_interfaces="vlan4 vlan10 vlan20"

# ps afx | grep ipv6mon 
50146  -  S        0:00.03 /usr/local/sbin/ipv6mon -c /var/run/ipv6mon-vlan4.conf
50165  -  S        0:00.03 /usr/local/sbin/ipv6mon -c /var/run/ipv6mon-vlan4.conf -c /var/run/ipv6mon-vlan10.conf
50184  -  S        0:00.03 /usr/local/sbin/ipv6mon -c /var/run/ipv6mon-vlan4.conf -c /var/run/ipv6mon-vlan10.conf -c /var/run/ipv6mon-vlan20.conf
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-14 01:19:21 UTC
Maintainer feedback?