xinetd init script - reload terminates redirected services
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xinetd (Debian) |
New
|
Unknown
|
|||
xinetd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
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
ProcVersionSign
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
description: | updated |
tags: | added: patch |
Changed in xinetd (Debian): | |
status: | Unknown → New |
This is fixed in natty by the upstart job conversion. (version 1:2.3.14-7ubuntu4)