This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 224565 - Error in pre uninstall script
Error in pre uninstall script
Product: Fedora
Classification: Fedora
Component: bind (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Adam Tkac
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-01-26 09:41 EST by Phil Knirsch
Modified: 2015-03-04 20:18 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-29 08:49:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)

  None (edit)
Description Phil Knirsch 2007-01-26 09:41:55 EST
During an automated install/deinstall check the following error has happened:

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

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
Comment 1 Phil Knirsch 2007-01-26 09:51:08 EST
Ups, sorry, wrong script:

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

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