1 |
On Thursday 03 November 2005 01:52, Sebastian Redl wrote: |
2 |
> Duncan wrote: |
3 |
> >What depclean does is starting from your world file (and including stuff |
4 |
> >in your system profile that's not specifically listed in the world file), |
5 |
> >figure out what each package listed there needs to RUN (run-time |
6 |
> >dependencies, as opposed to compile-time dependencies), BASED ON CURRENT |
7 |
> >USE FLAGS, then unmerge other packages as unnecessary. |
8 |
> |
9 |
> Actually, that's not 100% correct. If that was so, depclean would never |
10 |
> remove system packages. |
11 |
> But it does. On my setup, which is purely udev, depclean wants to |
12 |
> remove devfsd. It warns me that it wants to remove the system package, |
13 |
> but it would do it anyway. |
14 |
|
15 |
devfsd and udev are responsible for managing the /dev filesystem so the system |
16 |
profile needs a package that fills this requirement. |
17 |
|
18 |
# grep dev-manager /usr/portage/profiles/base/packages |
19 |
virtual/dev-manager |
20 |
|
21 |
The gentoo developers decided to make this system requirement depend on a |
22 |
virtual so the profile becomes more flexible. |
23 |
|
24 |
# grep dev-manager /usr/portage/profiles/base/virtuals |
25 |
virtual/dev-manager sys-fs/udev |
26 |
|
27 |
And there we have it, the Gentoo developers have decided they want udev to be |
28 |
responsible for managing the /dev filesystem. So we can conclude: |
29 |
1. devfsd is obsolete and replaced by udev |
30 |
2. if udev is installed (which it should) then the system profiles requirement |
31 |
for a dev-manager has been filled |
32 |
3. devfsd is no longer required for the system profile and can be removed |
33 |
|
34 |
Why do I get the warning about unmerging a system package? |
35 |
Because devfsd still provides virtual/dev-manager, virtual/dev-manager is |
36 |
still part of the system profile. So even though Gentoo favors udev over |
37 |
devfsd, devfsd still provides functionality that the system profile requires. |
38 |
And that's why you get that message. |
39 |
|
40 |
Note: You can safely unmerge devfsd as long as you've got RC_DEVICES set to |
41 |
"auto" or "udev" in /etc/conf.d/rc |
42 |
-- |
43 |
gentoo-amd64@g.o mailing list |