[systemd-devel] "bad" status for genersated target; why?

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Tue May 14 13:39:46 UTC 2019


Developing my first systemd service I have some problems I don't understand:
After installation, I get this status:
# systemctl status iotwatch.target          ‚óŹ iotwatch.target - iotwatch I/O
performance monitor
   Loaded: loaded (/run/systemd/generator.late/iotwatch.target; bad; vendor
preset: disabled)
   Active: inactive (dead)
     Docs: man:iotwatch at .service(8)

Why "bad"? 
# ll /run/systemd/generator.late/iotwatch.target
-rw-r--r-- 1 root root 281 May 14 15:24
# systemctl is-enabled iotwatch.target
Failed to get unit file state for iotwatch.target: No such file or directory

Here we are again: Where should the file be?
Aren't targets allowed to be generated?


More information about the systemd-devel mailing list