Bug 224566

Summary: Error in pre uninstall script
Product: [Fedora] Fedora Reporter: Phil Knirsch <pknirsch>
Component: smartmontoolsAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
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: 2007-02-23 11:13:41 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 Phil Knirsch 2007-01-26 14:44:04 UTC
During an automated install/deinstall check the following error has happened:

ERROR: Output running pre uninstall script for package
smartmontools-1:5.36-5.fc7.i386
Shutting down smartd: [FAILED]

Redirecting the output of the /sbin/service stop command fixes the problem.

preuninstall scriptlet (using /bin/sh):
if [ "$1" = "0" ] ; then
 /sbin/service smartd stop > /dev/null 2>&1
 /sbin/chkconfig --del smartd
fi