Bug 49621 - RFE: separate ipv6 support
RFE: separate ipv6 support
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: xinetd (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Ben Levenson
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-07-21 15:11 EDT by Pekka Savola
Modified: 2007-04-18 12:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-07-24 03:11:34 EDT
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 Pekka Savola 2001-07-21 15:11:25 EDT
IPv6 support has been requested in #41309.

Unfortunately xinetd's ipv6 support hasn't been designed all that well (it fails on ipv4-only system, 
among other things), and patching it would take a _lot_ of work.

Therefore I propose to add xinetd-ipv6 subpackage with only /usr/sbin/xinetd-ipv6 binary inside,
same as /usr/sbin/xinetd except with ipv6 support.

In /etc/init.d/xinetd, if you have IPv6 enabled in configuration and the subpackage installed, then 
IPv6-compatible xinetd would be run.

This has been implemented in .src.rpm against 2.3.0-2 in http://www.netcore.fi/pekkas/linux/ipv6/.
Comment 1 Trond Eivind Glomsrxd 2001-07-23 18:52:03 EDT
Added in xinetd-2.3.0-3
Comment 2 Pekka Savola 2001-07-24 00:56:50 EDT
One note: if you have traditional xinetd running, then enable IPv6 and do '/sbin/service xinetd restart', the
script gets confused because it can't stop 'xinetd-ipv6'.  Going around this would be rather complicated
and might uglify the code, so I didn't go into it.  You might want to consider whether this is an acceptable 
approach.
Comment 3 Pekka Savola 2001-07-24 03:11:30 EDT
This can be fixed by a dirty trick (also fixes status) -- reopening just in
case.

--- xinetd.init.orig    Tue Jul 24 10:10:55 2001
+++ xinetd.init Tue Jul 24 10:11:21 2001
@@ -67,7 +67,7 @@
     
 stop(){
     echo -n $"Stopping $prog: "
-    killproc $prog
+    killproc xinetd
     RETVAL=$?
     echo
     rm -f /var/lock/subsys/xinetd
@@ -77,7 +77,7 @@
        
 reload(){
     echo -n $"Reloading configuration: "
-    killproc $prog -USR2
+    killproc xinetd -USR2
     RETVAL=$?
     echo
     return $RETVAL
@@ -103,7 +103,7 @@
        stop
        ;;
     status)
-       status xinetd
+       status $prog
        ;;
     restart)
        restart

Comment 4 Trond Eivind Glomsrxd 2001-08-10 15:49:54 EDT
Fixed in xinetd-2.3.0-4 and newer

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