mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 15:51:32 +00:00
*: get rid of most daemons.conf references
There's a few left over to get compatibility and not break user installs, but most is gone. Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
ea4d91bfba
commit
9c830772cd
@ -23,7 +23,7 @@ makedepends="ncurses-dev net-snmp-dev gawk texinfo perl
|
||||
checkdepends="pytest py-setuptools"
|
||||
install="$pkgname.pre-install $pkgname.pre-deinstall $pkgname.post-deinstall"
|
||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
|
||||
source="$pkgname-$pkgver.tar.gz docker-start daemons daemons.conf"
|
||||
source="$pkgname-$pkgver.tar.gz docker-start daemons"
|
||||
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
|
||||
@ -62,7 +62,6 @@ package() {
|
||||
|
||||
install -Dm755 "$srcdir"/docker-start "$pkgdir"$_sbindir
|
||||
install -Dm644 "$srcdir"/daemons "$pkgdir"$_sysconfdir
|
||||
install -Dm644 "$srcdir"/daemons.conf "$pkgdir"$_sysconfdir
|
||||
install -d "$pkgdir"/etc/init.d
|
||||
ln -s ${_sbindir}/frr "$pkgdir"/etc/init.d/frr
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ into the kernel.
|
||||
=====================================================================
|
||||
|
||||
If this message occurs the receive buffer should be increased by adding the
|
||||
following to /etc/sysctl.conf and "--nl-bufsize" to /etc/frr/daemons.conf.
|
||||
following to /etc/sysctl.conf and "--nl-bufsize" to /etc/frr/daemons.
|
||||
> net.core.rmem_default = 262144
|
||||
> net.core.rmem_max = 262144
|
||||
See message #4525 from 2005-05-09 in the quagga-users mailing list.
|
||||
|
@ -85,7 +85,6 @@ startup. To configure by hand:
|
||||
|
||||
docker exec -it frr /bin/sh
|
||||
vi /etc/frr/daemons
|
||||
vi /etc/frr/daemons.conf
|
||||
cp /etc/frr/zebra.conf.sample /etc/frr/zebra.conf
|
||||
vi /etc/frr/zebra.conf
|
||||
/etc/init.d/frr start
|
||||
|
@ -158,7 +158,6 @@ Install the init.d service
|
||||
|
||||
sudo install -m 755 tools/frr /etc/init.d/frr
|
||||
sudo install -m 644 tools/etc/frr/daemons /etc/frr/daemons
|
||||
sudo install -m 644 tools/etc/frr/daemons.conf /etc/frr/daemons.conf
|
||||
sudo install -m 644 -o frr -g frr tools/etc/frr/vtysh.conf /etc/frr/vtysh.conf
|
||||
|
||||
Enable daemons
|
||||
|
@ -112,7 +112,6 @@ Install the init.d service
|
||||
|
||||
sudo install -m 755 tools/frr /etc/init.d/frr
|
||||
sudo install -m 644 tools/etc/frr/daemons /etc/frr/daemons
|
||||
sudo install -m 644 tools/etc/frr/daemons.conf /etc/frr/daemons.conf
|
||||
sudo install -m 644 -o frr -g frr tools/etc/frr/vtysh.conf /etc/frr/vtysh.conf
|
||||
|
||||
Enable daemons
|
||||
|
@ -139,9 +139,7 @@ Install the systemd service (if rebooted from last step, change directory back t
|
||||
::
|
||||
|
||||
sudo install -m 644 tools/frr.service /etc/systemd/system/frr.service
|
||||
sudo install -m 644 tools/etc/default/frr /etc/default/frr
|
||||
sudo install -m 644 tools/etc/frr/daemons /etc/frr/daemons
|
||||
sudo install -m 644 tools/etc/frr/daemons.conf /etc/frr/daemons.conf
|
||||
sudo install -m 644 tools/etc/frr/frr.conf /etc/frr/frr.conf
|
||||
sudo install -m 644 -o frr -g frr tools/etc/frr/vtysh.conf /etc/frr/vtysh.conf
|
||||
|
||||
|
@ -203,9 +203,7 @@ Install the systemd service
|
||||
::
|
||||
|
||||
sudo install -m 644 tools/frr.service /etc/systemd/system/frr.service
|
||||
sudo install -m 644 tools/etc/default/frr /etc/default/frr
|
||||
sudo install -m 644 tools/etc/frr/daemons /etc/frr/daemons
|
||||
sudo install -m 644 tools/etc/frr/daemons.conf /etc/frr/daemons.conf
|
||||
sudo install -m 644 tools/etc/frr/frr.conf /etc/frr/frr.conf
|
||||
sudo install -m 644 -o frr -g frr tools/etc/frr/vtysh.conf /etc/frr/vtysh.conf
|
||||
|
||||
|
@ -67,17 +67,17 @@ Enabling RPKI
|
||||
to configure at least one reachable cache server. See section
|
||||
:ref:`configuring-rpki-rtr-cache-servers` for configuring a cache server.
|
||||
|
||||
.. index:: RPKI and daemons.conf
|
||||
.. index:: RPKI and daemons
|
||||
|
||||
When first installing FRR with RPKI support from the pre-packaged binaries.
|
||||
Remember to add ``-M rpki`` to the variable ``bgpd_options`` in
|
||||
:file:`/etc/frr/daemons.conf` , like so::
|
||||
:file:`/etc/frr/daemons` , like so::
|
||||
|
||||
bgpd_options=" --daemon -A 127.0.0.1 -M rpki"
|
||||
bgpd_options=" -A 127.0.0.1 -M rpki"
|
||||
|
||||
instead of the default setting::
|
||||
|
||||
bgpd_options=" --daemon -A 127.0.0.1"
|
||||
bgpd_options=" -A 127.0.0.1"
|
||||
|
||||
Otherwise you will encounter an error when trying to enter RPKI
|
||||
configuration mode due to the ``rpki`` module not being loaded when the BGP
|
||||
|
@ -41,7 +41,7 @@ Daemons Configuration File
|
||||
--------------------------
|
||||
There is another file that controls the default options passed to daemons when
|
||||
starting FRR as a service. This file is located in your configuration
|
||||
directory, usually at :file:`/etc/frr/daemons.conf`.
|
||||
directory, usually at :file:`/etc/frr/daemons`.
|
||||
|
||||
This file has several parts. Here is an example:
|
||||
|
||||
|
@ -1,10 +0,0 @@
|
||||
MAX_INSTANCES=5
|
||||
MAX_FDS=1024
|
||||
ZEBRA_OPTIONS="-s 16777216 -A 127.0.0.1"
|
||||
BGPD_OPTIONS="-A 127.0.0.1"
|
||||
OSPFD_OPTIONS="-A 127.0.0.1"
|
||||
OSPF6D_OPTIONS="-A ::1"
|
||||
RIPD_OPTIONS="-A 127.0.0.1"
|
||||
RIPNGD_OPTIONS="-A ::1"
|
||||
ISISD_OPTIONS="-A 127.0.0.1"
|
||||
EIGRP_OPTIONS="-A 127.0.0.1"
|
@ -29,3 +29,37 @@ sharpd=no
|
||||
pbrd=no
|
||||
bfdd=no
|
||||
fabricd=no
|
||||
|
||||
#
|
||||
# If this option is set the /etc/init.d/frr script automatically loads
|
||||
# the config via "vtysh -b" when the servers are started.
|
||||
# Check /etc/pam.d/frr if you intend to use "vtysh"!
|
||||
#
|
||||
vtysh_enable=yes
|
||||
zebra_options=" -A 127.0.0.1 -s 90000000"
|
||||
bgpd_options=" -A 127.0.0.1"
|
||||
ospfd_options=" -A 127.0.0.1"
|
||||
ospf6d_options=" -A ::1"
|
||||
ripd_options=" -A 127.0.0.1"
|
||||
ripngd_options=" -A ::1"
|
||||
isisd_options=" -A 127.0.0.1"
|
||||
pimd_options=" -A 127.0.0.1"
|
||||
ldpd_options=" -A 127.0.0.1"
|
||||
nhrpd_options=" -A 127.0.0.1"
|
||||
eigrpd_options=" -A 127.0.0.1"
|
||||
babeld_options=" -A 127.0.0.1"
|
||||
sharpd_options=" -A 127.0.0.1"
|
||||
pbrd_options=" -A 127.0.0.1"
|
||||
staticd_options="-A 127.0.0.1"
|
||||
bfdd_options=" -A 127.0.0.1"
|
||||
fabricd_options="-A 127.0.0.1"
|
||||
|
||||
# The list of daemons to watch is automatically generated by the init script.
|
||||
watchfrr_options="-r '/usr/lib/frr/watchfrr.sh restart %s' -s '/usr/lib/frr/watchfrr.sh start %s' -k '/usr/lib/frr/watchfrr.sh stop %s'"
|
||||
|
||||
# for debugging purposes, you can specify a "wrap" command to start instead
|
||||
# of starting the daemon directly, e.g. to use valgrind on ospfd:
|
||||
# ospfd_wrap="/usr/bin/valgrind"
|
||||
# or you can use "all_wrap" for all daemons, e.g. to use perf record:
|
||||
# all_wrap="/usr/bin/perf record --call-graph -"
|
||||
# the normal daemon command is added to this at the end.
|
||||
|
@ -1,33 +1 @@
|
||||
#
|
||||
# If this option is set the /etc/init.d/frr script automatically loads
|
||||
# the config via "vtysh -b" when the servers are started.
|
||||
# Check /etc/pam.d/frr if you intend to use "vtysh"!
|
||||
#
|
||||
vtysh_enable=yes
|
||||
zebra_options=" -A 127.0.0.1 -s 90000000"
|
||||
bgpd_options=" -A 127.0.0.1"
|
||||
ospfd_options=" -A 127.0.0.1"
|
||||
ospf6d_options=" -A ::1"
|
||||
ripd_options=" -A 127.0.0.1"
|
||||
ripngd_options=" -A ::1"
|
||||
isisd_options=" -A 127.0.0.1"
|
||||
pimd_options=" -A 127.0.0.1"
|
||||
ldpd_options=" -A 127.0.0.1"
|
||||
nhrpd_options=" -A 127.0.0.1"
|
||||
eigrpd_options=" -A 127.0.0.1"
|
||||
babeld_options=" -A 127.0.0.1"
|
||||
sharpd_options=" -A 127.0.0.1"
|
||||
pbrd_options=" -A 127.0.0.1"
|
||||
staticd_options="-A 127.0.0.1"
|
||||
bfdd_options=" -A 127.0.0.1"
|
||||
fabricd_options="-A 127.0.0.1"
|
||||
|
||||
# The list of daemons to watch is automatically generated by the init script.
|
||||
watchfrr_options="-r '/usr/lib/frr/watchfrr.sh restart %s' -s '/usr/lib/frr/watchfrr.sh start %s' -k '/usr/lib/frr/watchfrr.sh stop %s'"
|
||||
|
||||
# for debugging purposes, you can specify a "wrap" command to start instead
|
||||
# of starting the daemon directly, e.g. to use valgrind on ospfd:
|
||||
# ospfd_wrap="/usr/bin/valgrind"
|
||||
# or you can use "all_wrap" for all daemons, e.g. to use perf record:
|
||||
# all_wrap="/usr/bin/perf record --call-graph -"
|
||||
# the normal daemon command is added to this at the end.
|
||||
# this file is deprecated, please use "daemons" instead.
|
||||
|
Loading…
Reference in New Issue
Block a user