Package: dnsmasq
Version: 2.85-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
I try to boot various SBC computer to boot from NFS. I have a FRITZBox as dhcp
server and i compiled u boot to accept the serverip from the PROXYDHCP. dnsmasq
needs the
        dhcp-boot=tag:ARM32,default,192.168.160.19
        dhcp-boot=tag:ARM64,default,192.168.160.19
to tag the connections. When these option for the specified architecture is not
present, dnsmasq gets a SIGSEV when such a architecture boots.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I tried to get a meaningful backtrace and followed
https://wiki.debian.org/HowToGetABacktrace but i just got

0x00007f819e8b73c3 in __GI___poll (fds=0x5642e7458400, nfds=7, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
Download failed: Das Argument ist ungültig.  Continuing without source file
./io/../sysdeps/unix/sysv/linux/poll.c.
29      ../sysdeps/unix/sysv/linux/poll.c: Datei oder Verzeichnis nicht
gefunden.
(gdb)
(gdb) bt
#0  0x00007f819e8b73c3 in __GI___poll (fds=0x5642e7458400, nfds=7, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00005642e7002473 in ?? ()
#2  0x00007f819e7ead0a in __libc_start_main (main=0x5642e7000d60, argc=11,
argv=0x7ffc0cef7608, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc0cef75f8)
    at ../csu/libc-start.c:308
#3  0x00005642e700337a in ?? ()
(gdb) info threadsa
Undefined info command: "threadsa".  Try "help info".
(gdb) info threads
  Id   Target Id                                    Frame
* 1    Thread 0x7f819e0dfcc0 (LWP 241194) "dnsmasq" 0x00007f819e8b73c3 in
__GI___poll (fds=0x5642e7458400, nfds=7, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
(gdb) bt
#0  0x00007f819e8b73c3 in __GI___poll (fds=0x5642e7458400, nfds=7, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00005642e7002473 in ?? ()
#2  0x00007f819e7ead0a in __libc_start_main (main=0x5642e7000d60, argc=11,
argv=0x7ffc0cef7608, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc0cef75f8)
    at ../csu/libc-start.c:308
#3  0x00005642e700337a in ?? ()


*** End of the template - remove these template lines ***

This could be a problem for users thar relay on dnsmasq to work properly even
if there comes a packet from an architekture they dont handle. dnsmasq would
stop working.

-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-
debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-10-amd64 (SMP w/16 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dnsmasq depends on:
ii  dnsmasq-base [dnsmasq-base]  2.85-1
ii  init-system-helpers          1.60
ii  lsb-base                     11.1.0
ii  netbase                      6.3
ii  runit-helper                 2.10.3

dnsmasq recommends no packages.

Versions of packages dnsmasq suggests:
ii  openresolv [resolvconf]  3.12.0-1

-- Configuration Files:
/etc/dnsmasq.conf changed:
port=0
log-dhcp
log-debug
log-queries
enable-tftp
tftp-root=/srv/netboot/
dhcp-vendorclass=BIOS,PXEClient:Arch:00000
dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
dhcp-vendorclass=UEFI,PXEClient:Arch:00007
dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
dhcp-vendorclass=ARM32,PXEClient:Arch:00010
dhcp-vendorclass=ARM64,PXEClient:Arch:00011
dhcp-boot=UEFI32,i386-efi/ipxe.efi,,192.168.160.19
dhcp-boot=UEFI,ipxe.efi,,192.168.160.19
dhcp-boot=UEFI64,ipxe.efi,,192.168.160.19
dhcp-boot=tag:ARM32,default,192.168.160.19
dhcp-boot=tag:ARM64,default,192.168.160.19
pxe-service=1, "Boot CSA 1", efi64/syslinux.efi
dhcp-range=192.168.160.1,proxy

Reply via email to