Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6196 - FHS violations
Summary: FHS violations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-08 05:04 UTC by Seemant Kulleen (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2002-08-08 05:04:47 UTC
Gentlemen,

scrollkeeper, gnome-vfs and anjuta all violate FHS compliance. PLease do (after
emerging gentoolkit, of course):

qpkg -f /usr/doc
and repeat for /usr/man and /usr/info

according to fhs and gentoo standards, stuff should go into
/usr/share/{doc,info,man}

thanks
Comment 1 Spider (RETIRED) gentoo-dev 2002-08-08 08:06:51 UTC
spider@Darkmere> qpkg -f /usr/doc -v                                           
                                                                   ~
gnome-base/gnome-vfs-1.0.5-r2 *
gnome-base/gnome-vfs-2.0.1 *
gnome-base/gnome-vfs-2.0.2 *
sys-apps/baselayout-1.7.9-r1 *
x11-misc/bbconf-1.6 *


Hmm, Not sure about scrollkeeper.. what did you get for that?

I'll take another look at gnome-vfs and see.


What about wine, is that settled now? (no,  I dont think
/usr/wine/{lib,bin,include} is good.)
Comment 2 Spider (RETIRED) gentoo-dev 2002-08-08 08:18:51 UTC
checking this some further :
qpkg gnome-base/gnome-vfs-1.0.5-r2 -v -l |grep "/usr/doc"
/usr/doc
Darkmere root # qpkg gnome-base/gnome-vfs-2.0.2 -v -l |grep "/usr/doc"
/usr/doc


It appears that neither package installs -anything- under it, but makes sure the
directory exists.  Is this still a violation when no files are there?  
Especially since baselayout creates the symbolic link.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-08 08:22:11 UTC
app-text/scrollkeeper-0.3.11 *
dev-libs/expat-1.95.4 *
dev-util/cook-2.20 *


ok, including raker on this report, to see his opinion on the wines.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-14 08:32:31 UTC
spider, better to not have the ebuilds even touch the /usr/doc directory. 
basically, they're creating the directory under ${D}
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-30 09:33:51 UTC
nick, phoenix:

are wine and winex within FHS compliance?
Comment 6 Nick Hadaway 2002-08-30 10:02:09 UTC
neither wine nor winex is within FHS compliance. 
 
I will be looking through both ebuilds today and monday (i'll be up north this 
weekend with no electricity and no computer)  to see if I can get things 
installed in a compliant manner. 
 
winex is closer... if that means anything...  :) 
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-07 08:38:20 UTC
phoenix, nick:

can this bug be closed then?  are wine and winex FHS compliant now?
Comment 8 Nick Hadaway 2002-09-11 16:40:59 UTC
4.7 /usr/lib : Libraries for programming and packages
4.7.1 Purpose
/usr/lib includes object files, libraries, and internal binaries that are not 
intended to be executed directly by users or shell scripts.[footnote 18] 

Applications may use a single subdirectory under /usr/lib. If an application 
uses a subdirectory, all architecture-dependent data exclusively used by the 
application must be placed within that subdirectory.

Since we have wrapper scripts in /usr/bin for the wine and winex packages and 
all the files in /usr/lib/wine* are not meant to be executed directly by the 
user, I would surmise that we are within FHS compliance.

It appears that we have been using /opt for binary-only packages.  One MAY 
argue that by the standard, /opt would be a "better place" for wine but I would 
disagree.  By definition, i think we should consider binary-only packages /opt
(ional) and wine as a standard application.