Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: find bad installation folders #18

Open
jonasstein opened this issue Oct 22, 2017 · 1 comment
Open

FR: find bad installation folders #18

jonasstein opened this issue Oct 22, 2017 · 1 comment

Comments

@jonasstein
Copy link
Contributor

jonasstein commented Oct 22, 2017

I just saw, that some packages install into strange folders (for example https://bugs.gentoo.org/635032)

One can get an overview with

qgrep exeinto | grep -v "\\$" | sort | uniq # raw list
qgrep exeinto | sed -e "s/  //g" | grep -v "\\$" | sort | uniq -c | grep -v "usr/bin" # filtered, with histogram

Gentoo packages should follow https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard if possible.

I have no idea yet, how we can filter the "bad" folders and we will have to look at them in detail.
We should have an eye on

exeinto /var*
exeinto /etc/udev*
exeinto /
exeinto /usr/share/   << some may be fine here
exeinto /opt/bin (1)

1) The directories /opt/bin, /opt/doc, /opt/include, /opt/info, /opt/lib, and /opt/man are reserved for local system administrator use. Packages may provide "front-end" files intended to be placed in (by linking or copying) these reserved directories by the local system administrator, but must function normally in the absence of these reserved directories. http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES

@mm1ke
Copy link
Owner

mm1ke commented Oct 28, 2017

Hmm, i will think about it.. The Idea is good, but i don't have an idea too how to find those wrong folders...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants