Bug 56607

Summary: RFE: Add offline unit validity checker
Product: systemd Reporter: Oleksii Shevchuk <public.avatar>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: enhancement    
Priority: medium CC: michael+freedesktop, misc
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Oleksii Shevchuk 2012-10-31 09:07:00 UTC
As for now, to validate unit I must do daemon-reload and check logs. It would be better to have offline feature in systemctl, or something implemented in that way
Comment 1 Michael Scherer 2013-05-11 10:27:27 UTC
I concur, this would make perfect sense in checking tools like rpmlint. I tried to use the .ini parser module of python, but the .include doesn't go well with it, and I am not really happy to have to keep a growing list of all configuration option duplicated in python code.
Comment 2 Michael Stapelberg 2013-06-13 20:30:43 UTC
Agreed, I’d love to see systemctl work without systemd running.

This would be useful in Debian where we need to run systemd-specific commands on machines which are (not yet) running systemd, e.g. to enable service files after installing them.
Comment 3 Zbigniew Jedrzejewski-Szmek 2014-07-27 00:07:28 UTC
Added in http://cgit.freedesktop.org/systemd/systemd/commit/?id=8b835fccda and follow-up commits.

systemd-analyze verify boo.service

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.