[systemd-devel] resolved: Assertion 'n > 0' failed
Kai Krakow
hurikhan77 at gmail.com
Sat Apr 18 08:38:51 PDT 2015
Hello!
Sometimes I'm seeing messages like this:
[ 5780.379921] systemd-resolved[685]: Assertion 'n > 0' failed at
/var/tmp/portage/sys-apps/systemd-219-
r2/work/systemd-219/src/resolve/resolved-dns-answer.c:28, function
dns_answer_new(). Aborting.
[ 5780.621865] systemd-resolved[7396]: Assertion 'n > 0' failed at
/var/tmp/portage/sys-apps/systemd-219-
r2/work/systemd-219/src/resolve/resolved-dns-answer.c:28, function
dns_answer_new(). Aborting.
Looks like the process is aborted and restarted right after this (the PID
changes) but the problem persists for a short duration. Then, everything is
fine again. I didn't see problems in my desktop, tho. But I believe, if the
DNS resolver gets timeouts (since it is using UDP) it will retry anyway.
My configuration is nothing special, DHCP, DNS, and IPv6 advertisement
provided by my router:
$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp4s0 ether routable configured
3 sit0 sit off unmanaged
3 links listed.
$ networkctl status enp4s0
● 2: enp4s0
Link File: /usr/lib64/systemd/network/99-default.link
Network File: /etc/systemd/network/80-dhcp.network
Type: ether
State: routable (configured)
Path: pci-0000:04:00.0
Driver: r8169
Vendor: Realtek Semiconductor Co., Ltd.
Model: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
(Motherboard (one of many))
HW Address: 00:25:22:xx:xx:xx (ASRock Incorporation)
MTU: 1500
Address: 192.168.4.45
2002:xxxx:xxxx:x::xxxx:yyyy
2002:xxxx:xxxx:x:xxxx:xxxx:xxxx:xxxx
fe80::xxxx:xxxx:xxxx:xxxx
Gateway: 192.168.4.254 (Cisco-Linksys, LLC)
fe80::xxxx:xxxx:xxxx:xxxx (Cisco-Linksys, LLC)
DNS: 192.168.4.254
Domain: sol.local
$ cat /etc/systemd/network/80-dhcp.network
[Match]
Name=en*
[Network]
DHCP=yes
[DHCP]
UseDomains=true
--
Replies to list only preferred.
More information about the systemd-devel
mailing list