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

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue Jan 27 06:32:26 UTC 2015


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 ?

-Vasant




More information about the sos-devel mailing list