[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
MIME registration breaks readonly /usr/share
- From: Enrico Scholz <enrico scholz informatik tu-chemnitz de>
- To: fedora-devel-list redhat com
- Subject: MIME registration breaks readonly /usr/share
- Date: Sat, 18 Sep 2004 00:06:47 +0200
Hello,
the current method to register MIME types (
| update-mime-database "/usr/share/mime"
in %post scriptlets) breaks[1] on setups where /usr/share is mounted
readonly. This bug seems to affect a lot of recent gnome packages so
that a general solution must be found.
The "right" thing would be probably to do the needed checks in the %post
scriptlets. But:
* rpm does not offer simple ways for this[2]
* every package whould need this check
Last point could be solved by a %__update_mime_database macro incorporating
the required tests and actions. But the first issue stays so that a quick
hack like checking for EROFS in 'update-mime-database' is perhaps the best
solution for now.
Enrico
Footnotes:
[1] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=132847
[2] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=51193
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]