[systemd-devel] System units packaging and rpmlint

David Strauss david at davidstrauss.net
Sun May 19 00:22:07 PDT 2013


On Sun, May 19, 2013 at 12:10 AM, Andrey Borzenkov <arvidjaar at gmail.com> wrote:
> Do you mean, "installing directly under /usr/lib/systemd/system/*.wants
> should be an error"? It was the actual question.
>
> I do not think there is single answer in all cases. IMHO it is
> perfectly valid to use /usr/lib/systemd/system/*.wants to express
> inter-services dependencies. If service A needs services B and C to
> work, they should be installed as /usr/lib/systemd/A.wants, so starting
> A also transparently starts them.

An RPM installing systemd-related files to /etc should produce an
error. RPMs should install their systemd files to /usr/lib/systemd (or
equivalent if that's not the unified systemd installed file location).

--
David Strauss
   | david at davidstrauss.net
   | +1 512 577 5827 [mobile]


More information about the systemd-devel mailing list