Bug 55808 - /etc/xinetd.d/discard-udp syntax errors
/etc/xinetd.d/discard-udp syntax errors
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: xinetd (Show other bugs)
7.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-11-06 17:11 EST by Dan Anderson
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-11-06 17:15:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dan Anderson 2001-11-06 17:11:43 EST
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 17:14:59 EST
What does "rpm -qf /etc/xinetd.d/discard-udp" return?
Comment 2 Dan Anderson 2001-11-06 17:30:18 EST
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.