Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 664080

Summary: dnsmasq is missing a systemd unit file
Product: Gentoo Linux Reporter: Randy Barlow <randy>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Randy Barlow 2018-08-20 01:35:57 UTC
Greetings!

I did a system update today and after the update I noticed that dnsmasq hadn't started up. After investigating, it seemed that the unit file was no longer being installed to /usr/lib/systemd/system as it used to be.

Reproducible: Always

Steps to Reproduce:
1. Install dnsmasq on a systemd Gentoo install.
2. systemctl start dnsmasq
Actual Results:  
dnsmasq will not start due to missing unit file.

Expected Results:  
dnsmasq should start.

As a workaround, I've created a unit file in /etc/systemd/system/dnsmasq.service with the following contents, to use the unit file from the portage tree:

.include /usr/portage/net-dns/dnsmasq/files/dnsmasq.service-r1
Comment 1 Randy Barlow 2018-08-20 01:48:11 UTC
My mistake. I had a custom unit in /etc/systemd/system/dnsmasq.service that had the old path in an include statement (similar to what I wrote in my first comment). It seems that systemd unit files are now located in /lib/systemd/system/dnsmasq.service so my custom unit simply began to fail to locate the unit when the location changed.

Apologies for the noise.