systemd system unit files and UsrMove

Nicolas Mailhot nicolas.mailhot at laposte.net
Mon Feb 20 19:42:29 UTC 2012


Le Lun 20 février 2012 18:50, Kay Sievers a écrit :
> On Feb 20, 2012 6:25 PM, "Toshio Kuratomi" <a.badger at gmail.com> wrote:

> Udev rules and systemd units belong to the installed daemon. This daemon
> can only exist exactly one single time, and never be installed by multilib
> packages, hence they do not ever belong into libdir.

Actually, Udev rules and systemd units belong to the package that installed
them. That's why hiding them in a private lib dir is wrong

When amavisd instaciates clamav using the generic unit shipped with clamav but
using an amavisd-specific conf file the clamav systemd unid is shared with
amavisd

That's why share is the natural place to share this arch-independant
configuration and putting it in /usr/lib is grandfathering an exception that
only existed because /share didn't exist


-- 
Nicolas Mailhot



More information about the devel mailing list