Bug 55850 - diskcheck crashes when device names are long
Summary: diskcheck crashes when device names are long
Status: CLOSED DUPLICATE of bug 55069
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: diskcheck
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-07 19:11 UTC by John M O'Donnell
Modified: 2008-05-01 15:38 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2001-11-07 19:12:05 UTC


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.