Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-13 Thread Holger Levsen
Hi, On Donnerstag, 12. März 2009, Eric Cooper wrote: I'm packaging approx, which for compatibility with apt-proxy defaults to port (not in /etc/services). That was fine when approx, like apt-proxy, was run as a standalone daemon from an initscript. But I just changed it to run (only)

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-13 Thread Rogério Brito
On Mar 12 2009, Russ Allbery wrote: Yeah, I disagree with the idea that inetd is a bad choice for new programs. In the particular case of approx (which I have installed, thanks to some comments on the -mentors list), I run it from a private package of ucscpi-tcp: in particular, tcpserver. I'm

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-12 Thread Francesco P. Lovergine
On Wed, Mar 11, 2009 at 04:56:20PM +0100, Giacomo A. Catenazzi wrote: how to had new services in /etc/services database? ciao cate Asking netbase maintainer(s)? Just read /etc/services about that. -- Francesco P. Lovergine -- To UNSUBSCRIBE, email to

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-12 Thread Giacomo A. Catenazzi
Francesco P. Lovergine wrote: On Wed, Mar 11, 2009 at 04:56:20PM +0100, Giacomo A. Catenazzi wrote: how to had new services in /etc/services database? Asking netbase maintainer(s)? Just read /etc/services about that. Hmm. Reading your and dato answers, it seems I wrote wrongly my mail. The

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-12 Thread Holger Levsen
Hi, On Donnerstag, 12. März 2009, Giacomo A. Catenazzi wrote: But now I'm not sure about: - if it is a good thing to have admin choosed ports I dont think so and I guess I'm not alone and thats why there is no best practice to do that. The only (typo of) package where I can think off where

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-12 Thread Eric Cooper
On Thu, Mar 12, 2009 at 02:13:12PM +0100, Holger Levsen wrote: On Donnerstag, 12. März 2009, Giacomo A. Catenazzi wrote: But now I'm not sure about: - if it is a good thing to have admin choosed ports I dont think so and I guess I'm not alone and thats why there is no best practice to do

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-12 Thread Russ Allbery
Eric Cooper e...@cmu.edu writes: Regarding the other thread in -devel about the future of inetd: in my case I found it very sensible to jettison all the code for opening sockets, binding ports, handling IPv6, handling tcp-wrappers, daemonizing processes, etc. and punt it to inetd. Since apt

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-12 Thread Goswin von Brederlow
Giacomo A. Catenazzi c...@debian.org writes: Francesco P. Lovergine wrote: On Wed, Mar 11, 2009 at 04:56:20PM +0100, Giacomo A. Catenazzi wrote: how to had new services in /etc/services database? Asking netbase maintainer(s)? Just read /etc/services about that. Hmm. Reading your and dato

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-11 Thread Goswin von Brederlow
Eric Cooper e...@cmu.edu writes: What is the best way to register a daemon under inetd with a user-chosen port? (I am packaging a daemon that is run by inetd, but does not have a standard port number.) Currently I am prompting the user for the port via debconf, grepping /etc/inetd.conf to

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-11 Thread Giacomo A. Catenazzi
Eric Cooper e...@cmu.edu writes: What is the best way to register a daemon under inetd with a user-chosen port? (I am packaging a daemon that is run by inetd, but does not have a standard port number.) Currently I am prompting the user for the port via debconf, grepping /etc/inetd.conf to

Re: best practice for updating inetd.conf with a user-chosen port?

2009-03-11 Thread Adeodato Simó
* Giacomo A. Catenazzi [Wed, 11 Mar 2009 16:56:20 +0100]: how to had new services in /etc/services database? By filing a bug like #353835 (against netbase). -- - Are you sure we're good? - Always. -- Rory and Lorelai -- To UNSUBSCRIBE, email to

best practice for updating inetd.conf with a user-chosen port?

2009-03-10 Thread Eric Cooper
What is the best way to register a daemon under inetd with a user-chosen port? (I am packaging a daemon that is run by inetd, but does not have a standard port number.) Currently I am prompting the user for the port via debconf, grepping /etc/inetd.conf to make sure it's not already there, and