summaryrefslogtreecommitdiffstats
path: root/debian (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | "quagga reload" needs python-ipaddr, but it isn't a pkg dependencyDaniel Walton2016-06-021-1/+1
| | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-10563
* | debian: Add pimd to logrotate scriptDonald Sharp2016-05-271-1/+1
| | | | | | | | | | | | | | | | Add pimd to the log rotate script so that the USR1 signal can be sent to pimd to tell it to rotate the log. Ticket: CM-11253 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | debian: Add test_igmpv3_join to packagingDonald Sharp2016-05-271-0/+1
| | | | | | | | | | | | Add the test_igmpv3_join program to packaging. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | Fixup of Code to allow pimd to actually run on startupDonald Sharp2016-05-261-1/+1
|/ | | | | Fixup of various control files to allow quagga to startup properly with pimd actually part of the set
* debian: Fix changelogDonald Sharp2016-05-101-475/+44
| | | | | | Fixup Changelog Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Update changelogDonald Sharp2016-05-061-5/+487
| | | | | | Fix the changelog to show what we are releasing Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Debian fixupsDonald Sharp2016-05-026-940/+4
| | | | | | | | | | | | | | | This commit does two things: 1) Fixes package name to have ...+cl3u1 2) Allows the build to determine if we are building a debian package on a init.d or systemd style system and to do the right thing. 3) Fixed quagga service file naming Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Dave Olson <olson@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* debian: Attempt to fix parrelizationDonald Sharp2016-04-271-0/+8
| | | | | | | | This commit fixes some quagga build issues such that you can now use -j in your sbuild line. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Jon Toppins <toppins@cumulusnetworks.com>
* quagga: Fixup startup to allow consistency between sysV and systemdDonald Sharp2016-04-2712-191/+68
| | | | | | | | | | | | | | | | | | | We want the ability to start up quagga in a varied set of environments. This needs to be done in SysV and systemd startups. As such refactor the code to allow us to allow end users to easily switch between the two sysV: edit the /etc/quagga/daemons file service quagga [start|stop|reload|restart] Systemd: edit the /etc/quagga/daemons file systemctl [start|stop|reload|restart] quagga Ticket: CM-10634 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* debian: Remove /usr/bin/quagga from distributionDonald Sharp2016-04-159-9/+0
| | | | | | | | | | We've decided to remove /usr/bin/quagga from the quagga packaging. It was only going to confuse the end user. Ticket: CM-10456 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
* debian: Add the creation of the quagga user to quaggavty groupDonald Sharp2016-04-131-1/+8
| | | | | | | | | | | The creation of the quagga user was not the only place to add the quagga user to the quaggavty group. If we are reinstalling quagga over a old version of code then we need to check to see if the quagga user is in the quaggavty and do the right thing. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Dave Olson <olson@cumulusnetworks.com>
* debian: Modify preinst to add quagga user to quaggavty groupDonald Sharp2016-04-091-0/+1
| | | | | | | The quagga user was not being added to the quaggavty group. Modify the user creation to add this step. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Add ability to call reload from systemctlDonald Sharp2016-04-078-0/+8
| | | | | | | Add the ability to call 'systemctl reload <daemon>'. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
* doc: Update man page for Quagga systemctl scriptDonald Sharp2016-03-101-0/+1
| | | | | | | | Create the man page for the quagga systemctl script. Ticket: CM-9748 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
* debian: Turn on Poll usageDonald Sharp2016-03-041-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Fixup install location of quaggaDonald Sharp2016-03-038-8/+8
| | | | | | | | | | | | Fix the install location of the quagga script to /usr/bin/quagga. Additionally reset restart controls to a more normal level in the service files. Ticket: CM-9492 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* debian: Remove some unnecesary files from debian directory.Donald Sharp2016-03-013-55/+0
| | | | | | | | | | The daemons file is no longer needed as well as the debian.conf file. They have been subsumed by the systemd initialization methodology. Ticket: CM-9581 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* debian: Fixup removal of .pid and .vty filesDonald Sharp2016-02-238-8/+24
| | | | | | | | | | | | | | The <daemon>.pid and <daemon>.vty files were not being removed on shutdown. This was causing issues w/ logrotate becaue it depends on pid files being correct about what is running in order to not error out. Fixed some additional debugs accidently left in the quagga script. Ticket: CM-9293 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* debian: Revamp startup againsharpd2016-02-2310-45/+9
| | | | | | | | | | | | | | Remove quagga.service, it was a bad idea culminating in a series of mistakes. Replaced with /usr/lib/quagga/quagga script. Use this script to start/stop quagga as a whole. Ticket: CM-9445 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Dave Olson <olson@cumulusnetworks.com>
* Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga ↵Donald Sharp2016-02-2310-7/+16
|\ | | | | | | into cmaster
| * debian: Fixup 'systemctl restart quagga'sharpd2016-02-2210-7/+16
| | | | | | | | | | | | | | | | | | The ability to restart was just restarting all daemons. Modify code so that only daemons running *or* enabled are started. Ticket: CM-9384 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | debian, config, zebra: Ensure Cumulus Extensions are not auto turned onDonald Sharp2016-02-231-0/+1
|/ | | | | | | | There exist cases where Cumulus Code( in this case code surrounding when we want to send Router Advertisements ) should only be turned on for Cumulus Switches. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Fix up some issues Dave pointed out and Fix Multi-Instance OSPFsharpd2016-02-167-1/+29
| | | | | | | | | Address some start/stop issues that Dave has pointed out, in addition add the ability to work with multi-instance ospf. Ticket: CM-9298 Reviewed-by: Dave Olson Testing: By hand and passed to Atul for further testing
* debian: Add reload abilitysharpd2016-02-121-0/+2
| | | | | | | | | Add the ability to issue 'systemctl reload quagga' and for it to reload the quagga configuration. Ticket: CM-9286 Reviewed-by: Daniel Walton Testing: Manual
* debian: Temporary fix to get quagga services runningsharpd2016-02-128-9/+9
| | | | | | | | Modify quagga startup control files to allow for temporary startup while we iron out the network.target details Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* quagga: remove babelDaniel Walton2016-02-1112-153/+2
| | | | | | | | Ticket: CM-9274 Reviewed By: sharpd@cumulusnetworks.com Testing Done: <DETAILED DESCRIPTION (REPLACE)>
* Build was broken if systemd was not installedDaniel Walton2016-02-101-1/+1
| | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Add Systemd integration to control filesDonald Sharp2016-02-1015-559/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ticket: Reviewed By: inprogress Testing Done: minimal. Built, installed, started a few services. This is in progress testing. quagga.service tries to start and stop all the routing daemons. There is no check for whether they are enabled via /etc/quagga/daemons (yet). As installed, nothing is enabled (won't start on system boot or install). The -A 127.0.0.1 is now in /etc/default/quagga, and picked up from there by all routing daemons. MAX_FDS is in all the service files for now as LimitNOFILE. Users who need to modified the number of fd's will use e.g. the file /etc/systemd/system/bgpd.service.d/maxfds.conf to override bgpd.service contents [Service] LimitNOFILE=2048 MAX_INSTANCES isn't implemented yet. reload isn't implemented yet (it should be possible via ExecReload in the services, just not done yet). The init.d file is removed. All of the daemons are started without the -d/--daemonize option, and use Type=simple rather than forking in the services file, to use the systemd daemonizing. All the daemons were set to have a 1m start time, and restart up to 3 times in 3 minutes, and for now, are only restart on-abnormal, not always (we'll likely want the latter, but testing is easier with abnormal). Also use tmpfiles.d to create /run/quagga For now, we leave dh_installinit, even though it creates unneeded update-rc.d calls, and causes lintian complaints about init.d files that aren't present, so that it installs files like etc/default/quagga. It also runs the tmpfiles.d commands for us, so we need to add those to postinst if we dummy it out to fix the update-rc.d lines being added (and lintian complaints). Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Remove 'Do you want to stop Quagga' QuestionDonald Sharp2016-02-032-19/+0
| | | | | | | | | During the upgrade process of quagga, the user is asked if they would like to stop quagga. There is no point in asking this question. The fact that you are upgrading means you are willing for a service interruption. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* debian: Use 256 multipathsDonald Sharp2016-01-271-1/+1
| | | | | | | | Turn on the ability for Quagga to use 256 multipaths Ticket: CM-8098 Reviewed-by: Daniel Walton and Don Slice Testing: Hand tested
* debian: Remove unnecessary dependency on cl-utiltiesDonald Sharp2015-12-161-1/+1
| | | | | | | | | | | | | | | | | The cl-utilities dependency were causing issues in two situations: A) The cl-utilities package name has been changed but the quagga cmaster branch was being built on two different branches, one with the old name, one with the new name B) People installing quagga on non-cumulus switches were experiencing issues due to cl-utilities not being installed. This was especially true if they built quagga from our source code. We only need cl-utilities for the startt-stop-daemon wrapper so that we could have jdoo watch watchquagga. This is not a big deal if people are missing this. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* Debian: Fixup build issues with switch to 3.0Donald Sharp2015-12-023-36/+36
| | | | | | | | | Modify the build type from patch to git Fix the rules: spaces to tabs these were causing build issues Add some additional dependent packages Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Alex Doyle <adoyle@cumulusnetworks.com>
* debian: Modify Quagga cumulus version in debian packagingDonald Sharp2015-11-051-1/+1
| | | | | | | | | Modify the debian packaging to 3.0 for cmaster branch Ticket: CM-8106 Reviewed by: CCR-3755 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* Debian: Track dependencies so that rebuilds can work rightDonald Sharp2015-10-231-1/+2
| | | | | | | Not the debian way, I know. But cause the debian build to create and follow dependencies. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* Quagga: Display useful info when doing service quagga statusvivek2015-10-211-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ticket: CM-7132 Reviewed By: CCR-3461 Testing Done: the usual Today, 'service quagga status' merely sets the return code and nothing more. Like other services, it'd be good to print some useful output as well. Example output: cumulus@top1$ sudo service quagga status ospfd [ ok ] ospfd-1 is running. [ ok ] ospfd-2 is running. cumulus@top1$ sudo service quagga status [ ok ] zebra is running. [ ok ] ospfd-1 is running. [ ok ] ospfd-2 is running. [ ok ] ospf6d is running. cumulus@top1$ sudo service quagga status [ ok ] zebra is running. [ ok ] ospfd-1 is running. [FAIL] ospfd-2 is not running ... failed! [ ok ] ospf6d is running. cumulus@top1$ echo $? 1 cumulus@top1$ Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
* 'service quagga reload' is no longer experimentalDaniel Walton2015-09-012-6/+0
| | | | | | Ticket: CM-7305 Reviewed By: sharpd@cumulusnetworks.co Testing Done:
* Cause warnings to not build correctly in debian packagingDonald Sharp2015-07-261-0/+1
|
* Some more missing changesDonald Sharp2015-07-221-0/+1
|
* Call of quagga-reload.py does not return error codeDonald Sharp2015-07-221-0/+1
|
* quagga-fix-stop-vty.patchDonald Sharp2015-07-221-1/+1
| | | | | | When stopping quagga, we do not wait for quagga to finish shutting down before we start attempting to delete the sockets for the various protocols.
* watchquagga-mode-3-fix.patchDonald Sharp2015-07-221-2/+2
| | | | | | | | | | | | | | | | Watchquagga: In phased restart with zebra, invoke restart all when zebra dies To correctly handle starting and stopping of individual daemons not affecting watchquagga's monitoring, we resorted to fixing up watchquagga's daemon watch list every time a daemon was started or stopped. This was done by restarting watchquagga itself. This meant the handling of phased restart of individual daemons was broken in watchquagga as it attempted to stop daemons individually before starting them all individually. Fix this by restarting all when this happens. This does make mode 4 indistinguishable from mode 1, but I don't understood the point of mode 4 and we don't think users change watchquagga modes. Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com>
* Fix of debian compile to actually build some needed documentationDonald Sharp2015-05-221-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* quagga: vtysh-integrated-fix.patchDonald Sharp2015-05-201-15/+29
| | | | | | Fixup to allow 'no service-integrated-vtysh' to work properly and vice versa Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by:
* debian: modify quagga pkg depend on cl-utilities pkgDonald Sharp2015-05-201-1/+1
| | | | | | Modified debian/control file to list as a dependency the cl-utilities package as the cl-utilities package provides start-stop-monitor which is needed by quagga to be monitored correctly.
* quagga: quagga-debian-upgrade.patchDonald Sharp2015-05-202-1/+1
| | | | | | debian: The upgrade is failing due to missing files Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by:
* quagga: quagga-startup-fds.patchDonald Sharp2015-05-202-1/+4
| | | | | | Setup default number of filedescriptors allowed in quagga defaults and ulimit calls Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by:
* rename monit to jdooDonald Sharp2015-05-202-1/+1
|
* initd-status.patchDonald Sharp2015-05-201-6/+49
| | | | | | | | | | | | | | Add support for service quagga status. As per LSB initscript status code definitions, support is added for querying status of quagga. All daemons supposed to have been enabled, will be checked as running and if any one of them is found to be not running, the appropriate status code is returned. Note that if watchquagga is running, a status indicating a problem maybe a trasient problem because watchquagga will start back an unresponsive or dead process. http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
* initd-reload.patchDonald Sharp2015-05-203-0/+18
| | | | | | | | | init.d: Add reload option Add an option to apply only modifications to running configuration from the specified configuration file. The default modification file is /etc/quagga/Quagga.conf. A new script, quagga-reload.py, has been added to the tools directory.
* Have monit monitor the watchquagga daemon in case it dies.Donald Sharp2015-05-202-0/+5
|