dnsmasq interfering with bootpd

scar scar at drigon.com
Fri Mar 12 08:28:49 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

i am re-following the guide at [1] to start a network installation.  i
have used this guide in the past successfully.  however, this is the
first time i have i tried a network installation since upgrading the
bootp server to ubuntu 9.04, so some config setting may have changed due
to the upgrade.

i am on step 3 where i start bootpd, and i am getting this:

$ sudo bootp start
Starting bootpd: default current directory is at /var/lib/tftpboot ...
:bootpd not running

further investigation led me to /tmp/bootp.err:

bootpd: info(6):   bootptab mtime: Fri Mar 12 00:19:01 2010
bootpd: info(6):   reading "/etc/bootptab"
bootpd: info(6):   read 1 entries (1 hosts) from "/etc/bootptab"
bootpd: error(3):  bind: Address already in use

further investigation led me to the lsof command:

$ sudo lsof -i :67
COMMAND  PID   USER   FD   TYPE DEVICE SIZE NODE NAME
dnsmasq 3817 nobody    5u  IPv4   8264       UDP *:bootps

after killing dnsmasq, now i can start bootp!

$ sudo bootp start
Starting bootpd: default current directory is at /var/lib/tftpboot ...
:bootpd running, pid=7036


my question: where did dnsmasq come from, why is it started, etc.?

$ sudo apt-get remove dnsmasq
...
Package dnsmasq is not installed, so not removed


thanks


1. https://help.ubuntu.com/community/Installation/LocalNet
-----BEGIN PGP SIGNATURE-----

iEYEAREIAAYFAkuZ+0AACgkQXhfCJNu98qC/EQCg6CTCJw7rfGwFTYcmuTyVOKCn
xJUAoLy63A8pdwqCBEsup+RynsexI4ZJ
=T/N9
-----END PGP SIGNATURE-----





More information about the ubuntu-users mailing list