First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 97796
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: John Mylchreest (RETIRED) <johnm@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Petteri Räty <betelgeuse@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97796 depends on: Show dependency tree
Bug 97796 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-03 02:40 0000
R_MODULES="${ROOT}/usr/share/module-rebuild/moduledb"

/usr/share is only for static data. /var/lib should be used for changing data. If I wanted, I should be able to mount /usr read-only.

------- Comment #1 From Petteri Räty 2005-07-03 02:42:47 0000 -------
/usr/share:
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA
/var/lib:
http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBVARIABLESTATEINFORMATION

------- Comment #2 From John Mylchreest (RETIRED) 2005-07-05 03:17:05 0000 -------
that is of course assuming we follow the FHS. Which (strictly speaking) we
dont.
Will look at this sometime.

------- Comment #3 From Petteri Räty 2005-07-05 03:27:40 0000 -------
We don't strictly follow FHS, but I think this thing is followed also on
Gentoo.
There is a question about this in the end of mentoring quiz (12).

------- Comment #4 From Petteri Räty 2005-07-05 03:30:11 0000 -------
I can make patches for this, if you are not interested.

------- Comment #5 From John Mylchreest (RETIRED) 2005-07-05 04:27:29 0000 -------
fixed in cvs. please try 0.5 shortly.

------- Comment #6 From Petteri Räty 2005-07-05 05:41:15 0000 -------
I think you should have moved the moduledb from /usr/share to /var/lib in the
ebuild. Now everyone has to repopulate their moduledb and the old moduledb is
left as a cruft to the system.

------- Comment #7 From John Mylchreest (RETIRED) 2005-07-05 06:42:26 0000 -------
I considered doing that actually, but decided to make a clean break away from
it.
There are two parts to this. the eclass linux-mod and the module-rebuild
script.
in this case, the eclass handles what should be done re: the moduledb database.

if module-rebuild hasnt already repopulated then it moves the old database to
the new location. when this goes stable, it would be prefered that we
re-populate than to move the original one.

in any case, it removes the old cruft.

First Last Prev Next    No search results available      Search page      Enter new bug