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
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to