Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2018 09:54:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227415] net/frr: wrong path for watchfrr.pid
Message-ID:  <bug-227415-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227415

            Bug ID: 227415
           Summary: net/frr: wrong path for watchfrr.pid
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: olivier@freebsd.org
          Reporter: pautina@kharkiv.net
             Flags: maintainer-feedback?(olivier@freebsd.org)
          Assignee: olivier@freebsd.org

wachfrr starts normally, but when I executed the command status or stop, it
says:

[root@nas0 /]# /usr/local/etc/rc.d/watchfrr status
watchfrr is not running.
[root@nas0 /]#

In this case, the PID file exists:

[root@nas0 /]# ls -la /var/run/frr/watchfrr.pid
-rw-r--r--  1 root  frr  6 10 =D0=B0=D0=BF=D1=80.  10:23 /var/run/frr/watch=
frr.pid
[root@nas0 /]#

The problem in the line of this file is /usr/local/etc/rc.d/watchfrr :

pidfile=3D%%LOCALSTATE_DIR%%/watchfrr.pid

If it is replaced by: pidfile =3D/var/run/frr/watchfrr.pid - then all comma=
nds
are executed successfully.

Also, please add an example of the options for file rc.conf :

watchfrr_enable=3D"YES"
watchfrr_flags=3D" -d -r /usr/sbin/servicebBfrrbBrestartbB%s -s
/usr/sbin/servicebBfrrbBstartbB%s -k /usr/sbin/servicebBfrrbBstopbB%s -b bB=
 -t
30 zebra ospfd"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227415-7788>