[sos-devel] [PATCH v4] sosreport: Check for rpm database corruption during initialization

Bryn M. Reeves bmr at redhat.com
Tue Jan 27 13:12:06 UTC 2015


On Tue, Jan 27, 2015 at 12:02:26PM +0530, Vasant Hegde wrote:
> On 12/15/2014 06:15 PM, Bryn M. Reeves wrote:
> > On Fri, Dec 12, 2014 at 11:27:07AM +0530, Aruna Balakrishnaiah wrote:
> >> sosreport runs an rpm query to get the package list. If rpmdb is corrupted
> >> sosreport hangs for ever hence check for rpmdb consistency before running
> >> the rpm query
> 
> Bryn,
> 
> 
> > 
> > Thanks Aruna, this looks good. The only remaining question I think is how
> > long the timeout should be; I'll merge it with the current setting but in
> > most of my tests this operation completes in <30s (actually the vast
> > majority it's <5s - typically 1-2s).
> > 
> 
> [ Aruna (author of this patch) left IBM recently and I'm going to take care of
> outstading
> patches ]
> 
> I look into upstream sos and looks like this one is not yet merge..
> 
> Can you please look into this one ?

Applied, thanks!

Regards,
Bryn.




More information about the sos-devel mailing list