Bug 56607 - RFE: Add offline unit validity checker
Summary: RFE: Add offline unit validity checker
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-31 09:07 UTC by Oleksii Shevchuk
Modified: 2014-07-27 00:07 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.