1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00
Commit Graph

104 Commits

Author SHA1 Message Date
Julien Fortin
3421d6b790 debian: changelog: rebuild for jessie-backports.
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
debian-upload-20160525-1_bpo8+1
2016-06-02 12:43:51 +01:00
Julien Fortin
922009f8c8 debian: ifupdown2.preinst: rm file plus rmdir instead of rm -rf
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-06-02 12:30:42 +01:00
Julien Fortin
526bee3903 debian: lintian fixes
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
debian-upload-20160525-1
2016-05-25 02:40:00 +02:00
Julien Fortin
d3ec4663a7 Update changelog with new release
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-05-25 01:52:34 +02:00
Julien Fortin
e894995a47 debian: ifupdown2.preinst fix dpkg-maintscript-helper
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-26 03:06:33 +01:00
Julien Fortin
c03ce8a0eb debian: Fix incorrect install location of networking default file
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-26 03:01:05 +01:00
Julien Fortin
a027ff709b Revert "debian: changelog: Rebuild for jessie-backports."
This reverts commit 3261713540.

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-18 00:38:43 +01:00
Julien Fortin
3261713540 debian: changelog: Rebuild for jessie-backports.
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-18 00:30:32 +01:00
Julien Fortin
3f4f817f6e Update changelog with new release
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
debian-upload-20160316-1
2016-03-17 17:45:28 +01:00
Julien Fortin
648a8c15c0 Detect and ignore the ether keyword in /etc/network/interface
Current supported syntax: "hwaddress [ether] 01:02:03:04:05:06"

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-16 19:42:39 +01:00
Julien Fortin
c69860ceee Update changelog with new release
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-16 17:54:35 +01:00
Julien Fortin
ba3f377a29 debian: copyright: Replacing Sam with Julien as upstream-contact
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-16 17:09:38 +01:00
Julien Fortin
752649b7ac debian: control: updating Standards-Version to 3.9.7
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-16 16:44:47 +01:00
Roopa Prabhu
1e1de6a845 debian: control: fix lintian comment length warning
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2016-03-15 10:45:56 -07:00
Roopa Prabhu
750a6b6cb9 Update changelog with new release 2016-03-15 10:31:36 -07:00
Roopa Prabhu
883a9cd3cc debian: control: add julien as maintainer
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2016-03-15 10:26:30 -07:00
Roopa Prabhu
c1b110e3bf networkinterfaces: fix is_keyword to not match attribute names with keywords in them
Testing Done: Tested with vlan device with vlan-raw-device in interfaces
file

also reported here: https://github.com/CumulusNetworks/ifupdown2/issues/10

is_keyword was matching iface attribute 'vlan-raw-device' to the vlan
keyword and dropping it from ifaceobj config.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-11 02:27:02 +01:00
Roopa Prabhu
8619cc83c9 ifupdownaddons: fix parsing of vlan attributes
Testing Done: Tested with a config with vlan-raw-device

'ip -o -d link show' introduced a new attribute between
'vlan and id'. This makes the move to json or netlink
even more necessary.

The fixes were done for the following format:
61: vlan100@swp1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UP mode DEFAULT group default \    link/ether
00:e0:ec:27:4e:b7 brd ff:ff:ff:ff:ff:ff promiscuity 0 \    vlan protocol
802.1Q id 100 <REORDER_HDR> addrgenmode eui64

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-03-11 02:23:02 +01:00
Julien Fortin
a52360a086 Fixing Debian Bug report - #813046 ifupdown2: No network connection on startup
Ticket:
Reviewed By: Julien
Testing Done: Changed the /lib/systemd/system/networking.service then reboot

