[Fedora-packaging] Usage of /var/db

Nicolas Mailhot nicolas.mailhot at laposte.net
Thu Jan 28 11:10:14 UTC 2010



Le Jeu 28 janvier 2010 11:49, Christian Krause a écrit :

> Would it be OK if a package creates
> /var/db/<pkgname>
> for various kind of reasons (in this case a daemon would serve audio
> files the user puts there)?
>
> In Fedora only the nscd uses this directory:
> /var/db/Makefile
> /var/db/nscd/*
>
> The FHS doesn't contain any specific guidelines about the usage of
> /var/db/

On the contrary the FHS is very clear about such cases

« Applications must generally not add directories to the top level of /var.
Such directories should only be added if they have some system-wide
implication, and in consultation with the FHS mailing list. »

If it's not defined by the FHS, it should not be used or created.

-- 
Nicolas Mailhot




More information about the packaging mailing list