Red Hat Bugzilla – Bug 136015
[FHS] firefox creates files not tracked by RPM in /usr/lib/firefox-0.10.1/chrome/, others
Last modified: 2008-05-01 11:38:06 EDT
After an installation of Fedora Core rawhide, an unknown process modifies files
in the path ``/usr/lib/firefox-0.10.1/chrome/'' and others under the path
``/usr/lib/firefox-0.10.1/chrome/'' is owned by the package ``firefox''.
``/usr is the second major section of the filesystem. /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.''
``/usr/lib includes object files, libraries, and internal binaries that are not
intended to be executed directly by users or shell scripts.''
The files in these various hierarchies do not appear to be object files,
libraries, nor internal binaries, but data files. They also do not appear to
have been updated except during package management. However, they are not
tracked by package management as they were [apparently] generated at install
time and left unassociated with the package they were generated by. If the data
can not or should not be generated on the fly, it may be best suited for storage
in the ``/var/cache'' hierarchy.
``/var/cache is intended for cached data from applications. Such data is locally
generated as a result of time-consuming I/O or calculation. The application must
be able to regenerate or restore the data. Unlike /var/spool, the cached files
can be deleted without data loss. The data must remain valid between invocations
of the application and rebooting the system.''
Steps to Reproduce:
Created attachment 105328 [details]
list of all files in /usr/lib/firefox-0.10.1/ that are in neither rpmdb nor rpmdb-fedora
Should be fixed in rawhide.