Bug 134056 - smartd-conf.py requires kudzu
Summary: smartd-conf.py requires kudzu
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel-utils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-09-29 10:41 UTC by Felipe Alfaro Solana
Modified: 2015-01-04 22:10 UTC (History)
2 users (show)

Fixed In Version: 2.4-13.1.39
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-20 15:29:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Felipe Alfaro Solana 2004-09-29 10:41:08 UTC
Description of problem:
"smartd-conf.py" from the "kernel-utils" package tries to import
"kudzu.py" which belongs to the "kudzu" package. However,
"kernel-utils" doesn't "Requires:" "kudzu" and thus will fail when
invoked and "kudzu" isn't installed with the following error message:

host:~# smartd-conf.py
Traceback (most recent call last):
  File "/usr/sbin/smartd-conf.py", line 4, in ?
    import kudzu
ImportError: No module named kudzu

Version-Release number of selected component (if applicable):
kernel-utils-2.4-13.1.27

How reproducible:
Always

Steps to Reproduce:
1. rpm -e kudzu
2. rpm -i kernel-utils-2.4-13.1.27
3. smartd-conf.py
  
Actual results:
"smartd-conf.py" won't work if "kudzu" isn't installed.

Expected results:
"kernel-utils" should depend on "kudzu" being installed to avoid the
previously described error.

Additional info:
Add the following line to the "kernel-utils" .spec file:

Requires: kernel-utils >= 2.4-13.1.27

to fix the problem.

Comment 1 Bill Nottingham 2004-09-29 21:01:43 UTC
Um, surely you mean:

Requires: kudzu

or similar.

Comment 2 Felipe Alfaro Solana 2004-09-29 21:34:39 UTC
Yeah! Of course... Don't know what I was thinking about ;-)

Requires: kudzu

... will do fine.

Comment 3 Miloslav Trmač 2004-10-20 15:29:32 UTC
Fixed in kernel-utils-2.4-13.1.39. Thanks for your report.


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