diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-02-27 21:55:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-02-28 17:38:38 +0100 |
commit | 628c89cc68ab96fce2de7ebba5933725d147aecc (patch) | |
tree | 0ad23950d2ff4895b0de0c4163baa9be8617c4e3 /tmpfiles.d/x11.conf | |
parent | 1a1db450e54c549382e8466130e63b91ae78b552 (diff) |
core: rework device state logic
This change introduces a new state "tentative" for device units. Device
units are considered "plugged" when udev announced them, "dead" when
they are not available in the kernel, and "tentative" when they are
referenced in /proc/self/mountinfo or /proc/swaps but not (yet)
announced via udev.
This should fix a race when device nodes (like loop devices) are created
and immediately mounted. Previously, systemd might end up seeing the
mount unit before the device, and would thus pull down the mount because
its BindTo dependency on the device would not be fulfilled.
Diffstat (limited to 'tmpfiles.d/x11.conf')
0 files changed, 0 insertions, 0 deletions