Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161298 - sys-apps/usbutils-0.71-r2 FHS violation (writes to /usr)
Summary: sys-apps/usbutils-0.71-r2 FHS violation (writes to /usr)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-10 11:13 UTC by Ulrich Müller
Modified: 2007-04-13 09: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 Ulrich Müller gentoo-dev 2007-01-10 11:13:28 UTC
usbutils-0.71-r2 uses a cron job to update /usr/share/misc/usb.ids. This does not work for a read-only /usr partition.

According to the FHS 2.3 (chpater 4):
| /usr is shareable, read-only data. That means that /usr should
| be shareable between various FHS-compliant hosts and must not be
| written to. Any information that is host-specific or varies with
| time is stored elsewhere.

usb.ids should be moved to /var/lib/misc (probably with a symlink to its old location).

Another question is, if it is a good idea to unconditionally enable that periodic update.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 12:10:15 UTC

*** This bug has been marked as a duplicate of bug 161296 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 12:10:31 UTC
Dupe.
Comment 3 Ulrich Müller gentoo-dev 2007-01-10 13:36:54 UTC
Different package, therefore different bug.
Reopening.
Comment 4 SpanKY gentoo-dev 2007-01-19 04:12:10 UTC
but the solution is the exact same
Comment 5 Ulrich Müller gentoo-dev 2007-01-19 08:52:32 UTC
(In reply to comment #4)
> but the solution is the exact same

So how about reopening bug #156183 (which is IMHO not "RESOLVED FIXED") and marking this one as a duplicate of it? ;-)
Comment 6 SpanKY gentoo-dev 2007-02-10 00:41:30 UTC
update-usbids no longer tries to write to /usr if it is read-only
Comment 7 SpanKY gentoo-dev 2007-04-13 09:42:51 UTC
cronjob is no longer enabled by default ... if /usr is readonly, the file is not updated