Bug 127834 - Wastes / with >12MB of unneeded files
Wastes / with >12MB of unneeded files
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2004-07-14 10:50 EDT by Enrico Scholz
Modified: 2015-01-04 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version: FC4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-13 20:47:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2004-07-14 10:50:31 EDT
Description of problem:

The kernel package contains lots of files under /lib/modules/*/build.
These files are unneeded for normal operation and should be

* either in a separate subpackage, and/or
* by placed under /usr/src/linux-<ver>/ which would be linked to 

Current package wastes lots of space in the root-filesystem and there
is no way to prevent this. With the methods above, administrator could
either skip installation of the extra-package, add /usr/src to
%_netsharedpath or place /usr/src on a filesystem with more space.

Version-Release number of selected component (if applicable):

Comment 1 Arjan van de Ven 2004-07-14 10:53:16 EDT
the convenience of the current method outweighs the 12Mb cost; 12Mb is
almost nothing.
Comment 2 Enrico Scholz 2004-07-14 10:58:58 EDT
Usually, you have multiple kernel-versions installed (default-setup of
apt and yum). So it can happen, that you waste 40-60 MB on a 150 MB
sized / filesystem.

And I do not see the advantages of the current method against symlinks
into /usr/src or a separate subpackage.
Comment 3 Arjan van de Ven 2004-07-14 11:02:23 EDT
there is no such cumulative waste since these files are hardlinked to
Comment 4 Enrico Scholz 2004-07-14 11:13:26 EDT
ok, some files get hardlinked indeed. But / is still the wrong place
for development headers and should be used only for files which are
needed to bring the system up.

Therefore, please relocate/remove the kernel-header from /lib.
Comment 5 Enrico Scholz 2005-01-19 20:24:54 EST
can we fix this for FC4 please?
Comment 6 Rahul Sundaram 2005-08-13 20:11:49 EDT
Reassigning to Dave Jones since the Fedora kernel is no longer maintained by
Arjan  Van De Ven
Comment 7 Warren Togami 2005-08-13 20:47:53 EDT
This was fixed a long time ago with the kernel-devel of FC4+

Note You need to log in before you can comment on or make changes to this bug.