[Guidelines Change] Changes to the Packaging Guidelines

Bohuslav Kabrda bkabrda at redhat.com
Tue Feb 7 06:38:11 UTC 2012


Hi Tom,

----- Original Message -----
> ---
> 
> The section of the Packaging Guidelines covering /srv was amended to
> include /opt and /usr/local. Specifically, the following sentence was
> added:
> 
>   In addition, no Fedora package can have any files or directories
>   under /opt or /usr/local, as these directories are not permitted to
>   be used by Distributions in the FHS.
> 
> https://fedoraproject.org/wiki/Packaging:Guidelines#No_Files_or_Directories_under_.2Fsrv.2C_.2Fopt.2C_or_.2Fusr.2Flocal
> 
> ---

Can I ask you where specifically you found the statement, that distributions cannot place their data under /opt?

Citing FHS [1]:
"Programs to be invoked by users must be located in the directory /opt/<package>/bin or under the /opt/<provider> hierarchy. If the package includes UNIX manual pages, they must be located in /opt/<package>/share/man or under the /opt/<provider> hierarchy, and the same substructure as /usr/share/man must be used."

And more importantly:
"Distributions may install software in /opt, but must not modify or delete software installed by the local system administrator without the assent of the local system administrator."

-- 
Regards,
Bohuslav "Slavek" Kabrda.

[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES


More information about the devel mailing list