isc-dhcp-server & isc-dhcp-server6 systemd service units use the same RuntimeDirectory leading to loss of pid files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
isc-dhcp (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Xenial |
Triaged
|
High
|
Unassigned | ||
Bionic |
Triaged
|
High
|
Unassigned | ||
Cosmic |
Won't Fix
|
High
|
Unassigned | ||
Disco |
Won't Fix
|
High
|
Unassigned |
Bug Description
dhcpd reports 'Can't create PID file /run/dhcp-
Additionally, both isc-dhcp-server & isc-dhcp-server6 service unit files specify the RuntimeDirectory 'dhcp-server', which is removed when either unit stops (and thus would wipe out the other unit's pid file, were it being successfully written).
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: isc-dhcp-server 4.3.3-5ubuntu4
ProcVersionSign
Uname: Linux 4.4.0-2-generic x86_64
ApportVersion: 2.19.4-0ubuntu2
Architecture: amd64
Date: Tue Feb 9 21:34:08 2016
InstallationDate: Installed on 2016-02-09 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160206)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=linux
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: isc-dhcp
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
Changed in isc-dhcp (Ubuntu): | |
importance: | Undecided → High |
tags: | added: rls-x-incoming |
tags: | added: id-5cdaf962074a7f2d10cef7b9 |
tags: |
added: rls-ee-notfixing removed: rls-ee-tracking |
Changed in isc-dhcp (Ubuntu Cosmic): | |
status: | Triaged → Won't Fix |
Changed in isc-dhcp (Ubuntu Disco): | |
status: | Triaged → Won't Fix |
The original primary issue (that pid files were not being written at all) was resolved in isc-dhcp 4.3.3-5ubuntu9. However both isc-dhcp-server & isc-dhcp-server6 systemd units continue to use the same RuntimeDirectory, so that when either service is restarted (eg to reconfigure), the pid file of the other service is lost.