Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923116

Summary: app-admin/gentoo-retirement-scripts-2 should install files in /usr but not in /opt
Product: Gentoo Linux Reporter: Jonas Stein <jstein>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: CONFIRMED ---    
Severity: normal CC: jstein, ulm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonas Stein gentoo-dev 2024-01-28 11:23:33 UTC
/opt is reserved for Add-on packages which run stand-alone without dependencies to the distribution. 

Even if Gentoo is not yet fully compatible with the FHS, we do not want to disregard this very useful standard.

https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#optAddonApplicationSoftwarePackages

-----8<-----------------------------------------------
equery f app-admin/gentoo-retirement-scripts
 * Searching for gentoo-retirement-scripts in app-admin ...
 * Contents of app-admin/gentoo-retirement-scripts-2:
/opt
/opt/gentoo-retirement-scripts
/opt/gentoo-retirement-scripts/check-commit-activity.py
/opt/gentoo-retirement-scripts/commit-access-suspension.template
/opt/gentoo-retirement-scripts/first-mail-nocommit.template
/opt/gentoo-retirement-scripts/first-mail.template
/opt/gentoo-retirement-scripts/fourth-mail.template
/opt/gentoo-retirement-scripts/reassign-packages.py
/opt/gentoo-retirement-scripts/scan-open-bugs.py
/opt/gentoo-retirement-scripts/second-mail.template
/opt/gentoo-retirement-scripts/send-email.py
/opt/gentoo-retirement-scripts/third-mail.template
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-28 17:11:33 UTC
> Add-on packages which run stand-alone without dependencies to the distribution.

That's curious because none of the packages in my /opt match this description.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-28 17:27:09 UTC
Also, IIRC, the scripts require a flat-layout, which /opt is for.
Comment 3 Ulrich Müller gentoo-dev 2024-01-30 08:30:38 UTC
So it's o.k. to have a flat layout? I'll try to remember this for my next python package. :)