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