dongshengyuan
628e8304cc
resolved: notice route-only domain updates
...
SetLinkDomains() tracks whether the configured search domain list changed
so it can skip redundant persistence. The route_only flag is part of the
D-Bus API and is persisted as a ~ prefix, but flipping an existing domain
between search and route-only only updated in-memory state and left
changed false. The method then skipped link_save_user() and
manager_write_resolv_conf(), leaving stale state until restart.
Reproduced on Ubuntu with systemd 259:
sudo resolvectl domain enp1s0 route-only-repro.test
sudo resolvectl domain enp1s0 '~route-only-repro.test'
resolvectl domain enp1s0
grep '^DOMAINS=' /run/systemd/resolve/netif/$(cat /sys/class/net/enp1s0/ifindex)
grep -H route-only-repro.test /run/systemd/resolve/*.conf
Before, resolvectl showed ~route-only-repro.test, but the persisted state
file still showed DOMAINS=route-only-repro.test, and the generated
resolv.conf files still contained search route-only-repro.test.
After this change, the state file is updated to
DOMAINS=~route-only-repro.test and the generated resolv.conf files are
refreshed so the route-only domain is not emitted as a search domain.
Follow-up for: cbf23f3853
2026-08-12 18:51:34 +09:00
..
2025-12-07 09:09:03 +09:00
2025-11-04 15:53:23 +00:00
2025-07-13 05:49:00 +09:00
2026-06-20 01:41:46 +01:00
2026-08-11 16:12:42 +02:00
2026-04-20 09:37:13 +02:00
2026-06-28 00:26:56 +09:00
2025-11-07 21:35:45 +00:00
2025-08-01 05:42:51 +09:00
2026-06-25 15:50:28 +01:00
2026-06-07 21:49:43 +02:00
2026-07-16 01:52:39 +09:00
2026-06-23 12:41:38 +02:00
2026-07-07 09:45:03 +02:00
2025-07-28 16:29:31 +09:00
2026-05-04 14:30:03 +01:00
2026-04-09 22:39:11 +02:00
2026-05-05 10:45:04 +02:00
2026-05-12 23:38:52 +01:00
2026-04-02 22:58:19 +09:00
2026-02-22 15:13:02 +01:00
2026-08-03 14:29:07 +09:00
2026-05-05 10:37:13 +02:00
2026-02-19 15:08:20 +01:00
2026-04-14 20:35:24 +02:00
2025-09-23 15:48:53 +01:00
2025-12-07 09:09:03 +09:00
2025-12-07 09:09:03 +09:00
2025-12-18 00:19:09 +01:00
2025-12-07 09:09:03 +09:00
2026-06-29 12:06:33 +01:00
2025-12-07 09:09:03 +09:00
2025-12-07 09:09:03 +09:00
2025-11-17 16:50:50 +01:00
2025-11-17 16:50:50 +01:00
2025-07-24 16:35:45 +02:00
2026-03-11 18:09:27 +01:00
2025-09-23 15:48:53 +01:00
2025-09-04 10:58:33 +09:00
2025-06-21 02:22:28 +09:00
2026-07-24 13:44:59 +09:00
2026-06-23 17:36:03 +01:00
2026-06-05 04:56:34 +09:00
2025-09-26 07:20:04 +09:00
2025-07-24 20:55:10 +09:00
2025-12-10 12:09:10 +01:00
2025-09-23 15:48:53 +01:00
2025-12-09 14:41:59 +09:00
2026-01-23 19:29:48 +01:00
2025-12-07 09:09:03 +09:00
2025-07-03 19:35:33 +02:00
2025-09-26 07:20:04 +09:00
2026-05-05 11:53:01 +01:00
2026-07-29 11:17:14 +02:00
2026-05-11 10:59:00 +02:00
2026-05-19 22:53:59 +01:00
2025-10-28 13:26:15 +00:00
2025-05-16 22:24:54 +09:00
2026-04-14 20:35:24 +02:00
2026-01-06 03:26:15 -08:00
2026-06-20 01:41:46 +01:00
2025-01-29 04:58:24 +09:00
2025-09-23 15:48:53 +01:00
2026-06-05 04:39:00 +09:00
2026-05-21 18:06:07 +02:00
2025-12-10 12:09:10 +01:00
2026-06-20 01:41:46 +01:00
2026-07-16 14:31:32 +02:00
2026-04-14 20:35:24 +02:00
2026-06-20 01:41:46 +01:00
2026-07-23 13:19:11 +09:00
2026-06-20 01:41:46 +01:00
2025-03-28 10:34:02 +00:00
2026-06-23 23:04:47 +01:00
2026-01-18 14:14:24 +09:00
2025-12-07 09:09:03 +09:00
2025-04-05 17:33:31 +09:00
2025-11-17 16:50:50 +01:00
2026-07-10 16:09:34 +08:00
2026-02-15 12:51:00 +00:00
2026-01-14 16:32:38 +01:00
2026-02-15 12:51:00 +00:00
2026-06-20 01:41:46 +01:00
2026-07-20 14:31:15 +01:00
2026-07-10 16:05:24 +08:00
2026-05-20 11:39:11 +02:00
2026-01-14 16:32:38 +01:00
2026-01-14 16:32:38 +01:00
2026-01-14 16:32:38 +01:00
2026-01-14 16:32:38 +01:00
2025-04-05 17:33:31 +09:00
2026-06-20 01:41:46 +01:00
2026-05-28 02:08:24 +09:00
2026-07-13 12:18:49 +08:00
2026-08-02 19:16:19 +09:00
2025-04-05 17:33:31 +09:00
2025-04-05 17:33:31 +09:00
2025-04-03 10:28:25 +09:00
2025-12-10 12:09:10 +01:00
2025-12-10 12:09:10 +01:00
2026-02-11 11:24:37 +01:00
2026-01-14 16:32:38 +01:00
2025-09-26 09:28:12 +09:00
2025-09-26 07:20:04 +09:00
2025-09-23 15:48:53 +01:00
2026-03-11 03:36:21 +09:00
2025-09-05 08:29:52 +02:00
2026-07-29 15:29:54 +08:00
2025-11-17 16:50:50 +01:00
2026-07-23 19:33:08 +08:00
2025-09-23 15:48:53 +01:00
2025-09-23 15:48:53 +01:00
2025-09-23 15:48:53 +01:00
2025-09-23 15:48:53 +01:00
2025-09-23 15:48:53 +01:00
2026-07-30 13:45:52 +08:00
2025-09-23 15:48:53 +01:00
2025-09-23 15:48:53 +01:00
2026-07-29 03:47:58 +09:00
2025-09-23 15:48:53 +01:00
2025-09-23 15:48:53 +01:00
2025-09-23 15:48:53 +01:00
2025-09-23 15:48:53 +01:00
2026-05-09 11:36:55 +02:00
2025-09-26 07:20:04 +09:00
2025-09-26 07:20:04 +09:00
2025-12-07 09:09:03 +09:00
2025-11-17 16:50:50 +01:00
2025-09-26 07:20:04 +09:00
2025-09-26 07:20:04 +09:00
2025-09-26 07:20:04 +09:00
2025-12-07 09:09:03 +09:00
2025-05-29 05:41:29 +09:00
2026-06-20 01:41:46 +01:00
2025-09-26 07:20:04 +09:00
2025-09-26 07:20:04 +09:00
2025-09-26 07:20:04 +09:00
2026-01-16 22:56:28 +09:00
2026-05-22 14:09:16 +01:00
2026-05-20 16:11:45 +02:00
2026-07-16 10:03:19 +08:00
2026-07-15 16:30:15 +08:00
2026-01-14 16:32:38 +01:00
2026-01-21 15:09:46 +01:00
2025-09-26 07:20:04 +09:00
2025-09-26 07:20:04 +09:00
2026-06-20 01:41:46 +01:00
2026-06-20 01:41:46 +01:00
2026-06-28 13:40:07 +09:00
2025-09-26 07:20:04 +09:00
2025-12-10 12:09:10 +01:00
2026-07-16 01:26:46 +09:00
2025-09-02 09:38:51 +01:00
2026-07-22 17:11:08 +02:00
2025-09-23 15:48:53 +01:00
2026-07-18 15:53:00 +08:00
2025-12-18 09:12:54 +01:00
2026-06-05 04:56:34 +09:00
2026-06-16 00:16:05 +01:00
2026-07-15 21:13:24 +01:00
2025-09-26 07:20:04 +09:00
2026-07-24 01:54:40 +09:00
2026-01-30 09:30:20 -05:00
2026-05-05 17:22:26 +02:00
2026-01-30 09:30:20 -05:00
2026-05-11 10:57:46 +02:00
2025-09-24 09:52:36 +02:00
2026-07-18 15:53:00 +08:00
2026-05-26 21:49:10 +01:00
2026-07-29 03:47:58 +09:00
2025-12-10 12:09:10 +01:00
2026-06-01 11:48:19 +02:00
2025-12-10 12:09:10 +01:00
2025-11-17 16:50:50 +01:00
2026-06-30 16:24:06 +01:00
2026-06-01 18:24:15 +01:00
2025-09-26 07:20:04 +09:00
2026-05-11 14:37:08 +01:00
2025-09-26 07:20:04 +09:00
2026-05-18 02:44:46 +09:00
2026-05-03 18:08:33 +01:00
2026-06-27 17:28:39 +02:00
2026-07-28 14:59:02 +02:00
2026-07-10 08:07:47 +02:00
2026-07-02 21:28:42 +02:00
2026-07-28 08:35:39 +02:00
2026-05-03 18:08:33 +01:00
2026-08-04 14:11:43 -07:00
2026-07-01 17:36:50 +02:00
2026-06-20 14:26:41 +02:00
2026-07-28 16:24:29 +09:00
2025-06-23 15:32:11 +02:00
2026-06-13 09:39:28 +01:00
2026-06-03 14:02:44 +01:00
2026-04-04 18:18:30 +01:00
2025-09-23 15:48:53 +01:00
2025-01-24 08:37:51 +01:00
2026-07-26 13:20:55 +09:00
2026-07-18 15:48:34 +08:00
2026-07-17 11:09:34 +08:00
2026-03-26 16:13:11 +01:00
2025-12-18 13:57:32 +01:00
2026-07-24 14:10:30 +09:00
2026-05-21 18:30:16 +02:00
2025-02-18 13:49:24 +01:00
2025-09-26 09:42:13 +02:00
2025-11-17 16:50:50 +01:00
2025-07-23 22:11:42 +09:00
2026-04-20 15:01:17 +01:00
2025-09-23 15:48:53 +01:00
2026-07-02 17:01:02 +01:00
2026-08-12 03:11:02 +09:00
2025-02-27 13:47:07 +01:00
2025-10-23 11:56:26 +01:00
2026-03-20 09:37:24 +01:00
2026-06-23 22:55:23 +02:00
2026-08-07 15:16:25 +01:00
2026-07-29 03:47:58 +09:00
2026-08-04 22:46:41 +09:00
2026-05-19 11:05:55 +02:00
2026-06-23 23:10:01 +02:00
2026-05-19 11:05:55 +02:00
2026-05-19 11:05:55 +02:00
2026-07-25 15:35:28 +09:00
2026-06-20 01:41:46 +01:00
2025-09-23 15:48:53 +01:00
2026-08-12 18:51:34 +09:00
2026-06-20 01:41:46 +01:00
2026-04-09 22:47:10 +02:00
2026-08-05 17:31:03 -07:00
2025-09-18 20:22:42 +02:00
2025-07-23 08:35:51 +09:00
2025-09-23 15:48:53 +01:00
2026-05-21 16:02:43 +01:00
2025-05-29 01:15:56 +01:00
2026-05-03 18:08:33 +01:00
2026-05-06 10:30:17 +02:00
2026-07-29 03:47:58 +09:00
2026-06-20 01:41:46 +01:00
2025-01-24 08:37:51 +01:00
2025-11-07 14:12:56 +01:00
2026-02-06 18:19:33 +01:00
2026-05-05 17:22:26 +02:00
2026-05-12 22:54:07 +02:00
2025-09-04 02:05:09 +09:00
2026-04-29 12:26:52 +02:00
2026-08-03 14:25:49 +09:00
2026-07-03 12:19:03 +02:00
2025-12-10 12:09:10 +01:00
2026-08-04 23:21:55 +09:00
2026-05-25 12:58:04 +01:00
2026-07-30 09:13:35 +01:00
2026-08-01 03:54:58 +09:00
2026-05-13 10:36:12 +02:00
2026-06-20 01:41:46 +01:00
2026-08-10 16:09:06 +02:00
2026-05-13 10:36:12 +02:00
2026-06-30 10:21:18 +01:00
2026-07-31 11:06:30 +09:00
2026-07-10 14:01:24 +02:00
2026-06-23 22:55:23 +02:00