Bug 492574

Summary: Bugs found in nsd scripts in /etc/init.d & /etc/cron.hourly
Product: [Fedora] Fedora Reporter: Dan Thurman <dant>
Component: nsdAssignee: Paul Wouters <pwouters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: atkac, dant, jes, pwouters
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: 2009-04-10 18:19:02 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 Dan Thurman 2009-03-27 14:17:38 UTC
Description of problem:

Cron.hourly of nsdc creates two file:
1) /%1
2) /dev/nul (text file) with text:
   nsdc: no patch necessary. 

There are 2 files that have errors in the code:

1) /etc/init.d/nsd
   + replace 2>%1 with 2>&1, found in 2 places

2) /etc/cron.hourly/nsd
   + Same as (1) above
   + replace /dev/nul with /dev/null in 3 places

Version-Release number of selected component (if applicable):

nsd-3.0.7-3.fc9.i386

How reproducible:

Every time

Steps to Reproduce:
1. Just look for the two files: /%1 & /dev/nul (one "l")
   and/or look @ code mentioned above.
2.
3.
  
Actual results:

Expected results:

There should be no files created: /%1 & /dev/nul

Additional info:

Tested at my end.  Problem is solved for me on F9.
May need to check all Fedora versions containing these errors.

Comment 1 Joe Smith 2009-03-30 15:29:49 UTC
If someone is poking on /etc/init.d/nsd, please consider also making the changes mentioned in issue 243700. There is a link there to a corrected initscript.

Comment 2 Dan Thurman 2009-03-30 16:06:55 UTC
(In reply to comment #1)
> If someone is poking on /etc/init.d/nsd, please consider also making the
> changes mentioned in issue 243700. There is a link there to a corrected
> initscript.

Is this request for the maintainer of initscript?

I had a look at 243700 and tried to review the
script located @ http://devserv.devel.redhat.com/~mmarcini/amd
and this link no longer exist.

Comment 3 Paul Wouters 2009-04-10 18:19:02 UTC
Fixed in 3.2.1-1.

I cannot see issues 243700, so if that issue still remains, please let me know and/or open a new bug report.