From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] dnsmasq: bump to version 2.73
Date: Wed, 15 Jul 2015 08:17:10 -0300 [thread overview]
Message-ID: <55A64136.5000800@zacarias.com.ar> (raw)
In-Reply-To: <CALq67GDUHTUQbp1wfqv_zfzP4u3Zzcq5-kJ_Fm2gmStturqOjQ@mail.gmail.com>
On 15/07/15 00:58, Ryan Barnett wrote:
> Tonight I was trying to use dnsmasq tonight for the first time for DNS
> and DHCP functionality. I'm unable to successfully start the
> application as it segs fault. After some debugging with strace turns
> out with the new version (2.73) of dnsmasq requires /tmp/resolv.conf
> to exist (actually /etc/resolv.conf since it sim links to
> /tmp/resolv.conf) even if you have the 'no-resolv' option specified in
> the config file. Below is the output from strace:
>
> lstat64("/etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> lstat64("/etc/resolv.conf", {st_mode=S_IFLNK|0777, st_size=18, ...}) = 0
> readlink("/etc/resolv.conf", "../tmp/resolv.conf", 4095) = 18
> lstat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=100, ...}) = 0
> lstat64("/tmp/resolv.conf", 0xbea996f8) = -1 ENOENT (No such file or directory)
> --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x4b5d0} ---
> +++ killed by SIGSEGV +++
> Segmentation fault
>
> I've verified if, 1) I revert this commit everything works or 2) if I
> add a touch to /tmp/resolv.conf to the S80dnsmasq startup script
> before invoking dnsmasq.
>
> How do we want to address this issue? Is option 2 preferable?
>
> Currently I'm not finding anything helpful on resolving this issue but
> it does appear there is some traffic on the mailing list for dnsmasq:
>
> https://www.mail-archive.com/dnsmasq-discuss at lists.thekelleys.org.uk/msg09635.html
Hi Ryan.
Wait for the 2.74 release (rc1 was recently released) that fixes this issue?
Or backport the fix (probably 362c9303).
Regards.
prev parent reply other threads:[~2015-07-15 11:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-20 12:56 [Buildroot] [PATCH] dnsmasq: bump to version 2.73 Gustavo Zacarias
2015-06-20 14:00 ` Thomas Petazzoni
2015-07-15 3:58 ` Ryan Barnett
2015-07-15 11:17 ` Gustavo Zacarias [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55A64136.5000800@zacarias.com.ar \
--to=gustavo@zacarias.com.ar \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.