Your message dated Thu, 12 Feb 2015 18:48:29 +0000
with message-id <e1ylyop-0004w1...@franck.debian.org>
and subject line Bug#776530: fixed in dnsmasq 2.72-3
has caused the Debian Bug report #776530,
regarding dnsmasq: fails to start when dbus is not installed and running systemd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
776530: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776530
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dnsmasq
Version: 2.72-2
Severity: serious
Justification: fails to start with default init system

Thanks for maintaining dnsmasq!

When runnning dnsmasq with systemd on a freshly installed system,
without dbus installed, dnsmasq fails to start.  It seems like dnsmasq
should depend or at least recommend dbus if it needs dbus in order to
function on a default install with systemd. Some ugly chain of "dbus |
sysvinit-core | upstart" might also be worth entertaining...


Running systemd without dbus installed:

● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
  Drop-In: /run/systemd/generator/dnsmasq.service.d
           └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
   Active: failed (Result: timeout) since Wed 2015-01-28 17:20:30 PST; 7s ago
  Process: 4353 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, 
status=0/SUCCESS)
  Process: 4350 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, 
status=0/SUCCESS)
 Main PID: 4353 (code=exited, status=0/SUCCESS)

Jan 28 17:19:00 testprop dnsmasq[4353]: compile time options: IPv6 GNU-getopt 
DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect
Jan 28 17:19:00 testprop dnsmasq[4353]: DBus support enabled: bus connection 
pending
Jan 28 17:19:00 testprop dnsmasq[4353]: DNS service limited to local subnets
Jan 28 17:19:00 testprop dnsmasq-dhcp[4353]: DHCP, IP range 192.168.99.20 -- 
192.168.99.250, lease time 1h
Jan 28 17:19:00 testprop dnsmasq[4353]: reading /etc/resolv.conf
Jan 28 17:19:00 testprop dnsmasq[4353]: using nameserver 192.168.122.1#53
Jan 28 17:19:00 testprop dnsmasq[4353]: read /etc/hosts - 5 addresses
Jan 28 17:20:30 testprop systemd[1]: dnsmasq.service start operation timed out. 
Terminating.
Jan 28 17:20:30 testprop dnsmasq[4353]: exiting on receipt of SIGTERM
Jan 28 17:20:30 testprop systemd[1]: Failed to start dnsmasq - A lightweight 
DHCP and caching DNS server.
Jan 28 17:20:30 testprop systemd[1]: Unit dnsmasq.service entered failed state.


After running apt-get install dbus, it works fine:

● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
  Drop-In: /run/systemd/generator/dnsmasq.service.d
           └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
   Active: active (running) since Wed 2015-01-28 17:17:50 PST; 4s ago
  Process: 4099 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf 
(code=exited, status=0/SUCCESS)
  Process: 4093 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, 
status=0/SUCCESS)
 Main PID: 4095 (dnsmasq)
   CGroup: /system.slice/dnsmasq.service
           └─4095 /usr/sbin/dnsmasq --keep-in-foreground --enable-dbus -x 
/var/run/dnsmasq/dnsmasq.pid -u dnsmasq -7 
/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service

Jan 28 17:17:50 testprop dnsmasq[4093]: dnsmasq: syntax check OK.
Jan 28 17:17:50 testprop dnsmasq[4095]: started, version 2.72 cachesize 150
Jan 28 17:17:50 testprop dnsmasq[4095]: compile time options: IPv6 GNU-getopt 
DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect
Jan 28 17:17:50 testprop dnsmasq[4095]: DBus support enabled: connected to 
system bus
Jan 28 17:17:50 testprop dnsmasq[4095]: DNS service limited to local subnets
Jan 28 17:17:50 testprop dnsmasq-dhcp[4095]: DHCP, IP range 192.168.99.20 -- 
192.168.99.250, lease time 1h
Jan 28 17:17:50 testprop dnsmasq[4095]: reading /etc/resolv.conf
Jan 28 17:17:50 testprop dnsmasq[4095]: using nameserver 192.168.122.1#53
Jan 28 17:17:50 testprop dnsmasq[4095]: read /etc/hosts - 5 addresses




live well,
  vagrant


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dnsmasq depends on:
ii  dnsmasq-base         2.72-2
ii  init-system-helpers  1.22
ii  netbase              5.3

dnsmasq recommends no packages.

Versions of packages dnsmasq suggests:
pn  resolvconf  <none>

-- Configuration Files:
/etc/dnsmasq.conf changed:
dhcp-range=192.168.99.20,192.168.99.250,1h


-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: dnsmasq
Source-Version: 2.72-3

