diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-17 14:11:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-17 20:41:52 +0100 |
commit | 9c8d1e1a712d443c456147e15ee906035b5fa0f7 (patch) | |
tree | fc0d687d889efcfb6284b3ecc38d0194f98d3d4c /units/systemd-resolved.service.m4.in | |
parent | 7c65093ae351d82a04a3e03582e8faedee798adc (diff) |
run: when automatically generating names for transient units, use unique bus ID, fallback to random
Previously we used the process ID to generate transient unit names.
However, that is problematic as PIDs get reused easily, and applying
them to remote systems makes little sense.
Fortunately, each bus peer gets a unique, non-reusable ID assigned when
attaching to a bus, hence let's use that, if we can. In some cases we
cannot however, because we connect directly to PID's private socket, and
thus are not a proper bus peer with a unique ID. In that case generate a
random UUID to name the unit after.
Diffstat (limited to 'units/systemd-resolved.service.m4.in')
0 files changed, 0 insertions, 0 deletions