Bug 55808 - /etc/xinetd.d/discard-udp syntax errors
Summary: /etc/xinetd.d/discard-udp syntax errors
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: xinetd
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-06 22:11 UTC by Dan Anderson
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-11-06 22:15:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Anderson 2001-11-06 22:11:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76C-CCK-MCD Netscape [en] (X11; U; SunOS 5.8 sun4u)

Description of problem:
File /etc/xinetd.d/discard-udp contains multiple syntax errors
that prevents the service from starting.

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


How reproducible:
Always

Steps to Reproduce:
As root, type
/etc/init.d/xinetd restart

	

Actual Results:  The following message in /var/log/messages (and service
discard is not enabled):

Nov  6 12:05:54 dan xinetd-ipv6[970]: Service disard-dgram missing
attribute port

AND no output from this:
$ netstat -a |grep discard

Expected Results:  No message in /var/log/messages about service discard
(or "disard" sic).
And service discard being open:
$ netstat -a |grep discard
tcp        0      0 *:discard               *:*                    
LISTEN      
udp        0      0 *:discard   

Additional info:

Here's the patch to fix the problem:
--- /etc/xinetd.d/discard-udp.old  Tue Nov  6 13:53:30 2001
+++ /etc/xinetd.d/discard-udp   Tue Nov  6 13:57:26 2001
@@ -1,15 +1,15 @@
 # default: off
-# description: An disard server. This is the udp \
+# description: An discard server. This is the udp \
 # version.
 
-service disard
+service discard
 {
        type            = INTERNAL UNLISTED
-       id              = disard-dgram
+       id              = discard-dgram
        socket_type     = dgram
        protocol        = udp
        user            = root
        wait            = yes
        disable         = no
-#      port            = 7
+       port            = 9
 }

This bug is similar to bug 38669 I filed for xinetd for RedHat 7.1 for the
echo service.

Comment 1 Trond Eivind Glomsrxd 2001-11-06 22:14:59 UTC
What does "rpm -qf /etc/xinetd.d/discard-udp" return?

Comment 2 Dan Anderson 2001-11-06 22:30:18 UTC
Ooops -- sorry, my blunder.  You may close the bug:

$ rpm -qf /etc/xinetd.d/discard-udp
file /etc/xinetd.d/discard-udp is not owned by any package



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