Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664080 - dnsmasq is missing a systemd unit file
Summary: dnsmasq is missing a systemd unit file
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-20 01:35 UTC by Randy Barlow
Modified: 2018-08-20 01:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.