[systemd-devel] systemd unit checker tool
Przemyslaw Kedzierski
p.kedzierski at samsung.com
Wed Apr 8 06:11:55 PDT 2015
On 04/07/2015 07:02 PM, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue, Apr 07, 2015 at 12:36:31PM -0400, Rahul Sundaram wrote:
>> Perhaps packaging guidelines should recommend running this command or it
>> should be part of the macro that packages include that logs warnings when
>> unit files has any of these issues
>
We are interested in a tool that could be run automatically,
like rpmlint, at finish of build process.
It could read and check unit files from one service alone or in context
of all of them. This should be controlled by options.
There will be defined a set of rules, for both methods
Of course should be configurable the source of unit files used to build
a graph - currently installed in build system, from other rpm's,
maybe from image? (what to do if target systemd will be too new than
running on build system)
Is there only possible to check typos and syntax errors in case of
testing single unit file?
For example, problems like these:
http://lists.freedesktop.org/archives/systemd-devel/2011-March/001800.html
Thank you
Przemek Kedzierski
More information about the systemd-devel
mailing list