We believe that the bug you reported is fixed in the latest version of
dnsmasq, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 776...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Kelley <si...@thekelleys.org.uk> (supplier of updated dnsmasq package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 11 Feb 2015 21:56:12 +0000
Source: dnsmasq
Binary: dnsmasq dnsmasq-base dnsmasq-utils
Architecture: source amd64 all
Version: 2.72-3
Distribution: unstable
Urgency: medium
Maintainer: Simon Kelley <si...@thekelleys.org.uk>
Changed-By: Simon Kelley <si...@thekelleys.org.uk>
Description:
 dnsmasq    - Small caching DNS proxy and DHCP/TFTP server
 dnsmasq-base - Small caching DNS proxy and DHCP/TFTP server
 dnsmasq-utils - Utilities for manipulating DHCP leases
Closes: 769486 776530 777571
Changes:
 dnsmasq (2.72-3) unstable; urgency=medium
 .
    * debian/systemd.service: switch from Type=dbus to Type=forking.
      dnsmasq does not depend on dbus, but Type=dbus systemd services cannot
      work without it. (Closes: #769486, #776530)
      - debian/init: when called with systemd-exec argument, let dnsmasq
        go into the background, so Type=forking can detect when it is ready
    * Remove line containing only whitespace in debian/contol.
      (closes: #777571)
Checksums-Sha1:
 633ce02071190ed7b26ccccccbf2123cac11400a 1862 dnsmasq_2.72-3.dsc
 d2a03fd4c14bf29d421d9d5d654da5358a6af6bf 22031 dnsmasq_2.72-3.diff.gz
 4cd059d5c3058b56b7d2a529684ccc25aed6fa06 402234 dnsmasq-base_2.72-3_amd64.deb
 8732dcae4b3e016f89ff9f7db4282ea2f5be96a2 18914 dnsmasq-utils_2.72-3_amd64.deb
 28496ed4318ff71f96dac49f7a20832be48fca65 15842 dnsmasq_2.72-3_all.deb
Checksums-Sha256:
 bc1c3235da8af9b5a3a9e36cb7b1cb74fa69cf88ddcc7106f77ba334e3943418 1862 
dnsmasq_2.72-3.dsc
 8de69a5315187013c5db0da3ff183f69038bee0e8904e33498d9a2be8b60af07 22031 
dnsmasq_2.72-3.diff.gz
 62fcc09ab0873e8e3c9435133e8d005f71594a15a26d2ecc313b9c140f01dadc 402234 
dnsmasq-base_2.72-3_amd64.deb
 83bc97b1e9d4af75cbba7a9c3dc518512148af8356e6325e5bda36454898cf9d 18914 
dnsmasq-utils_2.72-3_amd64.deb
 9cfcee100232980e15faa292ad69aecf7d3ce5fd687e529ff1b7b1ccc217dcaf 15842 
dnsmasq_2.72-3_all.deb
Files:
 cb3ba3c0243f968f7b630e9e62688120 1862 net optional dnsmasq_2.72-3.dsc
 231c504154188cb5f72208691367498b 22031 net optional dnsmasq_2.72-3.diff.gz
 b77bf1096e071a7bcf658680ec03f120 402234 net optional 
dnsmasq-base_2.72-3_amd64.deb
 b3dc6ca5ce1c91383402b5ac2c6fb66a 18914 net optional 
dnsmasq-utils_2.72-3_amd64.deb
 343ff27ddf5da4a23eadb994d189e261 15842 net optional dnsmasq_2.72-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJU29EbAAoJEBXN2mrhkTWizUMP/RriyePxDpLulejiAp9ggjfq
XGPdZcVKTZpHoklaXQKjlaCcEwD4pq2288o0svBeKCGfsIimEoBdzaQb78hp+/hE
NbtRL0S7+pchJsRxxUhEieMC8PAD/q7v3dSArVRbGml1+6E2AtQllhLHo+57skEm
vXdEwlD90tXaA9E62vRem9y9GhMNQSLaQ26LYRxY3ItXLIJT4TGu8nzZZUruC6Nq
psGzzXnOiqRfI4tDTbyMUVcIUvrK6Jmto+g0LTzidn/TSaBE1ykW60ArMCRr3/CK
8hfCui6zJTk17jQLkc9pmHzNmSt+qXaldOdu8XkbNFHGohwR+/qFm5EV9TC5++kN
B34qIIhTbwT8VesEwZlU+r5Oh2I+eXKIChjA1CB6BQ0B1QJaIrYIyazCUFiGrGh0
1uD+9IT46lM7ykbvARcaF3D+0QdZnxn4/uJCP/QursVx5HwXDYSlNmprluB1cCbf
uURQX8aVwbFxsddPZR6UL4g627+mQpASpPcxLGwTQ4aHc7q+OEtcj4SliNu0fywU
EeLYZcEw75X1ozpwu3f43UtrrOTkxuIORFiKKdQXPb9KSV28vD7xwaFkZ5B+j7ot
7mp2sAp++ejVOEHtEZsEbumDWH+gtSK8P3dOozQpWQzqu9gZ8rZbKbitSdP+1ukW
seS+bEvRUr8TmnDGP2Sy
=0THk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to