Bug 886821
Summary: | libvirt-launched dnsmasq listens on localhost when it shouldn't | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Laine Stump <laine> |
Component: | libvirt | Assignee: | Laine Stump <laine> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3 | CC: | acathrow, dallan, dyasny, dyuan, jlayton, mjenner, mzhan, rwu, tlavigne, whuang, ydu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.10.2-13.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 886663 | Environment: | |
Last Closed: | 2013-02-21 07:28:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 895654 |
Description
Laine Stump
2012-12-13 09:13:32 UTC
Test with: libvirt-0.10.2-13.el6.x86_64 dnsmasq-2.48-12.el6.x86_64 # ps -ef |grep dnsmasq nobody 8382 1 0 11:04 ? 00:00:00 /usr/sbin/dnsmasq --strict-order --local=// --domain-needed --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --bind-interfaces --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override --dhcp-hostsfile=/var/lib/libvirt/dnsmasq/default.hostsfile --addn-hosts=/var/lib/libvirt/dnsmasq/default.addnhosts # lsof -p 8382 -n -P COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dnsmasq 8382 nobody cwd DIR 8,1 4096 2 / dnsmasq 8382 nobody rtd DIR 8,1 4096 2 / dnsmasq 8382 nobody txt REG 8,1 180176 667765 /usr/sbin/dnsmasq dnsmasq 8382 nobody mem REG 8,1 156872 931139 /lib64/ld-2.12.so dnsmasq 8382 nobody mem REG 8,1 1922152 931141 /lib64/libc-2.12.so dnsmasq 8382 nobody mem REG 8,1 145720 931147 /lib64/libpthread-2.12.so dnsmasq 8382 nobody mem REG 8,1 47064 920631 /lib64/librt-2.12.so dnsmasq 8382 nobody mem REG 8,1 268232 931159 /lib64/libdbus-1.so.3.4.0 dnsmasq 8382 nobody mem REG 8,1 65928 920434 /lib64/libnss_files-2.12.so dnsmasq 8382 nobody 0u CHR 1,3 0t0 3698 /dev/null dnsmasq 8382 nobody 1u CHR 1,3 0t0 3698 /dev/null dnsmasq 8382 nobody 2u CHR 1,3 0t0 3698 /dev/null dnsmasq 8382 nobody 3u sock 0,6 0t0 134665 can't identify protocol dnsmasq 8382 nobody 4u REG 8,1 0 1187408 /var/lib/libvirt/dnsmasq/default.leases dnsmasq 8382 nobody 5u IPv4 134666 0t0 UDP *:67 dnsmasq 8382 nobody 6u IPv4 134675 0t0 TCP 192.168.122.1:53 (LISTEN) dnsmasq 8382 nobody 7u IPv4 134676 0t0 UDP 192.168.122.1:53 dnsmasq 8382 nobody 8r FIFO 0,8 0t0 134681 pipe dnsmasq 8382 nobody 9w FIFO 0,8 0t0 134681 pipe dnsmasq 8382 nobody 10u unix 0xffff8801203aa0c0 0t0 134683 socket libvirt add "--except-interface lo" option when start the dnsmasq process, and it does not listen "127.0.0.1:53" and "[::1]:53 ". So this bug is VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0276.html |