View previous topic :: View next topic |
Author |
Message |
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Nov 01, 2008 1:54 am Post subject: Get rid of the curse of kerberos?[SOLVED] |
|
|
Is it possible to just get rid of this nasty package? After the recent com-err/ss/e2fsprogs-libs mess, it looks like this thing is more of a liability than an asset. I'm not even sure what packages really need it. Plus, I'm now reading that it has been abandonded by the original developers, and a lone, brave Gentoo dev has taken it upon himself to keep it alive for the time being...thanks to that guy, we still have working systems. However, is there any reason this package is required...I think samba is the only reason it is on my system at all, but I get depencies from several other packages, even after I put -kerberos in my USE flags. Anybody know how to ditch this kerberos junk?
Last edited by platojones on Sat Nov 01, 2008 11:28 pm; edited 1 time in total |
|
Back to top |
|
|
danomac l33t
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Sat Nov 01, 2008 3:10 am Post subject: |
|
|
I'd use equery to see what depends on it, then recompile the dependencies without support. After that it should be able to be removed. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Nov 01, 2008 4:10 am Post subject: |
|
|
First, set USE="-kerberos" in your make.conf
Next, unmerge app-crypt/mit-krb5
Finally, run revdep-rebuild to repair all the broken packages. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9526 Location: beyond the rim
|
Posted: Sat Nov 01, 2008 4:42 am Post subject: |
|
|
cyrillic wrote: | First, set USE="-kerberos" in your make.conf
Next, unmerge app-crypt/mit-krb5
Finally, run revdep-rebuild to repair all the broken packages. |
Unfortunately you might break wget in the process (by breaking openssl), which would prevent you from rebuilding some packages where you haven't fetched the distfiles yet. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sat Nov 01, 2008 6:14 am Post subject: |
|
|
platojones wrote: | Plus, I'm now reading that it has been abandonded by the original developers, and a lone, brave Gentoo dev has taken it upon himself to keep it alive for the time being...thanks to that guy, we still have working systems. | You might be reading too much into a message to gentoo-dev, the herd had no specific maintainer, upstream was still active, mostly. |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Nov 01, 2008 11:26 am Post subject: |
|
|
Damn, why don't you just upgrade kerberos? 1.6.3-r4 is stable for a few days now and it depends on either the old com_err + the_other_one or just on e2fsprogs-libs! |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Nov 01, 2008 12:19 pm Post subject: |
|
|
cyrillic wrote: | First, set USE="-kerberos" in your make.conf
Next, unmerge app-crypt/mit-krb5
Finally, run revdep-rebuild to repair all the broken packages. |
I did exactly that. After rebuilding with --newuse (with the -kerberos use flag), mit-krb5 got pulled right back in again. Some package, maybe openssl, wants kerberos. Actually, there are several packages that depend on it, even with -keberos set. |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Nov 01, 2008 12:21 pm Post subject: |
|
|
szczerb wrote: | Damn, why don't you just upgrade kerberos? 1.6.3-r4 is stable for a few days now and it depends on either the old com_err + the_other_one or just on e2fsprogs-libs! |
Yes, I did that. It works. But it is behind this latest issue with e2fsprogs. My point was why there are dependencies on it at all...all of this could be avoided. |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Nov 01, 2008 4:34 pm Post subject: |
|
|
OK then - sorry I just got irritated that people started already like a dozen threads and keep asking for the same over and over again even though half of those threads are still on the first page - so they don't even have to search. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Nov 01, 2008 5:59 pm Post subject: |
|
|
platojones wrote: | Actually, there are several packages that depend on it, even with -keberos set. |
None of the packages on my machines have a hard dependency on mit-krb5, they are all optional dependencies based on USE="kerberos" or some other USE flag.
Code: | # equery depends mit-krb5
[ Searching for packages depending on mit-krb5... ]
dev-libs/openssl-0.9.8i (kerberos? app-crypt/mit-krb5)
dev-util/cvs-1.12.12-r5 (kerberos? virtual/krb5)
gnome-base/gnome-vfs-2.24.0 (kerberos? virtual/krb5)
gnome-extra/evolution-data-server-2.22.3-r1 (kerberos? virtual/krb5)
(krb4? virtual/krb5)
mail-client/evolution-2.22.3.1 (kerberos? virtual/krb5)
(krb4? virtual/krb5)
net-fs/autofs-5.0.3-r6 (sasl? virtual/krb5)
net-fs/nfs-utils-1.1.4 (!nonfsv4 & kerberos? app-crypt/mit-krb5)
net-fs/samba-3.0.32 (ads? virtual/krb5)
net-misc/curl-7.18.2 (kerberos? virtual/krb5)
net-misc/neon-0.28.3 (kerberos? virtual/krb5)
net-misc/openssh-5.1_p1-r1 (kerberos? virtual/krb5)
net-print/cups-1.3.9 (kerberos? virtual/krb5) |
|
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Nov 01, 2008 7:26 pm Post subject: |
|
|
cyrillic wrote: | platojones wrote: | Actually, there are several packages that depend on it, even with -keberos set. |
None of the packages on my machines have a hard dependency on mit-krb5, they are all optional dependencies based on USE="kerberos" or some other USE flag.
Code: | # equery depends mit-krb5
[ Searching for packages depending on mit-krb5... ]
dev-libs/openssl-0.9.8i (kerberos? app-crypt/mit-krb5)
dev-util/cvs-1.12.12-r5 (kerberos? virtual/krb5)
gnome-base/gnome-vfs-2.24.0 (kerberos? virtual/krb5)
gnome-extra/evolution-data-server-2.22.3-r1 (kerberos? virtual/krb5)
(krb4? virtual/krb5)
mail-client/evolution-2.22.3.1 (kerberos? virtual/krb5)
(krb4? virtual/krb5)
net-fs/autofs-5.0.3-r6 (sasl? virtual/krb5)
net-fs/nfs-utils-1.1.4 (!nonfsv4 & kerberos? app-crypt/mit-krb5)
net-fs/samba-3.0.32 (ads? virtual/krb5)
net-misc/curl-7.18.2 (kerberos? virtual/krb5)
net-misc/neon-0.28.3 (kerberos? virtual/krb5)
net-misc/openssh-5.1_p1-r1 (kerberos? virtual/krb5)
net-print/cups-1.3.9 (kerberos? virtual/krb5) |
|
I'm just curious...what tells you these are optional? If they are optional, shouldn't I be able to get rid of the kerberos dependency just by setting -kerberos in the use flag in make.conf, unmerging kerberos and rebuild them? Because I did that and they still pull kerberos in. What would I need to do to get rid of kerberos on my system (and still keep these packages)? |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9526 Location: beyond the rim
|
Posted: Sat Nov 01, 2008 7:30 pm Post subject: |
|
|
If you take a closer look you'll see that some of them are triggered by other use flags (krb4, sasl, ads). |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Nov 01, 2008 7:45 pm Post subject: |
|
|
Yes, agreed. In my case, it seems to be the ssl use flag that is bringing in kerberos. So the question would be, why does ssl depend on kerberos? |
|
Back to top |
|
|
Nerevar l33t
Joined: 31 May 2008 Posts: 720
|
Posted: Sat Nov 01, 2008 8:59 pm Post subject: |
|
|
I believe the question mark tells you they're optional. Hard dependencies won't have the question mark. Try doing just an emerge -av1 openssl and see if the kerberos flag is set. If it is, check your /etc/portage/package.use file. It looks like you'll also need to make sure the sasl/krb4 and ads USE flags aren't set.
Last edited by Nerevar on Sat Nov 01, 2008 9:05 pm; edited 1 time in total |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Nov 01, 2008 9:05 pm Post subject: |
|
|
DarrenSmith wrote: | I believe the question mark tells you they're optional. Hard dependencies won't have the question mark. Try doing just an emerge -av1 openssl and see if the kerberos flag is set. If it is, check your /etc/portage/package.use file. |
Here's what I get:
Code: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-libs/openssl-0.9.8h-r1 USE="zlib -bindist -gmp -kerberos -sse2 -test" 0 kB
|
Looking at the ebuild for openssl, though, it has this in it:
Code: |
IUSE="bindist gmp kerberos sse2 test zlib"
RDEPEND="gmp? ( dev-libs/gmp )
zlib? ( sys-libs/zlib )
kerberos? ( app-crypt/mit-krb5 )"
|
Looks like it has a hard dependency on kerberos, no matter what the kerberos use flag is set to. |
|
Back to top |
|
|
Nerevar l33t
Joined: 31 May 2008 Posts: 720
|
Posted: Sat Nov 01, 2008 9:09 pm Post subject: |
|
|
I imagine you're getting hit by the same thing I was. If the configure finds kerberos on your system, it will use it no matter how the USE flags are set. You'll need to make sure you have all your packages fetched and then remove kerberos and then update with --newuse.
Edit: I just read this again and see that you tried that. So, which package is pulling in kerberos? It looks like the output of openssl above isn't. |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Nov 01, 2008 9:21 pm Post subject: |
|
|
I believe the RDEPEND in the openssl ebuild is doing it. From what I read in the dev handbook, RDEPEND requires that package to be present. So openssl appears to demand that kerberos be there. |
|
Back to top |
|
|
Nerevar l33t
Joined: 31 May 2008 Posts: 720
|
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Nov 01, 2008 10:47 pm Post subject: |
|
|
Thanks for clearing that up. I see now how I was misinterpreting it. What's actually pulling kerberos back in is the perl GSSAPI module. That sets off a number of other depencies, but maybe I can unwind it. I'll give it a shot. |
|
Back to top |
|
|
hitachi Guru
Joined: 20 Feb 2006 Posts: 478 Location: Freiburg / Deutschland
|
Posted: Wed Nov 05, 2008 8:03 am Post subject: |
|
|
Hi,
I just did an --sync -DuavN world (rebuild a lot of packages) and then --depclean did remove mit-krb5. Looks like there has been some cleaning somewhere.
revdep-rebuild than rebuild: Quote: | [ 52% ] * broken /usr/lib64/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so (requires libgssapi_krb5.so.2
libk5crypto.so.3
libkrb5.so.3)
[ 99% ] * broken /usr/sbin/smbd (requires libgssapi_krb5.so.2
libk5crypto.so.3
libkrb5.so.3)
emerge --oneshot --pretend --verbose net-fs/samba:0
x11-libs/gtk+:2
|
Thanks for that. Good job. |
|
Back to top |
|
|
|