* [Buildroot] [PATCH] dnsmasq: bump to version 2.73 @ 2015-06-20 12:56 Gustavo Zacarias 2015-06-20 14:00 ` Thomas Petazzoni 2015-07-15 3:58 ` Ryan Barnett 0 siblings, 2 replies; 4+ messages in thread From: Gustavo Zacarias @ 2015-06-20 12:56 UTC (permalink / raw) To: buildroot Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> --- package/dnsmasq/dnsmasq.hash | 2 +- package/dnsmasq/dnsmasq.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/dnsmasq/dnsmasq.hash b/package/dnsmasq/dnsmasq.hash index d5e5740..2d6e78c 100644 --- a/package/dnsmasq/dnsmasq.hash +++ b/package/dnsmasq/dnsmasq.hash @@ -1,2 +1,2 @@ # Locally calculated after checking pgp signature -sha256 7d0bd23f5d74b3a6b26a75d5ffcf9db81d461b47cbe578cb65a83a98008600b1 dnsmasq-2.72.tar.xz +sha256 0bff81103e53fcab3a3c4d0fd6df1882f9446dca4fa74ff8270e1d2ab872d8f6 dnsmasq-2.73.tar.xz diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk index 4b0999b..13352a9 100644 --- a/package/dnsmasq/dnsmasq.mk +++ b/package/dnsmasq/dnsmasq.mk @@ -4,7 +4,7 @@ # ################################################################################ -DNSMASQ_VERSION = 2.72 +DNSMASQ_VERSION = 2.73 DNSMASQ_SOURCE = dnsmasq-$(DNSMASQ_VERSION).tar.xz DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq DNSMASQ_MAKE_ENV = $(TARGET_MAKE_ENV) CC="$(TARGET_CC)" -- 2.3.6 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] dnsmasq: bump to version 2.73 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 1 sibling, 0 replies; 4+ messages in thread From: Thomas Petazzoni @ 2015-06-20 14:00 UTC (permalink / raw) To: buildroot Dear Gustavo Zacarias, On Sat, 20 Jun 2015 09:56:16 -0300, Gustavo Zacarias wrote: > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> > --- > package/dnsmasq/dnsmasq.hash | 2 +- > package/dnsmasq/dnsmasq.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] dnsmasq: bump to version 2.73 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 1 sibling, 1 reply; 4+ messages in thread From: Ryan Barnett @ 2015-07-15 3:58 UTC (permalink / raw) To: buildroot Gustavo, All, On Sat, Jun 20, 2015 at 7:56 AM, Gustavo Zacarias <gustavo@zacarias.com.ar> wrote: > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> > --- > package/dnsmasq/dnsmasq.hash | 2 +- > package/dnsmasq/dnsmasq.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > --- a/package/dnsmasq/dnsmasq.mk > +++ b/package/dnsmasq/dnsmasq.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DNSMASQ_VERSION = 2.72 > +DNSMASQ_VERSION = 2.73 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 Thanks, -Ryan ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] dnsmasq: bump to version 2.73 2015-07-15 3:58 ` Ryan Barnett @ 2015-07-15 11:17 ` Gustavo Zacarias 0 siblings, 0 replies; 4+ messages in thread From: Gustavo Zacarias @ 2015-07-15 11:17 UTC (permalink / raw) To: buildroot 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-15 11:17 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox