Bug 224566 - Error in pre uninstall script
Summary: Error in pre uninstall script
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: smartmontools
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-26 14:44 UTC by Phil Knirsch
Modified: 2015-03-05 01:18 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-02-23 11:13:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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