Bug 120413

Summary: Bug in udev uninstall script
Product: [Fedora] Fedora Reporter: Albert Strasheim <13640887>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: forresttaylor2000
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-21 14:03:48 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 Albert Strasheim 2004-04-08 15:12:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312

Description of problem:
When the udev RPM is uninstalled, an error message is displayed. It
looks like a bug in the uninstall scripts:

/var/tmp/rpm-tmp.64958: line 1: [: missing `]'

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

How reproducible:
Always

Steps to Reproduce:
1. Uninstall udev

Actual Results:  Uninstall script encounters an error

Expected Results:  Uninstall script should work without an error
message being displayed

Additional info:

Comment 1 Forrest 2004-04-12 20:22:14 UTC
For what it is worth, it is a space in the preuninstall scriptlet:

if [ $1 = 0 -a -f /etc/rc.d/init.d/udev];then

should be:

if [ $1 = 0 -a -f /etc/rc.d/init.d/udev ];then

Comment 2 Harald Hoyer 2004-04-21 14:03:48 UTC
fixed