RPM Community Forums

Mailing List Message of <rpm-users>

Re: I killed my RPMDB --- any rescue possible?

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 13 Jun 2011 - 17:18:07 CEST
Message-id: <2C8CC412-23F4-45C7-964C-F87404F9460B@mac.com>

On Jun 13, 2011, at 11:05 AM, Eric MSP Veith wrote:

> What's the preferred way to initially populate a chroot? 

The only difference in rpm-5.3 related ro your issue
is running dbconvert.sh in %posttrans.

The whole idea of converting an *active* rpmdb *automagically*
is _INSANE_. There are far far too many error cases for any
dbconvert.sh script to _GUARANTEE_ success _ALWAYS_.

Everything is _EXACTLY_ as has always been implemented with
rpm and chroot(2). There are no changes:
	A script/executable invoked while installing with rpm -r
	can escape a chroot and do whatever it wishes.

73 de Jeff

  • application/pkcs7-signature attachment: smime.p7s
Received on Mon Jun 13 17:18:28 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.