Bug 483471

Summary: maradns init script condrestart does not work
Product: [Fedora] Fedora Reporter: Andrew J. Schorr <aschorr>
Component: maradnsAssignee: Michael Fleming <mfleming+rpm>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: mfleming+rpm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3.07.09-1.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-09 22:59:46 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:
Attachments:
Description Flags
fix condrestart in /etc/rc.d/init.d/maradns none

Description Andrew J. Schorr 2009-02-01 16:00:29 UTC
Created attachment 330559 [details]
fix condrestart in /etc/rc.d/init.d/maradns

Description of problem:
In /etc/rc.d/init.d/maradns, condrestart does not work properly.
It calls a shell function (restart) that does not actually exist.

Version-Release number of selected component (if applicable):
maradns-1.3.07.08-1.fc9.i386




How reproducible:
After starting maradns, run the command 'service maradns condrestart'


Steps to Reproduce:
1. Start the maradns service by running 'service maradns start'
2. Now try to restart with 'service maradns condrestart'
3.
  
Actual results:
sh-3.2# service maradns condrestart
/etc/init.d/maradns: line 104: restart: command not found


Expected results:
The service should be restarted

Additional info:
I am attaching a patch that seems to fix the problem.  The same
bug exists in the maradns-zoneserver init script, so a comparable
patch should be applied.

Comment 1 Michael Fleming 2009-02-22 00:39:53 UTC
Applied to CVS tree, will build once I can get my client-side cert updated.

Also updating to current stable (.09)

Comment 2 Fedora Update System 2009-02-26 21:55:31 UTC
maradns-1.3.07.09-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/maradns-1.3.07.09-1.fc9

Comment 3 Fedora Update System 2009-02-26 21:56:55 UTC
maradns-1.3.07.09-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/maradns-1.3.07.09-1.fc10

Comment 4 Fedora Update System 2009-02-28 03:20:49 UTC
maradns-1.3.07.09-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update maradns'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-2157

Comment 5 Fedora Update System 2009-02-28 03:28:13 UTC
maradns-1.3.07.09-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update maradns'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2193

Comment 6 Fedora Update System 2009-03-09 22:59:41 UTC
maradns-1.3.07.09-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2009-03-09 23:07:25 UTC
maradns-1.3.07.09-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.