Red Hat Bugzilla – Bug 79539
diskcheck -1.2.1 broken after python upgrade
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET
Description of problem:
The diskcheck-1.2.1 program does not send out notifications if it is run on a
fully patched 7.3 system.
I don't know when it broke.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install diskcheck-1.2.1 on a RH 7.3 system that has all patches
2.modify /etc/diskcheck.conf to 1% so it will page
3.run diskcheck in /etc/crond.hourly
Actual Results: no output. no email.
Expected Results: send email to root@localhost
fixed in 1.4-1, should be no problem to run it on 7.3
Will RedHat make 1.4-1 available on up2date any time soon?
When will the new diskcheck be added to up2date?
This seems to be a problem with type casts. Add the line
defaultCutoff = long(conf['defaultCutoff'])
after the line
nPct = long(pct[:-1])
That is around line 284 (on diskcheck 1.3-2). Replace all upcoming occurrences
of "conf['defaultCutoff']" with "defaultCutoff".
That's it. If there is an updated package, why isn't that in the updates dir?
This is still broken in RedHat 8.0 - diskcheck v1.3.2
Three spots have to be updated to make it work with volume or mount point and
the default cutoff:
if (nPct < long(cutoff[volume])): continue
if (nPct < long(cutoff[mountpt])): continue
elif (nPct < long(conf['defaultCutoff'])): continue
fixed in 1.4-1, should be no problem to run it on 7.3/8.0
So when will it be available via up2date for RH 7.3?
If it can be run on Red Hat7.3 why isn't in on up2date for 7.3?
cause RHN-QA queue is full of security issues..