You are not logged in.

#1 2013-05-17 03:15:29

mapintar
Member
Registered: 2010-04-17
Posts: 47

dnsmasq fail at a boot, but start fine after

systemctl output:

cpupower.service                                   loaded active exited    Apply cpupower configuration
cups.service                                          loaded active running   CUPS Printing Service
dbus.service                                          loaded active running   D-Bus System Message Bus
dnsmasq.service                                   loaded failed failed    A lightweight DHCP and caching DNS server
fcron.service                                          loaded active running   fcron periodical command scheduler


systemctl status dnsmasq output, after boot:

dnsmasq.service - A lightweight DHCP and caching DNS server
   Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)
   Active: failed (Result: exit-code) since Qui 2013-05-16 20:45:53 BRT; 3h 16min ago
     Docs: man:dnsmasq(8)
  Process: 314 ExecStart=/usr/bin/dnsmasq -k --user=dnsmasq --pid-file (code=exited, status=2)
  Process: 293 ExecStartPre=/usr/bin/dnsmasq --test (code=exited, status=0/SUCCESS)


Start fine manually:

dnsmasq.service - A lightweight DHCP and caching DNS server
   Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)
   Active: active (running) since Sex 2013-05-17 00:07:05 BRT; 1s ago
     Docs: man:dnsmasq(8)
  Process: 510 ExecStartPre=/usr/bin/dnsmasq --test (code=exited, status=0/SUCCESS)
Main PID: 512 (dnsmasq)
   CGroup: name=systemd:/system/dnsmasq.service
           └─512 /usr/bin/dnsmasq -k --user=dnsmasq --pid-file

Mai 17 00:07:05 i2500k systemd[1]: Starting A lightweight DHCP and caching DNS server...
Mai 17 00:07:05 i2500k systemd[1]: Started A lightweight DHCP and caching DNS server.
Mai 17 00:07:05 i2500k dnsmasq[512]: started, version 2.66 DNS disabled
Mai 17 00:07:05 i2500k dnsmasq[512]: compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFT...t auth
Mai 17 00:07:05 i2500k dnsmasq-dhcp[512]: DHCP, IP range 192.168.0.50 -- 192.168.0.55, lease time 12h
Mai 17 00:07:05 i2500k dnsmasq-tftp[512]: TFTP root is /var/ftpd/archiso1

What's wrong? Worked well until Wednesday (2013-05-15).

Offline

#2 2013-05-17 03:27:16

mapintar
Member
Registered: 2010-04-17
Posts: 47

Re: dnsmasq fail at a boot, but start fine after

Pacman log show libvirt update at 2013-05-15:

[2013-05-15 13:03] [PACMAN] upgraded libvirt (1.0.5-3 -> 1.0.5-4)

And libvirt use dnsmasq:

systemctl status libvirtd.service

libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; disabled)
   Active: active (running) since Sex 2013-05-17 00:20:58 BRT; 1s ago
Main PID: 642 (libvirtd)
   CGroup: name=systemd:/system/libvirtd.service
           ├─642 /usr/sbin/libvirtd -p /var/run/libvirtd.pid
           └─695 dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf

Mai 17 00:21:00 i2500k dnsmasq[695]: compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFT...t auth
Mai 17 00:21:00 i2500k dnsmasq-dhcp[695]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h
Mai 17 00:21:00 i2500k dnsmasq[695]: using local addresses only for unqualified names
Mai 17 00:21:00 i2500k dnsmasq[695]: reading /etc/resolv.conf
Mai 17 00:21:00 i2500k dnsmasq[695]: using nameserver 192.168.0.1#53
Mai 17 00:21:00 i2500k dnsmasq[695]: using nameserver 189.7.32.15#53
Mai 17 00:21:00 i2500k dnsmasq[695]: using local addresses only for unqualified names
Mai 17 00:21:00 i2500k dnsmasq[695]: read /etc/hosts - 13921 addresses
Mai 17 00:21:00 i2500k dnsmasq[695]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Mai 17 00:21:00 i2500k dnsmasq-dhcp[695]: read /var/lib/libvirt/dnsmasq/default.hostsfile

Offline

Board footer

Powered by FluxBB