Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1149459 - Doesn't start
Summary: Doesn't start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnsmasq
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Tomáš Hozza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-05 10:34 UTC by Nils Philippsen
Modified: 2014-10-11 06:58 UTC (History)
5 users (show)

Fixed In Version: dnsmasq-2.72-3.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-11 06:58:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nils Philippsen 2014-10-05 10:34:34 UTC
Description of problem:
After the latest update of dnsmasq, it doesn't start, neither during booting, or if started manually.

Version-Release number of selected component (if applicable):
dnsmasq-2.72-1.fc21.x86_64

How reproducible:
Reproducible

Steps to Reproduce:
1. systemctl restart dnsmasq.service
2. systemctl status dnsmasq.service

Actual results:
root@gibraltar:~> systemctl restart dnsmasq.service 
root@gibraltar:~> systemctl status dnsmasq.service 
● dnsmasq.service - DNS caching server.
   Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)
   Active: failed (Result: exit-code) since Sun 2014-10-05 12:27:40 CEST; 1s ago
  Process: 5324 ExecStart=/usr/sbin/dnsmasq -k (code=exited, status=3)
 Main PID: 5324 (code=exited, status=3)

Oct 05 12:27:40 gibraltar dnsmasq[5324]: dnsmasq: cannot access directory /etc/dnsmasq.d/*.conf: No such file or directory
Oct 05 12:27:40 gibraltar systemd[1]: dnsmasq.service: main process exited, code=exited, status=3/NOTIMPLEMENTED
Oct 05 12:27:40 gibraltar systemd[1]: Unit dnsmasq.service entered failed state.
root@gibraltar:~> ls -l /etc/dnsmasq.d/
total 8
-rw-r--r--. 1 root root   84 Jan 24  2012 local_config.conf
-rw-r--r--. 1 root root 1915 Jul 11 17:02 local_servers.conf
root@gibraltar:~>

Expected results:
dnsmasq is running

Additional info:
After commenting out the last line of /etc/dnsmasq.conf ("conf-dir=/etc/dnsmasq.d/*.conf"), it starts properly again.

Comment 1 Tomáš Hozza 2014-10-06 06:50:42 UTC
Thank you for the report. The --conf-dir was extended to include also file extensions. There is comma missing, just before the "*.conf", in the default configuration. I'll update the package ASAP!

Comment 2 Fedora Update System 2014-10-06 08:46:01 UTC
dnsmasq-2.72-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/FEDORA-2014-11636/dnsmasq-2.72-2.fc21

Comment 3 Fedora Update System 2014-10-08 19:09:20 UTC
Package dnsmasq-2.72-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnsmasq-2.72-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-11636/dnsmasq-2.72-3.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-10-11 06:58:07 UTC
dnsmasq-2.72-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.