systemd system unit files and UsrMove

Miloslav Trmač mitr at volny.cz
Mon Feb 20 20:33:28 UTC 2012


On Mon, Feb 20, 2012 at 9:29 PM, Kay Sievers <kay.sievers at vrfy.org> wrote:
> 2012/2/20 Miloslav Trmač <mitr at volny.cz>:
>> On Mon, Feb 20, 2012 at 9:17 PM, Kay Sievers <kay.sievers at vrfy.org> wrote:
>>> The general rule for $libdir is that it is reserved for shared objects
>>> and their directly associated files like pkgconfig files.
>> No, that's not at all what the FHS says.
>
> "Applications may use a single subdirectory under /usr/lib. If an
> application uses a subdirectory, all architecture-dependent data
> exclusively used by the application must be placed within that
> subdirectory."

That's the /usr/lib paragraph.  The $libdir paragraph is

"4.8.1.�Purpose

/usr/lib<qual> performs the same role as /usr/lib for an alternate
binary format, except that the symbolic links /usr/lib<qual>/sendmail
and /usr/lib<qual>/X11 are not required. [28]"

i.e. "equivalent to /usr/lib, no additional restrictions."
    Mirek


More information about the devel mailing list