[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm from rescue CD
- From: Jeff Johnson <n3npq jbj gmail com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: rpm from rescue CD
- Date: Thu, 30 Mar 2006 17:43:40 -0500
On Mar 30, 2006, at 5:35 PM, Bob Tennent wrote:
error: can't create transaction lock on /var/lib/rpm/_db.000
|>
|
|Doing
| mkdir /var/lib/rpm
|probably resolves the problem.
Yes it does; thanks.
|Shouldn't that be /mnt/sysimage/var/lib/rpm?
No, that exists already.
|lfr
|bind mount /mnt/sysimage/var/lib/rpm to /var/lib/rpm outside the
root.
Sorry, I don't understand that.
The issue is whether the lock is global and within the rescue disk
chroot or not
The bind mount maps to the directory within the chroot.
On a rescue mode boot it hardly matters.
FWIW, the fcntl lock has been turned off by default in later versions
of rpm because
of path craziness just like this. The few apps that might want
exclusive transaction locking
can turn the lock on if they wish.
73 de Jeff
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]