Bug 902511

Summary: dnsmasq does not log
Product: [openSUSE] openSUSE Distribution Reporter: Marvin FourtyTwo <marvin24>
Component: NetworkAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: max, seife
Version: 13.2 RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Marvin FourtyTwo 2014-10-24 11:40:52 UTC
I fail to get any log output from dnsmasq. I configured it using a file in /etc/dnsmasq.d/desinfect:

port=0
log-queries
log-dhcp
enable-tftp
interface=eth0
bind-interfaces
tftp-root=/srv/tftp
dhcp-range=xxx.yyy.aaa.bbb,proxy
dhcp-vendorclass=set:is_pxe,PXEClient
dhcp-ignore=!is_pxe
pxe-prompt="Taste F8 zeigt Auswahl",5
pxe-service=X86PC,"Starten von Festplatte",0
pxe-service=X86PC,"Mit Desinfec't starten",ct/pxelinux
pxe-service=X86PC,"Mit WinPE starten",Boot/pxeboot.n12
pxe-service=X86PC,"Mit FreeDOS starten",freedos/pxelinux

and also enable conf-dir in /etc/dnsmasq.conf.

journalctl _SYSTEMD_UNIT=dnsmasq.service just reports "Syntax check OK" and nothing else (even not during pxe boot of a client machine). Downgrading to version 2.65 (from 13.1) logging works perfect.
Comment 1 Stefan Seyfried 2014-11-09 09:29:07 UTC
bug 904537 might be a duplicate of this.

Try removing PrivateDevices=yes from the service file.
Comment 2 Marvin FourtyTwo 2014-11-09 22:06:50 UTC
yes, this fixes it.
Comment 3 Stefan Seyfried 2014-11-10 08:42:56 UTC
Ok, then this is a duplicate of bug 904537.
(actually 904537 is a duplicate of this, but I'd say 904537 has the "better" Subject line and thus is more likely to get fixed soon :-)

*** This bug has been marked as a duplicate of bug 904537 ***
Comment 5 Swamp Workflow Management 2016-03-08 20:12:15 UTC
SUSE-RU-2016:0697-1: An update that has two recommended fixes can now be installed.

Category: recommended (low)
Bug References: 902511,904537
CVE References: 
Sources used:
SUSE Linux Enterprise Server 12-SP1 (src):    dnsmasq-2.71-10.1
SUSE Linux Enterprise Desktop 12-SP1 (src):    dnsmasq-2.71-10.1
Comment 6 Swamp Workflow Management 2016-03-15 13:12:41 UTC
openSUSE-RU-2016:0764-1: An update that has two recommended fixes can now be installed.

Category: recommended (low)
Bug References: 902511,904537
CVE References: 
Sources used:
openSUSE Leap 42.1 (src):    dnsmasq-2.71-6.1
Comment 8 Swamp Workflow Management 2017-10-02 19:08:25 UTC
SUSE-SU-2017:2616-1: An update that solves 8 vulnerabilities and has three fixes is now available.

Category: security (important)
Bug References: 1035227,1060354,1060355,1060360,1060361,1060362,1060364,902511,904537,908137,972164
CVE References: CVE-2015-3294,CVE-2015-8899,CVE-2017-14491,CVE-2017-14492,CVE-2017-14493,CVE-2017-14494,CVE-2017-14495,CVE-2017-14496
Sources used:
SUSE Linux Enterprise Server 12-LTSS (src):    dnsmasq-2.78-6.6.1