Re: Antw: Re: Antw: Re: Arbitrary restrictions (e.g. for RuntimeDirectory)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Di, 14.05.19 16:07, Ulrich Windl (Ulrich.Windl@xxxxxxxxxxxxxxxxxxxx) wrote:

> Hmm, like this:?
> > systemd-analyze verify /run/systemd/generator.late/iotwatch.target
> Failed to open /dev/tty0: Permission denied

This is mostly a cosmetical message you can safely ignore. Moreover this has long been fixed and is
not displayed on any current systemd version.

> Or more like this (in the user directory):?
> > systemd-analyze verify systemd/iotwatch.target.in
> Failed to open /dev/tty0: Permission denied
> Failed to load systemd/iotwatch.target.in: Invalid argument

That's not a valid unit file name. On systemd unit files are named in
a very strict fashion, and this is documented. A service unit file
name must be suffixed with ".service" and a target unit file name must
be suffixed with ".target". The suffix ".target.in" is not valid for a
unit file.

Yes, the error message could be better.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux