1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-13 00:58:27 +03:00
Lennart Poettering 25ec3fdfd3 core: also check boot ID and product UUID in ConditionHost=
Sometimes it's interesting to condition units not just on the
installation but on the physical device. Let's make ConditionHost=
useful for that kind of checks, and while we are at it, also allow it to
be used for condition checks on the boot id.

Overloading like this is safe, since UUIDs are globally unique after
all, and hence there should be no conflicts between the namespace of
boot ids, machine ids and product ids.

Finally, relax rules on uuid checking: if the specified string parses
as uuid or id, also check it against the hostname, for setups where
people name hosts after uuids. I wouldn't know why anyone would do that,
but also, why not? shouldn'rt hurt allowing them and should not create
ambiguity conflicts.
2025-02-20 18:13:38 +01:00
..
2024-12-25 17:00:31 +01:00
2023-12-25 09:15:53 +01:00
2024-11-24 01:11:42 +09:00
2024-12-25 17:00:31 +01:00
2025-01-28 03:28:26 +09:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-11-06 19:06:47 +09:00
2024-12-25 17:00:31 +01:00
2023-12-26 08:59:53 +01:00
2023-12-26 08:59:53 +01:00
2025-01-28 03:28:26 +09:00
2024-12-25 17:00:31 +01:00
2024-11-24 01:11:42 +09:00
2023-12-26 13:10:36 +01:00
2025-01-14 11:13:25 +01:00
2024-11-24 01:11:42 +09:00
2025-01-23 02:08:32 -05:00
2024-11-24 01:11:42 +09:00
2024-11-24 01:11:42 +09:00
2024-11-24 01:11:42 +09:00
2023-12-24 09:32:26 +01:00
2024-11-06 19:06:40 +09:00
2024-12-25 17:00:31 +01:00
2024-11-18 15:18:26 +09:00