Am Do., 9. Mai 2019 um 15:52 Uhr schrieb Ulrich Windl
<[email protected]>:
>
> (Sorry, I didn't send to the list before)
> >>> Ulrich Windl <[email protected]> schrieb am 09.05.2019 um 
> >>> 14:28
> in Nachricht <[email protected]>:
> >>>> Michael Biebl <[email protected]> schrieb am 09.05.2019 um 12:29 in 
> >>>> Nachricht
> > <cagwsdojat+g+-f2ejgh5sqgdh0p1mttrikrdpov7esd8ajw...@mail.gmail.com>:
> > > Am Do., 9. Mai 2019 um 12:27 Uhr schrieb Ulrich Windl
> > > <[email protected]>:
> > >>
> > >> Hi!
> > >>
> > >> Whenever I try to enable or disable a target (that exists), I get 
> > >> "Failed to
> >
> > > execute operation: No such file or directory". What file or directory,
> > > please? Or what is the command trying to say?
> > >
> > > Can you share the target unit please.
> > > Into what location have you installed the unit file?
> >
> > This is after fixing obvious errors:
> > # systemctl enable iotwatch.target
> > Failed to execute operation: No such file or directory
> > # cat /run/systemd/generator.late/iotwatch.target
> > [Unit]
> > Description=iotwatch I/O performance monitor
> > Documentation=man:[email protected](8) man:iotwatch-generator(8)
> > After=nss-lookup.target time-sync.target paths.target
> > [email protected]
> >
> > [Install]
> > WantedBy=multi-user.target

This doesn't make sense. You generate an ephemeral runtime unit in
/run but you then try to enable it in /etc.

To make it easier to help, you should give us an idea/overview what
you are trying to achieve. What you did so far (and why), what
environment you are using etc.

It's really hard to give you a good answer when we don't even tell us
the systemd version and distro you are using.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to