On Tue, 07.04.15 16:35, Przemyslaw Kedzierski ([email protected]) wrote:

> Hello,
> 
> We started work on a tool dedicated to check systemd unit files.
> Its main purpose will be to parse all or a subset of them, look for
> common errors, suboptimal designs.
> It will also check single unit file separately or sets of them
> referencing one another (for example cycles).

Note that "systemd-analyze verify" already checks unit files for
correctness. It 

> We need some help. Could you please describe types of mistakes
>  that are common, harmful and annoying?

Often seen mistakes:

- An early-boot service (DefaultDependencies=no) that orders itself
  after later boot services

- Services referencing syslog.target

- Late-boot services referencing local-fs.target

- Services that needlessly specify StandardError=journal
  (or even StandardError=syslog) (the former is now the default)

We probably should add chekcs for these to "systemd-analyze verify"
even...

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to