From eec68a1a08078fbf136d25028438ae3c214aa1ad Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 16 Jan 2020 16:41:29 +0100 Subject: [PATCH] man: mention that Before= doesn't work for device units Fixes: #13362 --- man/systemd.unit.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index debb0c0d6c1..64830ae7237 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -756,7 +756,11 @@ configured by Requires=, Wants=, Requisite=, or BindsTo=. It is a common pattern to include a unit name in both the After= and Wants= options, in which case the unit listed will - be started before the unit that is configured with these options. + be started before the unit that is configured with these options. + + Note that Before= dependencies on device units have no effect and are not + supported. Devices generally become available as a result of an external hotplug event, and systemd + creates the corresponding device unit without delay.