[Yum] Yum 2.2.2 and FUTEX_WAIT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

We run yum 2.2.2 in %post of kickstart to install various yum groups.
We do it in a for loop like so:

for group in Insight-Manager ECS-Workstation ClearCase6 CrossOver-Office
Eclipse Enlightenment FVWM2 Oracle-Client Valgrind WindowMaker XFCE
Xine; do
    COMMAND="/usr/bin/yum -y groupinstall $group"
    echo "YUM COMMAND: $COMMAND" >> /var/log/postinstall
    $COMMAND </dev/null >>/var/log/postinstall 2>&1
    if [ "$?" != 0 ]; then
        echo "YUM FAILURE: $COMMAND" >>/var/log/postinstall
    fi
    /usr/bin/yum clean all
done

We have to do this because /var would fill up considering the size of
the groups (yum clean is needed after each group).  I'm watching an
install where the group FVWM2 installed fine, but Oracle-Client is hung.
When I switch to Alt-F2, strace on the yum process shows:
futex(0x8ee4bd8, FUTEX_WAIT, 1, NULL <unfinished> ...>

This yum process has been just sitting there for the last 25 minutes
with zero output on the screen.  It appears its waiting on a locked RPM
database or something.  There are zero RPM or yum commands running
besides this yum command.

What is going on?  Is there a timeout we can specify in yum.conf so yum
will fail after say 10 minutes of being unable to lock whatever it's
trying to lock?

Thanks.

/Brian/
-- 
       Brian Long                      |         |           |
       IT Data Center Systems          |       .|||.       .|||.
       Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
       Phone: (919) 392-7363           |   C i s c o   S y s t e m s


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux