[Guidelines Change] Changes to the Packaging Guidelines
Matthew Garrett
mjg59 at srcf.ucam.org
Tue Feb 7 13:43:22 UTC 2012
On Tue, Feb 07, 2012 at 01:38:11AM -0500, Bohuslav Kabrda wrote:
> 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."
If the user has put something in /opt then it's not permitted for the
distribution to overwrite it. Since you have no idea what the user may
have installed there, it's not possible for packages to put anything
under /opt.
--
Matthew Garrett | mjg59 at srcf.ucam.org
More information about the devel
mailing list