From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Description of problem: After updade from diskcheck-1.1-1.noarch.rpm (this rpm works) to diskcheck-1.2- 1.noarch.rpm or diskcheck-1.3-2.noarch.rpm is not working any more. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Upgrade from RH 7.2 to RH 7.3 (update to diskcheck-1.3-2) 2. Set "defaultCutoff=10" (some partition has more than 10% used) 3. Exec "/etc/cron.hourly/diskcheck" => no mail send another try: 1. Install an RH 7.3 out of the box 2. Set "defaultCutoff=10" (some partition has more than 10% used) 3. Exec "/etc/cron.hourly/diskcheck" => no mail send Actual Results: no mail send Expected Results: mail about low disk space Additional info:
Had to make the following changes... if cutoff.has_key(volume): if (nPct < long(cutoff[volume])): continue elif cutoff.has_key(mountpt): if (nPct < long(cutoff[mountpt])): continue elif (nPct < long(conf['defaultCutoff'])): continue Note the use of the long() typecast.
should be fixed in diskcheck >= 1.4
*** Bug 90528 has been marked as a duplicate of this bug. ***