xinetd init script - reload terminates redirected services

Bug #704435 reported by Neil Wilson
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xinetd (Debian)
New
Unknown
xinetd (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Lucid by Clint Byrum
Nominated for Maverick by Clint Byrum

Bug Description

Binary package hint: xinetd

If you are using the 'redirect' service of xinetd, the redirection forks a separate copy of xinetd for each service.

e.g

service vnc-redirect
{
 type = UNLISTED
 socket_type = stream
 protocol = tcp
 user = nobody
 wait = no
 port = 50000
 redirect = 10.245.134.12 5903
}

When you try and do a 'service xinetd reload' the current init script is missing a reference to the pidfile on its reload line and does a 'killall' on all xinetd processes - incorrectly terminating anything that uses an internal service like redirect.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xinetd 1:2.3.14-7ubuntu3
ProcVersionSignature: User Name 2.6.35-22.34-virtual 2.6.35.4
Uname: Linux 2.6.35-22-virtual x86_64
Architecture: amd64
Date: Tue Jan 18 14:30:27 2011
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xinetd

Revision history for this message
Neil Wilson (neil-aldur) wrote :
Revision history for this message
Neil Wilson (neil-aldur) wrote :
Neil Wilson (neil-aldur)
description: updated
tags: added: patch
Revision history for this message
Neil Wilson (neil-aldur) wrote :

This is fixed in natty by the upstart job conversion. (version 1:2.3.14-7ubuntu4)

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Neil, thanks for the excellent bug report!

Confirmed on lucid and in sid in chroots.

I'll nominate the bug for lucid and maverick, and I forwarded it to Debian. Since the natty upstart job "does the right thing", marking this as Fix Released.

Changed in xinetd (Ubuntu):
status: New → Fix Released
tags: added: lucid
Changed in xinetd (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.