diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-09-25 08:34:30 -0400 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-10-01 22:53:17 +0200 |
commit | dd5e7000cb54f94fdf4756a28144ab32d6e214c8 (patch) | |
tree | 2be801b8af593138fa1ec3fd75099ab845839f67 /TODO | |
parent | 93a0884126146361ca078ec627da2cf766205a1c (diff) | |
download | systemd-dd5e7000cb54f94fdf4756a28144ab32d6e214c8.tar.gz |
core: complain if Before= dep on .device is declared
[Unit]
Before=foobar.device
[Service]
ExecStart=/bin/true
Type=oneshot
$ systemd-analyze verify before-device.service
before-device.service: Dependency Before=foobar.device ignored (.device units cannot be delayed)
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -139,8 +139,6 @@ Features: * PID 1 should send out sd_notify("WATCHDOG=1") messages (for usage in the --user mode, and when run via nspawn) -* consider throwing a warning if a service declares it wants to be "Before=" a .device unit. - * there's probably something wrong with having user mounts below /sys, as we have for debugfs. for exmaple, src/core/mount.c handles mounts prefixed with /sys generally special. |