Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#32257 - [dnsmasq] --host-record hangs dnsmasq

Attached to Project: Arch Linux
Opened by Zhuoyun Wei (wzyboy) - Sunday, 28 October 2012, 02:56 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 16:17 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Starting dnsmasq with --host-record option will hang it at once, making CPU Usage 100%. Using --test to check conf file with host-record lines hangs as well. Remove /etc/dnsmasq.conf and start it in debug mode with --host-record still hangs. I am not sure whether this is a upstream bug. I will report to upstream if anyone could tell me.


Additional info:
* package version(s)
2.63rc6
* config and/or log files etc.
Even with --no-daemon option, this bug will make dnsmasq output nothing (and CPU Usage 100%). So nothing could be recorded.


Steps to reproduce:
1. Remove or rename /etc/dnsmasq.conf to make sure every other options are in default. (Omitting this step get the same result)
2. Killall dnsmasq and remove /run/dnsmasq.pid if exists. This step can be omitted as well.
3. According to dnsmasq's man page, run dnsmasq with --host-record=laptop,laptop.thekelleys.org,192.168.0.1,1234::100 option. (Running with --host-record=foo,192.168.0.1 gets the same results. You can add --no-daemon if you like.)
4. Dnsmasq hangs at once, outputs nothing, and CPU usage is 100% now.
5. If you like, you can write host-record line in a conf file and dnsmasq --test it. It will hang as well.
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Saturday, 17 November 2012, 16:17 GMT
Reason for closing:  Upstream
Additional comments about closing:  Will be fixed in 2.64
Comment by Dave Reisner (falconindy) - Sunday, 28 October 2012, 03:05 GMT
Why are you reporting this here if you're using an RC?
Comment by Zhuoyun Wei (wzyboy) - Sunday, 28 October 2012, 03:09 GMT
Sorry, but this is the stock version in official [extra] repo. I am not using any [testing] repo. Here is some more info:

wzyboy@vermilion:~$ pacman -Qi dnsmasq | grep Version
Version : 2.63-1
wzyboy@vermilion:~$ dnsmasq -v
Dnsmasq version 2.63rc6 Copyright (c) 2000-2012 Simon Kelley
Compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack

This software comes with ABSOLUTELY NO WARRANTY.
Dnsmasq is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2 or 3.


As you can see, in pacman, this package is 2.63-1 but in dnsmasq -v, this software is 2.63rc6. I am not sure which one is right.
Comment by Dave Reisner (falconindy) - Sunday, 28 October 2012, 03:11 GMT

Loading...