Bug 117257
| Summary: | diskcheck fails to run correctly on default fedora core 2 test 1 install | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Pollard <dp> |
| Component: | diskcheck | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 19:01:45 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
which version of diskcheck? *** This bug has been marked as a duplicate of 115861 *** should be fixed in diskcheck-1.6-1 #!/usr/bin/python # # DiskCheck program 1.0 cheers # rpm -q diskcheck please :) sorry :) diskcheck-1.5-1 cheers Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
Description of problem: Every hour root receives an email from diskcheck because there has been an error in its execution - running diskcheck on its own results in this :- [root@dplaptop cron.hourly]# ./diskcheck Traceback (most recent call last): File "./diskcheck", line 318, in ? high += scan_df(list, "Inodes:") File "./diskcheck", line 245, in scan_df nPct = long(pct[:-1]) ValueError: invalid literal for long(): Version-Release number of selected component (if applicable): 1.0 How reproducible: Default fedora core 2 test1 installation run /etc/cron.hourly/diskcheck Steps to Reproduce: 1.cd /etc/cron.hourly 2. ./diskcheck 3. Actual results: [root@dplaptop cron.hourly]# ./diskcheck Traceback (most recent call last): File "./diskcheck", line 318, in ? high += scan_df(list, "Inodes:") File "./diskcheck", line 245, in scan_df nPct = long(pct[:-1]) ValueError: invalid literal for long(): Expected results: Report of disk space thats low presumably Additional info: