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

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

 



(Sorry, I didn't sent to the list before)
>>> Ulrich Windl <Ulrich.Windl@xxxxxxxxxxxxxxxxxxxx> schrieb am 09.05.2019 um 14:25
in Nachricht <5CD44C9A.ED38.00A1.0@xxxxxxxxxxxxxxxxxxxx>:
>>>> Michael Biebl <mbiebl@xxxxxxxxx> schrieb am 09.05.2019 um 12:26 in Nachricht
> <CAGWsdOi_9z8XBrQTyh0wGNJxP3JZKhs8gQeRXvJPo3ZriLRdTw@xxxxxxxxxxxxxx>:
> > Hi
> > 
> > Am Do., 9. Mai 2019 um 12:22 Uhr schrieb Ulrich Windl
> > <Ulrich.Windl@xxxxxxxxxxxxxxxxxxxx>:
> > 
> >> Despite of that I'm missing a "systemctl validate ..." command. That way I 
> > wouldn't need to execute start, status, stop, just to find out that some 
> > settings are rejected.
> > 
> > There is "systemd-analyze verify".
> 
> That sounds interesting, but it seems I'll have to be root to use it, and 
> the files have to be "installed" before they can be checked:
> > systemd-analyze verify systemd/iotwatch.target.in
> Failed to open /dev/tty0: Permission denied
> Failed to load systemd/iotwatch.target.in: Invalid argument
> 
> Maybe I just did not understand how to use it (this time as root):
> # systemd-analyze verify /usr/lib/iotwatch/iotwatch.target.in
> Failed to load /usr/lib/iotwatch/iotwatch.target.in: Invalid argument
> # systemd-analyze verify /usr/lib/systemd/system/iotwatch@.service
> Failed to load /usr/lib/systemd/system/iotwatch@.service: Invalid argument
> # systemd-analyze verify iotwatch@.service
> Failed to load iotwatch@.service: Invalid argument
> 
> (I'm glad that my C-compiler provides better error messages)
> 
> Regards,
> Ulrich
> 
> 




_______________________________________________
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