Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2021 14:18:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254363] net/frr7: empty rcvar in startup script
Message-ID:  <bug-254363-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 254363
           Summary: net/frr7: empty rcvar in startup script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: olivier@freebsd.org
          Reporter: fault.seg@laposte.net
             Flags: maintainer-feedback?(olivier@freebsd.org)
          Assignee: olivier@freebsd.org

Port: net/frr7

The startup script sets an empty $rcvar:

  rcvar=3D$name_enable

Maybe I am wrong, but I think that "name" should be placed between curly
brackets:

  rcvar=3D${name}_enable

This would prevent the following warnings:

# /etc/rc.d/routing start
/etc/rc.d/routing: WARNING: $ is not set properly - see rc.conf(5).
[...]

Thanks in advance for your feedback Olivier !

Best regards,

Mattieu

--=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-254363-7788>