Bug#455221: dnsmasq should start after nfs-kernel-server

2007-12-13 Thread Daniel Butzu

Now this is strange. On my Etch system (netinstall) :
# cat /proc/sys/net/ipv4/ip_local_port_range
2048   4999

So it does include 2049 (+ it causes problems with other services aswell). 
Adding "net.ipv4.ip_local_port_range = 32768 61000" to /etc/sysctl.conf fixes 
this problem. Of course, this has nothing to do with dnsmasq. Thank you and 
sorry for the trouble.


Best wishes,

Daniel





On Wed, 12 Dec 2007 14:17:46 +
Simon Kelley <[EMAIL PROTECTED]> wrote:

> 
> What is the result of doing
> 
> cat /proc/sys/net/ipv4/ip_local_port_range
> 
> on your system?
> 
> Unless you have told it otherwise, dnsmasq will only use port 2049 if
> it's allocated as an ephmeral port by the operating system. If your
> local port range includes 2049 then that's a configuration bug, I think.
> On my Sarge system, the range is 32768 to 61000.
> 
> As a workaround, your change-the-startup-order has potential problems
> (what happens if NFS startup needs to do DNS resolution and that goes
> via dnsmasq?). A better workaround would be to use the dnsmasq
> --query-port option to nail down the port to something other than 2049.
> 
> 
> Cheers,
> 
> Simon.



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



Bug#455221: dnsmasq should start after nfs-kernel-server

2007-12-09 Thread Daniel Butzu
Package: dnsmasq
Version: 2.35-1
Severity: normal




During the installation of the dnsmasq debian package, init script links are 
created named S15dnsmasq. However, if on the 
same system nfs-kernel-server is installed, dnsmasq is started before 
nfs-kernel-server (since S15dnsmasq comes before 
S20nfs-kernel-server). This leads to the impossibility of starting 
nfs-kernel-server, because dnsmasq will listen to 2049 udp 
and nfs-kernel-server will refuse to start, stating "nfssvc: Address already in 
use". When dnsmasq is started after 
nfs-kernel-server, both work fine. I suggest that dnsmasq should create 
S22dnsmasq symlinks, so that it will start after 
S20nfs-kernel-server and after S21nfs-common.



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages dnsmasq depends on:
ii  adduser3.102 Add and remove users and groups
ii  libc6  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libdbus-1-31.0.2-1   simple interprocess messaging syst
ii  netbase4.29  Basic TCP/IP networking system

dnsmasq recommends no packages.

-- no debconf information



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