Bug 252455

Summary: Anacron %postun scriptlet exits with status 3 (condrestart -> restart)
Product: [Fedora] Fedora Reporter: Stewart Adam <s.adam>
Component: anacronAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: rawhide   
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-08-16 07:02:55 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 Stewart Adam 2007-08-16 04:09:50 UTC
Description of problem:
The %postun script fails when attempting to uninstall (or upgrade) anacron with
exit status 3. The cause is the line:
  service anacron condrestart >/dev/null 2>&1
as condrestart isn't recognized. 'condrestart' needs to be changed 'restart'

Version-Release number of selected component (if applicable):
anacron-2.3-47.fc7
anacron-2.3-49.fc8

How reproducible:
Always

Steps to Reproduce:
1. rpm -e anacron OR upgrade anacron from any of the versions above
  
Actual results:
The scriptlet fails, resulting in two or more version being installed at once

Expected results:
The scriptlet either works correctly or does not stop the package from
uninstalling upon failure

Additional info:

Comment 1 Marcela Mašláňová 2007-08-16 07:02:55 UTC

*** This bug has been marked as a duplicate of 251757 ***