Bug#492635: csync2: xinetd info: Line 1: protocol missing

2015-05-08 Thread Michael Prokop
* Alexander Sosna [Wed May 06, 2015 at 03:44:44PM +0200]:
 On Sun, 27 Jul 2008 22:29:50 +0200 Michael Prokop m...@grml.org wrote:

  When upgrading csync2 I noticed:

  - IMPORTANT INFORMATION FOR XINETD USERS --
  The following line will be added to your /etc/inetd.conf file:

  csync2\t\tstream\ttcp\tnowait\troot\t/usr/sbin/csync2\tcsync2 -i

  If you are indeed using xinetd, you will have to convert the
  above into /etc/xinetd.conf format, and add it manually. See
  /usr/share/doc/xinetd/README.Debian for more information.
  Suggested entry (automatically converted using itox):

  Line 1: protocol missing
  ---

 I can not (competently) reproduce your bug.
[...]
 Can we close this bug?

AFAICT it was a plain installation and a plain upgrade without any
manual changes, but this bug happened 7 years ago and I don't have
access to the system any longer. I assume this issue doesn't exist
in anything newer than squeeze anymore, so no objections from my
side to close this bug report nowadays.

regards,
-mika-


signature.asc
Description: Digital signature


Bug#492635: csync2: xinetd info: Line 1: protocol missing

2015-05-06 Thread Alexander Sosna
On Sun, 27 Jul 2008 22:29:50 +0200 Michael Prokop m...@grml.org wrote:
 When upgrading csync2 I noticed:
 
 - IMPORTANT INFORMATION FOR XINETD USERS --
 The following line will be added to your /etc/inetd.conf file:
 
 csync2\t\tstream\ttcp\tnowait\troot\t/usr/sbin/csync2\tcsync2 -i
 
 If you are indeed using xinetd, you will have to convert the
 above into /etc/xinetd.conf format, and add it manually. See
 /usr/share/doc/xinetd/README.Debian for more information.
 Suggested entry (automatically converted using itox):
 
 Line 1: protocol missing
 ---

I can not (competently) reproduce your bug.

If I write tabs as \t and pipe it to itox, I get your error:

% echo csync2\t\tstream\ttcp\tnowait\troot\t/usr/sbin/csync2\tcsync2
-i | itox
service csync2\t\tstream\ttcp\tnowait\troot\t
{
type= RPC
rpc_version = usr/sbin/csync2\tcsync2
socket_type = -i
Line 1: protocol missing



But if I cat the generated /etc/inetd.conf or the configuration string,
everything works fine fore me:

% cat /etc/inetd.conf | itox
service csync2
{
socket_type = stream
protocol= tcp
wait= no
user= root
server  = /usr/sbin/csync2
server_args = -i
}

% echo csync2 stream tcp nowait root /usr/sbin/csync2 csync2 -i  | itox
service csync2
{
socket_type = stream
protocol= tcp
wait= no
user= root
server  = /usr/sbin/csync2
server_args = -i
}


Convertig the configuration looks like:
% cat /etc/inetd.conf | itox   /etc/xinetd.d/csync2


Can we close this bug?





Best regards,
Alexander


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#492635: csync2: xinetd info: Line 1: protocol missing

2008-07-27 Thread Michael Prokop
Package: csync2
Version: 1.34-1+b1
Severity: normal


When upgrading csync2 I noticed:

- IMPORTANT INFORMATION FOR XINETD USERS --
The following line will be added to your /etc/inetd.conf file:

csync2\t\tstream\ttcp\tnowait\troot\t/usr/sbin/csync2\tcsync2 -i

If you are indeed using xinetd, you will have to convert the
above into /etc/xinetd.conf format, and add it manually. See
/usr/share/doc/xinetd/README.Debian for more information.
Suggested entry (automatically converted using itox):

Line 1: protocol missing
---

regards,
-mika-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]