[systemd-devel] Verify only single file
Lennart Poettering
lennart at poettering.net
Tue Jul 23 16:15:11 UTC 2019
On Mo, 01.07.19 16:00, Dennis Ljungmark (spider at modio.se) 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
More information about the systemd-devel
mailing list