Bug 224565 - Error in pre uninstall script
Summary: Error in pre uninstall script
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-26 14:41 UTC by Phil Knirsch
Modified: 2015-03-05 01:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-29 13:49:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Phil Knirsch 2007-01-26 14:41:55 UTC
During an automated install/deinstall check the following error has happened:

ERROR: Output running pre uninstall script for package
bind-chroot-31:9.3.3-3.fc7.i386
Locating //etc/named.conf failed.
I can't find any configuration file. You can create it by system-config-bind
or install caching-nameserver.
[FAILED]

Redirecting the output of the /sbin/service stop in the pre uninstall script
fixes the problem:

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

Comment 1 Phil Knirsch 2007-01-26 14:51:08 UTC
Ups, sorry, wrong script:

preuninstall scriptlet (using /bin/sh):
if [ "$1" -eq 0 ]; then
   . /usr/sbin/bind-chroot-admin --disable > /dev/null 2>&1 ;
fi
:;



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