Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 193477 - Move /lib/modules/<version>/{build,source} to -devel package
Summary: Move /lib/modules/<version>/{build,source} to -devel package
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Brian Brock
: 444297 (view as bug list)
Depends On:
Blocks: FC7Target F13Target
TreeView+ depends on / blocked
Reported: 2006-05-29 13:40 UTC by Robert Scheck
Modified: 2018-04-11 17:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-02-21 00:59:58 UTC

Attachments (Terms of Use)
Untested patch against CVS which should work (deleted)
2006-05-29 13:40 UTC, Robert Scheck
no flags Details | Diff

Description Robert Scheck 2006-05-29 13:40:23 UTC
Description of problem:
You've got dangling symbolic links in /lib/modules/<version> when no -devel 
package is installed, to be exact /lib/modules/<version>/{build,source} are 

I'm no kernel maintainer, but I can't see any reason to keep both symlinks in 
the main package rather to move them to the -devel package. Both symlinks are 
pointing at least to /usr/src/kernels/<version> which is only available, when 
the -devel package is installed - so why not also move the symlinks into -devel?

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

Actual results:
/lib/modules/<version>/{build,source} are dangling symbolic links.

Expected results:
Move /lib/modules/<version>/{build,source} to -devel package.

Additional info:
Untested patch is attached...

Comment 1 Robert Scheck 2006-05-29 13:40:23 UTC
Created attachment 130191 [details]
Untested patch against CVS which should work

Comment 2 Jiri TRAVNICEK, alias JITR {temporarily not reading bugmail} 2006-06-04 01:26:54 UTC
the symlinks `build' and `source' were only recently moved over from the
`kernel-*-devel' packages to the `kernel-*' packages as per bug #149210. I, too,
personally don't consider this to be the best thing.

I filed rather complex bug #193990 on this overall issue.

Comment 3 Robert Scheck 2006-06-04 16:07:07 UTC
Jiri, the reason for opening up this bug report was, that current versions of 
rpm *are* detecting dangling symlinks on runtime, that means while installing 
the package for example (yeah, Fedora is shipping nearly an antiquaric rpm 
version). Nevertheless current behaviour it's worse and very very insane rpm 
packaging - delivering dangling symlinks within a rpm package.

Bad thing to tell guys of the company which invented rpm some years ago about 
the sane rpm packaging... :-(

Comment 4 Robert Scheck 2006-10-14 10:07:26 UTC

Comment 5 Dave Jones 2008-03-24 19:00:57 UTC
my vague recollection on why it was done this way, was that the kernel package
owns the /lib/modules/{version}/ directory, and having kernel-devel put files
into that subdir would mean that if someone removed the kernel rpm, the subdir
wouldn't get removed, due to another package owning files in the hierarchy.

Whether rpm has changed any since this was decided (that was ~5 years back at
least) I have no idea.

Comment 6 Dave Jones 2008-04-26 19:31:51 UTC
*** Bug 444297 has been marked as a duplicate of this bug. ***

Comment 7 Bug Zapper 2008-05-14 02:10:14 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:

Comment 8 Robert Scheck 2008-07-27 14:36:11 UTC
Ping? This is still a rawhide thing...

Comment 9 Matěj Cepl 2008-07-30 15:57:20 UTC
This is duplicate of bug 149210 -- either we should go this or other direction,
but no reason to keep both bugs around. If you want to complain against the
current direction, I think you have very short time -- warren on the other bug
is asking for comments.

*** This bug has been marked as a duplicate of 149210 ***

Comment 10 Robert Scheck 2008-07-30 17:43:39 UTC
Are you kidding me? Is asking for comments? This was in 2005 - three years ago!

Comment 11 Bug Zapper 2008-11-26 01:49:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:

Comment 12 Bug Zapper 2009-06-09 09:09:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:

Comment 13 Christopher Beland 2010-02-25 19:28:47 UTC
The symlinks are still dangling with kernel-  Is this definitely going to stay this way, or is this still considered a problem?  If so, what is the preferred solution?

Comment 14 Bug Zapper 2010-11-04 12:15:53 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here:

Comment 15 Robert Scheck 2010-11-04 20:22:59 UTC
This is still a rawhide thing...

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