Bug 134056

Summary: smartd-conf.py requires kudzu
Product: [Fedora] Fedora Reporter: Felipe Alfaro Solana <felipe_alfaro>
Component: kernel-utilsAssignee: Dave Jones <davej>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ballen, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 2.4-13.1.39 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-20 15:29:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 123268    

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):

How reproducible:

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.