Saikrishna Arcot
c8b5daed27
Upgrade to ifupdown2 3.0.0 with a patch to fix using broadcast addresses
...
In version 3.0.0, If a broadcast address is specified in
/etc/network/interfaces, then when ifup is run, it will fail with an
error saying `'str' object has no attribute 'packed'`. This appears to
be because it expects all attributes for an interface to be "packable"
into a compact binary representation. However, it doesn't actually
convert the broadcast address into an IPNetwork object (other addresses
are handled).
Therefore, convert the broadcast address it reads in from a str to an
IPNetwork object.
Also explicitly specify the scope of the loopback address in
/etc/network/interfaces as host scope. Otherwise, it will get added as
global scope by default. As part of this, use JSON to parse ip's output
instead of text, for robustness.
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com >
2021-08-12 23:18:01 -07:00
..
2020-03-11 20:04:52 -07:00
2021-02-03 20:17:34 -08:00
2020-03-11 20:04:52 -07:00
2019-07-25 22:06:41 -07:00
2021-07-24 16:24:43 -07:00
2020-11-30 10:44:40 -08:00
2021-02-03 20:17:34 -08:00
2020-03-11 20:04:52 -07:00
2020-01-07 17:48:03 -08:00
2020-04-28 15:57:13 -07:00
2020-11-19 23:41:32 -08:00
2020-03-11 20:04:52 -07:00
2020-11-19 23:41:32 -08:00
2020-03-11 20:04:52 -07:00
2020-11-19 23:41:32 -08:00
2020-04-28 15:57:13 -07:00
2021-06-10 12:03:33 -07:00
2020-03-11 20:04:52 -07:00
2021-01-27 12:27:41 -08:00
2020-03-11 20:04:52 -07:00
2020-10-23 13:08:35 -07:00
2020-03-11 20:04:52 -07:00
2021-06-04 10:16:53 -07:00
2020-03-11 20:04:52 -07:00
2021-07-15 10:35:56 -07:00
2020-03-11 20:04:52 -07:00
2021-07-11 06:58:05 -07:00
2020-03-11 20:04:52 -07:00
2021-06-23 09:15:56 -07:00
2020-04-20 11:14:25 -07:00
2021-04-26 13:51:50 -07:00
2020-06-09 09:09:56 -07:00
2021-07-11 06:58:05 -07:00
2021-01-10 10:39:59 -08:00
2021-04-26 13:51:50 -07:00
2020-03-11 20:04:52 -07:00
2021-07-11 06:58:05 -07:00
2020-03-11 20:04:52 -07:00
2021-07-11 06:58:05 -07:00
2020-03-11 20:04:52 -07:00
2021-05-06 10:59:22 -07:00
2021-06-04 10:16:53 -07:00
2020-03-11 20:04:52 -07:00
2021-07-11 06:58:05 -07:00
2020-03-11 20:04:52 -07:00
2021-07-11 06:58:05 -07:00
2020-06-11 16:04:23 -07:00
2021-06-04 10:16:53 -07:00
2020-03-11 20:04:52 -07:00
2021-04-26 13:51:50 -07:00
2020-03-24 19:32:51 +08:00
2020-03-11 20:04:52 -07:00
2020-04-21 09:57:57 -07:00
2021-05-28 10:16:02 -07:00
2021-05-28 10:16:02 -07:00
2021-05-28 10:16:02 -07:00
2021-05-28 10:16:02 -07:00
2020-03-11 20:04:52 -07:00
2021-07-11 06:58:05 -07:00
2020-03-11 20:04:52 -07:00
2021-05-11 17:11:54 -07:00
2021-03-16 09:56:53 -07:00
2021-04-08 09:08:22 -07:00
2021-06-22 15:29:21 -07:00
2021-06-22 15:29:21 -07:00
2020-12-03 02:35:21 -08:00
2021-08-12 21:41:04 -07:00
2021-07-11 06:58:05 -07:00
2020-03-11 20:04:52 -07:00
2019-07-25 22:06:41 -07:00
2020-03-11 20:04:52 -07:00
2019-07-25 22:06:41 -07:00
2020-04-20 11:14:25 -07:00
2020-05-21 09:12:51 -07:00
2020-03-11 20:04:52 -07:00
2021-08-12 23:18:01 -07:00
2020-03-11 20:04:52 -07:00
2020-04-17 04:51:51 +00:00
2020-03-11 20:04:52 -07:00
2019-07-25 22:06:41 -07:00
2020-03-11 20:04:52 -07:00
2020-07-15 22:48:09 -07:00
2020-03-11 20:04:52 -07:00
2020-06-22 15:34:21 -07:00
2020-03-11 20:04:52 -07:00
2020-04-16 10:26:18 +00:00
2020-03-11 20:04:52 -07:00
2020-04-16 10:26:18 +00:00
2020-03-11 20:04:52 -07:00
2020-01-06 17:01:28 -08:00
2020-03-11 20:04:52 -07:00
2020-06-24 14:07:22 -07:00
2020-12-29 03:44:49 -08:00
2020-12-29 03:44:49 -08:00
2020-03-11 20:04:52 -07:00
2021-01-02 12:45:32 -08:00
2020-03-11 20:04:52 -07:00
2021-02-10 23:07:22 -08:00
2020-03-11 20:04:52 -07:00
2020-01-24 11:52:52 -08:00
2020-03-11 20:04:52 -07:00
2020-07-18 03:46:15 -07:00
2020-03-11 20:04:52 -07:00
2020-04-16 10:26:18 +00:00
2020-03-11 20:04:52 -07:00
2019-07-25 22:06:41 -07:00
2020-12-02 15:02:50 -08:00
2020-12-15 08:44:46 -08:00
2020-11-02 10:31:15 +08:00
2020-11-02 10:31:15 +08:00
2020-03-11 20:04:52 -07:00
2021-07-01 12:35:09 -07:00
2020-03-11 20:04:52 -07:00
2016-12-08 09:24:48 -08:00
2021-04-23 19:09:41 -07:00
2021-04-24 19:44:27 -07:00
2020-03-11 20:04:52 -07:00
2018-11-20 19:27:56 -08:00
2020-08-15 16:36:34 -07:00
2020-05-30 05:52:27 -07:00
2020-03-11 20:04:52 -07:00
2020-07-12 18:08:52 +00:00
2020-03-11 20:04:52 -07:00
2020-01-10 13:46:32 -08:00
2020-03-11 20:04:52 -07:00
2021-05-28 10:16:02 -07:00
2020-11-23 09:31:42 -08:00
2020-11-23 09:31:42 -08:00
2020-03-11 20:04:52 -07:00
2021-03-27 21:09:57 -07:00
2020-03-11 20:04:52 -07:00
2020-04-16 10:26:18 +00:00
2020-03-11 20:04:52 -07:00
2020-12-09 17:40:07 -08:00
2020-03-11 20:04:52 -07:00
2019-07-25 22:06:41 -07:00
2020-06-20 21:01:24 -07:00
2021-06-10 12:03:33 -07:00
2020-12-15 16:28:58 -08:00
2020-12-15 16:28:58 -08:00
2021-08-04 09:06:13 -07:00
2021-06-10 12:03:33 -07:00
2020-12-22 08:01:33 -08:00
2020-12-22 08:01:33 -08:00
2020-05-06 13:17:08 +08:00
2020-04-16 10:26:18 +00:00
2021-01-24 17:57:03 -08:00
2021-01-24 17:57:03 -08:00
2020-10-23 09:52:29 -07:00
2020-10-23 09:52:29 -07:00
2020-10-23 09:52:29 -07:00
2021-07-06 02:07:45 -07:00
2020-12-28 10:19:24 -08:00
2020-12-28 10:19:24 -08:00
2020-06-22 16:01:55 -07:00
2020-06-22 16:01:55 -07:00
2020-03-11 20:04:52 -07:00
2020-08-05 13:23:12 -07:00
2021-06-29 09:07:33 -07:00
2020-12-28 10:19:24 -08:00
2020-12-28 10:19:24 -08:00
2021-01-13 10:32:42 -08:00
2021-04-28 01:30:47 -07:00
2020-12-28 10:19:24 -08:00
2021-03-30 08:32:07 -07:00
2020-07-26 23:15:41 -07:00
2020-08-03 11:43:12 -07:00
2020-12-28 10:19:24 -08:00
2021-04-09 16:58:53 -07:00
2020-12-28 10:19:24 -08:00
2021-03-29 23:39:47 -07:00
2020-09-20 20:16:42 -07:00
2020-09-20 20:16:42 -07:00
2020-11-25 10:28:36 -08:00
2021-05-28 10:16:02 -07:00
2020-12-28 10:19:24 -08:00
2021-01-05 09:39:52 -08:00
2020-11-07 13:03:41 -08:00
2020-11-07 13:03:41 -08:00
2020-05-06 13:17:08 +08:00
2020-05-28 12:16:25 -07:00
2021-01-13 10:32:42 -08:00
2020-05-19 11:15:05 -07:00
2020-03-11 20:04:52 -07:00
2021-05-28 10:16:02 -07:00
2020-03-11 20:04:52 -07:00
2021-01-14 00:29:21 -08:00
2020-03-11 20:04:52 -07:00
2020-05-30 05:52:27 -07:00
2020-03-11 20:04:52 -07:00
2020-05-30 05:52:27 -07:00
2020-07-12 18:08:51 +00:00
2021-06-22 11:12:22 -07:00
2020-10-12 11:12:49 +03:00
2021-07-16 19:56:24 -07:00
2020-03-11 20:04:52 -07:00
2019-07-29 15:52:15 -07:00
2020-03-11 20:04:52 -07:00
2020-04-16 10:26:18 +00:00
2020-03-11 20:04:52 -07:00
2020-06-22 16:01:55 -07:00
2020-03-11 20:04:52 -07:00
2020-03-11 20:04:52 -07:00
2019-07-25 22:06:41 -07:00
2021-01-10 10:39:59 -08:00
2021-01-10 10:39:59 -08:00