Re: Verify only single file

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

 



On Mo, 01.07.19 16:00, Dennis Ljungmark (spider@xxxxxxxx) wrote:

> Hi,
>   on my current Fedora (30) system, I'm trying to hook a test to
> validate systemd unit files via `systemd-analyze verify`
>
> this however has a problem that it analyzes & verifies the entire
> chain, reporting errors if _any_ of the system units has an error.
>
> Is there a way to limit `verify` to only run on the targetted units,
> while maintaining the dependency tracking (units should exist)  but
> not causing errors just because one of the system active units has a
> PIDFile set in /var/run, or similar.

This does not exist currently. Consider filing an RFE github issue
about this, and we might look into it. Even better file a PR
implementing this.

Sorry,

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