Re: [gentoo-user] Does this qualify as some bug ?

2007-12-28 Thread Ralf Stephan
 While trying to prevent 'net-dns/pdnsd' to listen on TCP and on to
 avoid TCP queries, I changed 'tcp_server' parameter to 'off' and
 'query_method' parameter to 'udp_only' in /etc/pdnsd/pdnsd.conf . But
 when I restarted pdnsd I found it is still listening on TCP. I checked
 /etc/conf.d/pdnsd and found no option related to listening to 'TCP'
 set. So, then I checked /etc/init.d/pdnsd and I found that 'pdnsd' has
 been launched with '-t' command line argument (enables the TCP server
 thread. pdnsd will then serve TCP and UDP queries.) . So to disable, I
 need to append '--notcp' to PDNSDCONFIG in /etc/conf.d/pdnsd. So I
 think, listening shouldn't be made by default, even if it is, then it
 should be in configuration file, not in init.d script .

Since noone answered, I'll try. I'm not into the details of your
problem but I have the impression your suggestion should be stated
to the pdnsd developing community, not on gentoo. I'd qualify it as
bug, but YMMV, and again, I don't know much about it.

ralf
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Does this qualify as some bug ?

2007-12-28 Thread Michal 'vorner' Vaner
Hello

On Thu, Dec 27, 2007 at 08:20:37PM +0100, Ralf Stephan wrote:
  While trying to prevent 'net-dns/pdnsd' to listen on TCP and on to
  avoid TCP queries, I changed 'tcp_server' parameter to 'off' and
  'query_method' parameter to 'udp_only' in /etc/pdnsd/pdnsd.conf . But
  when I restarted pdnsd I found it is still listening on TCP. I checked
  /etc/conf.d/pdnsd and found no option related to listening to 'TCP'
  set. So, then I checked /etc/init.d/pdnsd and I found that 'pdnsd' has
  been launched with '-t' command line argument (enables the TCP server
  thread. pdnsd will then serve TCP and UDP queries.) . So to disable, I
  need to append '--notcp' to PDNSDCONFIG in /etc/conf.d/pdnsd. So I
  think, listening shouldn't be made by default, even if it is, then it
  should be in configuration file, not in init.d script .
 
 Since noone answered, I'll try. I'm not into the details of your
 problem but I have the impression your suggestion should be stated
 to the pdnsd developing community, not on gentoo. I'd qualify it as
 bug, but YMMV, and again, I don't know much about it.

If it is a problem of init script, then it is problem in gentoo. Init
scripts are distribution specific (at last, gentoo has different ones
that other distros AFAIK).

So, if you think it is a bug, put it into bugzilla. In the best case,
someone will do something about it. In the worst case, the bug will be
marked as invalid, wontfix, or something like that. Just don't get
annoyed if someone simply tells it is nonsense, the people going trough
bugs have too many of them and they are not always completely nice.

-- 
BOFH Excuse #430:

Mouse has out-of-cheese-error

Michal 'vorner' Vaner


pgpMLXdP9W7oG.pgp
Description: PGP signature


Re: [gentoo-user] Does this qualify as some bug ?

2007-12-28 Thread आशीष शुक्ल Ashish Shukla
,--[ On Thu, Dec 27, 2007 at 08:20:37PM +0100, Ralf Stephan wrote:
|  While trying to prevent 'net-dns/pdnsd' to listen on TCP and on to
|  avoid TCP queries, I changed 'tcp_server' parameter to 'off' and
|  'query_method' parameter to 'udp_only' in /etc/pdnsd/pdnsd.conf . But
|  when I restarted pdnsd I found it is still listening on TCP. I checked
|  /etc/conf.d/pdnsd and found no option related to listening to 'TCP'
|  set. So, then I checked /etc/init.d/pdnsd and I found that 'pdnsd' has
|  been launched with '-t' command line argument (enables the TCP server
|  thread. pdnsd will then serve TCP and UDP queries.) . So to disable, I
|  need to append '--notcp' to PDNSDCONFIG in /etc/conf.d/pdnsd. So I
|  think, listening shouldn't be made by default, even if it is, then it
|  should be in configuration file, not in init.d script .
| 
| Since noone answered, I'll try. I'm not into the details of your
| problem but I have the impression your suggestion should be stated
| to the pdnsd developing community, not on gentoo. I'd qualify it as
| bug, but YMMV, and again, I don't know much about it.

Let me elaborate it a bit:

pdnsd is a DNS server capable of listening on TCP/UDP ports (depending
on options in configuration file and commandline). Options set on
commandline override what is set is configuration file. And, in init
script of this port, the option to listen on TCP ports, i.e. '-t'
switch, has been explicitly passed. So, there is no way, one can disable
listening on TCP from pdnsd.conf. So one, has to edit '/etc/conf.d/pdnsd'
and add --notcp option. In my view, from the point-of least privileges,
one has to explicitly turn on listening of daemon on port.

So its a problem on Gentoo porting side, not with the pdnsd team.

Thanks.
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


signature.asc
Description: Digital signature


[gentoo-user] Does this qualify as some bug ?

2007-12-26 Thread आशीष शुक्ल Ashish Shukla
Hi

While trying to prevent 'net-dns/pdnsd' to listen on TCP and on to
avoid TCP queries, I changed 'tcp_server' parameter to 'off' and
'query_method' parameter to 'udp_only' in /etc/pdnsd/pdnsd.conf . But
when I restarted pdnsd I found it is still listening on TCP. I checked
/etc/conf.d/pdnsd and found no option related to listening to 'TCP'
set. So, then I checked /etc/init.d/pdnsd and I found that 'pdnsd' has
been launched with '-t' command line argument (enables the TCP server
thread. pdnsd will then serve TCP and UDP queries.) . So to disable, I
need to append '--notcp' to PDNSDCONFIG in /etc/conf.d/pdnsd. So I
think, listening shouldn't be made by default, even if it is, then it
should be in configuration file, not in init.d script .

So does this qualify as a bug ?

I'm a new Gentoo user, so I'm not sure if qualifies as some bug.

Thanks in advance
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
z���(��j)b�   b