Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2019 16:36:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240732] net/bird2: Expose graceful restart in rc script
Message-ID:  <bug-240732-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 240732
           Summary: net/bird2: Expose graceful restart in rc script
           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: cm@appliedprivacy.net
             Flags: maintainer-feedback?(olivier@freebsd.org)
          Assignee: olivier@freebsd.org

BIRD2 supports a 'graceful restart' command since version 2.0.5.

Lets expose this functionality in a 'gracefulrestart' rc command:

"service bird gracefulrestart"

The rc script would have to invoke the following:
"birdc graceful restart"

Note: This terminates bird but does not start it again (which is a bit
counter-intuitive due to the name)!


This is useful when restarting a BGP speaker - either just the daemon (bird2
update):

"service bird gracefulrestart && service bird start"

or the entire system (kernel update):

"service bird gracefulrestart && reboot"

To make use of this, the protocols also need to be configured in bird's
configuration. Example for BGP:

graceful restart yes;
graceful restart time 300;

BGP graceful restart is defined in RFC 4724
BIRD supports it also for other protocols.

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