Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 107278

Summary: kernel-2.eclass wrongly specifies udev as a DEPENDency
Product: Gentoo Linux Reporter: petre rodan (RETIRED) <kaiowas>
Component: EclassesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED LATER    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/kernel-2.eclass?r1=1.137&r2=1.138
Whiteboard:
Package list:
Runtime testing required: ---

Description petre rodan (RETIRED) gentoo-dev 2005-09-26 06:21:32 UTC
I am using static devs everywhere and I do not want to have udev installed.
please remove or rethink the following line from kernel-2.eclass:

kernel_is ge 2 6 13 && DEPEND="${DEPEND} sys-fs/udev"

Is there any real need (that I'm missing) for this dependency?
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2005-09-26 06:25:12 UTC
I'm sure this is a dupe but I cant see the original.
What I really need to do is a block on devfsd rather than a depend on udev.
This was put in a while back because devfsd was dropped on 2.6.13 and udev can
happily co-exist. By blocking devfsd, and not depending on udev then users will
potentially end up with no /dev manager, which as a whole is a bad thing.

I'll have a think about this, but I'm open to ideas since this will effect quite
a large number of people. I think udev is in the base system which might mean
this is non-issue, but we will see.
Comment 2 petre rodan (RETIRED) gentoo-dev 2005-09-26 06:59:47 UTC
> I'm sure this is a dupe but I cant see the original.

well, maybe it's because I sent this 'bug' as an email a week ago :)

the thing that really bothers me is that if I merely install udev, at the next 
reboot the udevd is being loaded. even if RC_DEVICES="static". I will dig in
this direction too.

> I'll have a think about this, but I'm open to ideas since this will effect 
> quite a large number of people.

maybe you can add a staticdev USE flag to all kernel ebuilds that won't force
udev being installed?
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-09-29 01:46:46 UTC
Blocking devfsd is a bad idea as it harms people who dual-boot with older
kernels such as 2.4

The udev dep was added for ease of migration for the common users, I guess we'll
drop it at some point in the future when devfs is phased out even further.

For now you can use /etc/portage/package.provided