deadlock in rpm5 /urpmi

Bug #914273 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned
Mandriva
Confirmed
Critical

Bug Description

tracker - users/developers have expectations that are not implemented
in urpmi correctly (to meet expectations).

the running application is urpmi.

urpmi is calling through perl bindings to rpm lib and Berkeley DB and
is deadlocking between multiple package erasures traversing critical
regions of data in use by other processes, which also are using database resources.

Berkeley DB is already providing full isolation
(the I in ACID) transactional support.

rpmlib has additional fcntl locking that can be used to
serialize requested operations (in this case competing erasures).

All that rpmlib and Berkeley DB can do is detect the improper usage,
warn and deadlock when multiple instances of urpmi are run concurrently.

Tags: mandriva rpmdb
Jeff Johnson (n3npq)
tags: added: mandriva rpmdb
Jeff Johnson (n3npq)
description: updated
Changed in mandriva:
importance: Unknown → Critical
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.