[prev in list] [next in list] [prev in thread] [next in thread]
List: mandrake-cooker
Subject: [Cooker] urpmi is blocked while upgrading
From: Michael Reinsch <mr () uue ! org>
Date: 2005-05-31 2:11:41
Message-ID: 20050531111141.67f0ae9d () nibbler ! uue
[Download RAW message or body]
Hi!
I've seen this for some time now, even before the upgrade to rpm 4.4:
While upgrading the system urpmi is sometimes just blocked, with no
obvious reason (thus my guess is some race condition). I'm seeing this
normally when update-menus is also running.
lsof shows:
# lsof /var/lib/urpmi/.RPMLOCK
COMMAND PID USER FD TYPE DEV SIZE NODE NAME
urpmi 24707 root 5wW REG 3,2 0 727937 /var/lib/urpmi/.RPMLOCK
update-me 25083 root 4u REG 3,2 0 727937 /var/lib/urpmi/.RPMLOCK
urpmi 25192 root 5w REG 3,2 0 727937 /var/lib/urpmi/.RPMLOCK
strace for urpmi (24707):
read(7, <unfinished ...>
strace for urpmi (25192):
futex(0x95ca2d0, FUTEX_WAIT, 1, NULL
and for update-menus:
flock(4, LOCK_SH
So both seem to be locked. I'm not sure if update-menus has anything to
do with it, but as I said, I've only seen that so far when update-menus
is also running.
I've also files a bug report for that:
http://qa.mandrakesoft.com/show_bug.cgi?id=16238
--
Michael Reinsch <mr@uue.org> http://mr.uue.org/
------------------------------------------------------------------------
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic