Bug 186396 - Anaconda grabs __db.000 lock on host not target under Kadischi
Anaconda grabs __db.000 lock on host not target under Kadischi
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
:
Depends On:
Blocks: FC6Target
  Show dependency treegraph
 
Reported: 2006-03-23 06:28 EST by Jasper O. Hartline
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-09-06 08:47:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jasper O. Hartline 2006-03-23 06:28:23 EST
Description of problem:
While running Anaconda under Kadischi, RPM transactions aren't possible on the
host. lsof shows that Anaconda grabs all required locks in the target system 
__db.00{1,2,3} but __db.000 is locked on the host, rather than the target.

Not exactly sure this is supposed to be this way, it could be perhaps.
It could also be a falling out between Anaconda and any changes between it and
the RPM Python modules. I didn't look into it too deep.

It is my understanding Anaconda should only grab those locks in which are
intended under the --rootpath specified. This is how Kadischi invokes Anaconda
also. Thanks.

Version-Release number of selected component (if applicable):
anaconda-11.0.5-1

How reproducible:
Run Anaconda under Kadischi, try an RPM transaction on the host.

Steps to Reproduce:
1. RPM transactions
2.
3.
  
Actual results:
RPM transaction on the host were not possible during running of Anaconda and
Kadischi. 

Expected results:
Should perhaps be able to install something, anything say with rpm or yum while
using Kadischi with Anaconda.

Additional info:
I can provide a brief lsof text if needed, Anaconda grabs the locks mentioned
above in the target, but grabs the __db.000 lock on the host.
Comment 1 Curtis Doty 2006-07-04 00:09:37 EDT
I have a separate issue with anaconda holding locks on
/var/lib/rpm/__db.00{1,2,3}. In %post I would like to briefly unmount /var but
cannot due to these locks. I think this started around core 4 or core 5.
Comment 2 Jasper O. Hartline 2006-09-06 08:25:49 EDT
This issue seems to have been fixed. While using the latest RAWHIDE as of today
September 6th 2006, I can successfully run Kadischi and install some package
with Yum at the same time. 

Thanks.

Note You need to log in before you can comment on or make changes to this bug.