Bug 55850

Summary: diskcheck crashes when device names are long
Product: [Retired] Red Hat Linux Reporter: John M O'Donnell <odonnell>
Component: diskcheckAssignee: Preston Brown <pbrown>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-07 19:12:05 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:

Description John M O'Donnell 2001-11-07 19:11:58 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Description of problem:
if the device name is long then the diskcheck script produces
a cryptic error message.  This appears to be related to parsing
the output of the df command - which for a long device name will
produce one entry split across two lines.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.mount --bind /home/odonnell/lib/wnr /var/ftp/pub/wnr/lib/wnr
2./etc/cron.hourly/diskcheck
	

Actual Results:  Traceback (innermost last):
  File "/etc/cron.hourly/diskcheck", line 65, in ?
    (volume, total, used, avail, pct, mountpt) = string.split(line)
ValueError: unpack list of wrong size


Additional info:

Comment 1 Preston Brown 2001-11-08 14:25:37 UTC

*** This bug has been marked as a duplicate of 55069 ***