[Yum] Yum service hangs
mstenner at ece.arizona.edu
Wed Sep 1 16:44:19 UTC 2004
On Wed, Sep 01, 2004 at 12:27:50PM -0400, Michael Jennings wrote:
> > I would suspect network rather than than rpmdb. I don't thing rpm
> > uses any sub-processes that it could conceivably be connecting TO,
> > though? Seth? Are you using ftp or http?
> There's only one repository listed in the chroot's yum.conf. It is
> http://127.0.0.1/..., so it shouldn't have any network problems at
> all. And it only seems to happen when yum is called to install a
> package that doesn't exist, like so:
Yeah, that's crazy and a bit puzzling.
> > If multiple people are having the same problem, I'd love to find out
> > more. However, I'll need to be able to recreate it locally.
> I'd be happy to do any tracing I can to help. I looked for a python
> option to trace a script, but I was unable to find one.
Sadly, there really isn't a good way to do that. You could, of
course, run it in a debugger. Other than that... try turning the
debug level WAY up to see if you can figure out what's going on just
by yum telling you what it's about to do. The next step would be to
go into the code and add extra logging to help pin it down.
> If I were to provide an account on the system having the issue, would
> that suffice?
Perhaps. Basically, this is either a networking issue or it's not.
If it is, then it's my domain. In that case, I would ultimately be
able to debug it with a regular account. However, in order to
determine if it's a networking issue and WHERE, I'd need to run a
hacked-up version of yum as root. Clearly, this could adversely
affect your system. If you can do these initial stages, that would
help. Try and find out if it's hanging anywhere under a call into
urlgrabber. If so, find out what the args are. From there, I can
play with it.
Here's the thing, though. In the current way of doing things, yum
should KNOW it doesn't have an "expect" package because it's
downloaded headers.info. It's not like it needs to try fetching it to
find out it isn't available. (you have done a recent yum-arch,
Michael D. Stenner mstenner at ece.arizona.edu
ECE Department, the University of Arizona 520-626-1619
1230 E. Speedway Blvd., Tucson, AZ 85721-0104 ECE 524G
More information about the Yum