Following Sam solution posted on the bug report :
Adding "RemainAfterExit=yes" in the [Services] section of /lib/systemd/system/networking.service
2016-03-10 21:55:44 +01:00
Roopa Prabhu
34a103ce89 Update changelog with new release debian-upload-20151029-1 2015-10-26 09:05:21 -07:00
Roopa Prabhu
339f3e52c8 bridgeutils: build cache only if bridge-utils is installed 2015-10-26 09:04:27 -07:00
Roopa Prabhu
878ee1f0dc addon modules: handle unsupported modules
Example: If /sbin/ethtool is not installed dont run the
ethtool addon module.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-10-26 08:07:21 -07:00
Roopa Prabhu
3a131c0cea ifupdown: change location of lockfile to /tmp/
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-10-26 08:07:21 -07:00
Roopa Prabhu
d38d6fea7f templates: Disable template execution by default
User will have to enable it by enabling it in /etc/network/ifupdown2.conf
template_enable=1

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-10-26 08:05:49 -07:00
Roopa Prabhu
52681dd279 debian: move /etc/network/interfaces.d creation from postinst script to debian/dirs
Closes debian bug #801915

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
debian-upload-20150917-2
2015-09-18 17:40:50 -07:00
Roopa Prabhu
8e28c8f85d Revert "update changelog with new fix for #801915"
This reverts commit d646021375.
2015-09-18 17:37:23 -07:00
Roopa Prabhu
509e563e67 Revert "debian: move /etc/network/interfaces.d creation from postinst script to debian/dirs"
This reverts commit 3cd5fd0e9c.
2015-09-18 17:37:09 -07:00
Roopa Prabhu
d646021375 update changelog with new fix for #801915 2015-09-18 14:09:55 -07:00
Roopa Prabhu
3cd5fd0e9c debian: move /etc/network/interfaces.d creation from postinst script to debian/dirs
Closes debian bug #801915

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-09-18 08:54:10 -07:00
Roopa Prabhu
5b6112d46a Update changelog to todays date debian-upload-20150917 2015-09-17 13:28:03 -07:00
Roopa Prabhu
0ffcb6e4d3 check for udev files before acting on them 2015-09-10 10:36:13 -07:00
Roopa Prabhu
24c565714b Add ExecStop to ifupdown2 systemd init file 2015-09-09 06:37:36 -07:00
Roopa Prabhu
c6e800c5c7 add missing systemd init networking script 2015-09-05 22:00:08 -07:00
Roopa Prabhu
7843a370c7 add systemd networking.service in response to the following lintian warning
E: ifupdown2: systemd-no-service-for-init-rcS-script networking
N:
N:    The rcS init.d script has no systemd equivalent.
N:
N:    Systemd has a SysV init.d script compatibility mode. It provides access
N:    to each SysV init.d script as long as there is no native service file
N:    with the same name (e.g. /lib/systemd/system/rsyslog.service corresponds
N:    to /etc/init.d/rsyslog).
N:
N:    Services in rcS.d are particularly problematic, because they often cause
N:    dependency loops, as they are ordered very early in the boot sequence.
N:
N:    Refer to https://wiki.debian.org/Teams/pkg-systemd/rcSMigration for
N:    details.
N:
N:    Severity: serious, Certainty: certain
N:
N:    Check: systemd, Type: binary
2015-08-24 10:52:09 -07:00
Roopa Prabhu
290f4abb35 add debian/ifupdown2.bash-completion file 2015-08-24 04:37:50 -07:00
Roopa Prabhu
0cc0d7789f remove bash completion install from setup.py in response to lintian warning
ifupdown2: package-installs-into-obsolete-dir etc/bash_completion.d/ifup : ^etc/bash_completion.d/ -> usr/share/bash-completion/completions

bash-completions package already installs completion under /usr/share/bash-completion/completions
2015-08-24 01:31:29 -07:00
Roopa Prabhu
f5fc52721c Fix spelling mistakes as reported by lintian and Piotr 2015-08-20 21:17:00 -07:00
Roopa Prabhu
10229a4214 Add python-docutils as suggested by piotr 2015-08-20 21:15:48 -07:00
Roopa Prabhu
12a6ab019d Update changelog 2015-08-20 09:23:02 -07:00
Roopa Prabhu
e908a649a5 remove example generation code until it is fixed and tested 2015-08-03 12:21:03 -07:00
Roopa Prabhu
f0ab85ab5d fixes to make addon scripts work by default
ifupdown2 can invoke scripts under /etc/network/if-*.d/*
in the required order with the required environment variables.
This patch includes fixes to execute these scripts.

The following attributes in /etc/network/ifupdown2/ifupdown.conf
can influence the execution behaviour of python-addon modules
and /etc/network/if-*.d/*

<ifupdown.conf>
addon_syntax_check=0

addon_scripts_support=1

addon_python_modules_support=1
</ifupdown.conf>

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-08-03 02:34:07 -07:00
Roopa Prabhu
a740a43ca6 Remove remote_fs from networking.init script.
remote_fs needs networking, so networking cant really depend on remote_fs

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-08-03 02:32:56 -07:00
Roopa Prabhu
9f9a535a01 Add upstream authors to copyright file 2015-08-02 11:13:07 -07:00
Roopa Prabhu
85030527c9 Add upstream contact in copyright 2015-08-02 11:01:12 -07:00
Roopa Prabhu
6f00f8595c Fix path to networking.default 2015-08-02 10:18:01 -07:00
Roopa Prabhu
c9a33a72d4 move ifupdown2/* .
ifupdown2 code was one level deeper because ifupdown2 initially
had ifupdown2 and ifupdown2-addons as two separate packages.
Since they were combined into one package, it makes sense to
move all combined code under the top level directory

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-08-02 05:45:48 -07:00
Roopa Prabhu
65c4a2e548 Fix a few more formatting errors after feedback from piotr@debian.org
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-08-02 03:41:11 -07:00
Roopa Prabhu
1983aee4cc delete accidentally checked in format file
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-08-02 03:41:11 -07:00
Roopa Prabhu
209bb1f35d Fix source format
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-08-02 03:41:11 -07:00
Roopa Prabhu
07db9b7b0f fix source format 2015-08-02 03:41:11 -07:00