[Yum-devel] Weirdo problem with yum fastestmirror plugin in kickstart %post
Panu Matilainen
pmatilai at laiskiainen.org
Wed Sep 7 18:41:02 UTC 2005
Hi,
Encountered a rather weird problem with yum fastestmirror plugin
(http://people.redhat.com/lmacken/fastestmirror.py) today - if it gets
run in kickstart %post bad things start happening: it seems to die
(according to strace + stderr output) with python threading module
internal exception, caused by the sock.connect((self.host, 80)) timing
out in some abnormal way or something. Running the plugin in verbose
mode reveals it manages to get the first result from the actually
fastest mirror back and then it hangs and eventually dies. What makes it
so bleeping weird is that if you switch to the terminal behind alt-f2
during %post before rebooting and chroot to /mnt/sysimage the thing runs
just fine.
The environment is RHEL 3, haven't tried with FC as I don't have similar
kickstart stuff readily set up for that. The fact that it's threading
related makes me think of some sort of NPTL vs linuxthreads mismatch but
AFAIK anaconda doesn't run under any LD_ASSUME_KERNEL compat stuff ...
Any ideas what might be sufficiently different in the environment in %
post itself versus 'chroot /mnt/sysimage' to cause something like that?
P.S. Oh, I don't really know whether this best belongs to yum-devel,
kickstart-list or anaconda-devel, or none of them :)
- Panu -
More information about the Yum-devel
mailing list