]> git.proxmox.com Git - mirror_frr.git/blame - debian/README.Debian
*: require semicolon after DEFINE_MTYPE & co
[mirror_frr.git] / debian / README.Debian
CommitLineData
4d916382
DS
1* SAFETY MEASURES:
2==================
3
4Please consider setting this package "on hold" by typing
d8e4c438 5 echo "frr hold" | dpkg --set-selections
4d916382
DS
6and verifying this using
7 dpkg --get-selections | grep 'hold$'
8
9Setting a package "on hold" means that it will not automatically be upgraded.
10Instead apt-get only displays a warning saying that a new version would be
d8e4c438 11available forcing you to explicitly type "apt-get install frr" to upgrade it.
4d916382
DS
12
13
d8e4c438 14* What is frr?
4d916382
DS
15=================
16
d6180888 17http://www.frrouting.org/
63a79ae1
MW
18FRR is a routing software suite, providing implementations of OSPFv2,
19OSPFv3, RIP v1 and v2, RIPng, ISIS, PIM, BGP and LDP for Unix platforms, particularly
20FreeBSD and Linux and also NetBSD, to mention a few. FRR is a fork of Quagga
21which itself is a fork of Zebra.
22Zebra was developed by Kunihiro Ishiguro.
4d916382
DS
23
24
b3c4c164
DL
25* Build Profiles used in the upstream debian/
26=============================================
3b2a8d25
DL
27
28The following Build Profiles have been added:
29
600db12a 30- pkg.frr.nortrlib (pkg.frr.rtrlib)
3b2a8d25
DL
31 controls whether the RPKI module is built.
32 Will be enabled by default at some point, adds some extra dependencies.
33
3b2a8d25
DL
34- pkg.frr.nosystemd
35 Disables both systemd unit file installation as well as watchfrr sd_notify
36 support at startup. Removes libsystemd dependency.
37
38Note that all options have a "no" form; if you want to have your decision
39be sticky regardless of changes to what it defaults to, then always use one
40of the two. For example, all occurrences of <pkg.frr.rtrlib> will at some
41point be replaced with <!pkg.frr.nortrlib>.
42
43The main frr package has the exact same contents regardless of rtrlib or snmp
44choices. The options only control frr-snmp and frr-rpki-rtrlib packages.
45
46The main frr package does NOT have the same contents if pkg.frr.nosystemd is
47used. This option should only be used for systems that do not have systemd,
48e.g. Ubuntu 14.04.
49
50
5d2f5756
DL
51* Debian Policy compliance notes
52================================
53
54- 4.15 Reproducibility
55 FRR build is reproducible as outlined in version 4.2.1 of the Policy, but
56 won't be reproducible when the build directory is varied. This is because
57 configure parameters are burned into the executables which includes CFLAGS
58 like -fdebug-prefix-map=/build/directory/...
59
60
4d916382
DS
61* Daemon selection:
62===================
63
d8e4c438 64The Debian package uses /etc/frr/daemons to tell the
4d916382
DS
65initscript which daemons to start. It's in the format
66<daemon>=<yes|no|priority>
67with no spaces (it's simply source-d into the initscript).
68Default is not to start anything, since it can hose your
69system's routing table if not set up properly.
70
71Priorities were suggested by Dancer <dancer@zeor.simegen.com>.
63a79ae1 72They're used to start the FRR daemons in more than one step
4d916382 73(for example start one or two at network initialization and the
63a79ae1 74rest later). The number of FRR daemons being small, priorities
4d916382 75must be between 1 and 9, inclusive (or the initscript has to be
d8e4c438 76changed). /etc/init.d/frr then can be started as
4d916382 77
d8e4c438 78/etc/init.d/frr <start|stop|restart|<priority>>
4d916382
DS
79
80where priority 0 is the same as 'stop', priority 10 or 'start'
81means 'start all'
82
83
84* Error message "privs_init: initial cap_set_proc failed":
85==========================================================
86
87This error message means that "capability support" has to be built
88into the kernel.
89
90
91* Error message "netlink-listen: overrun: No buffer space available":
92=====================================================================
93
94If this message occurs the receive buffer should be increased by adding the
9c830772 95following to /etc/sysctl.conf and "--nl-bufsize" to /etc/frr/daemons.
4d916382
DS
96> net.core.rmem_default = 262144
97> net.core.rmem_max = 262144
63a79ae1 98See message #4525 from 2005-05-09 in the quagga-users mailing list.
4d916382
DS
99
100
101* vtysh immediately exists:
102===========================
103
d8e4c438 104Check /etc/pam.d/frr, it probably denies access to your user. The passwords
685e701e 105configured in /etc/frr/frr.conf are only for telnet access.
4d916382 106
9201c39f
OS
107
108 -- Ondřej Surý <Ondřej Surý <ondrej@debian.org>>, Fri, 3 Jul 2020 12:39:42 +0200