dhcpd cannot write /var/run/dhcpd.pid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
isc-dhcp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Low
|
Stéphane Graber | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu precise (development branch)
Release: 12.04
---
isc-dhcp-server:
Telepítve: 4.1.ESV-R4-0ubuntu5
Jelölt: 4.1.ESV-R4-0ubuntu5
Verziótáblázat:
*** 4.1.ESV-R4-0ubuntu5 0
500 http://
100 /var/lib/
---
when starting dhcpd the following can be observed in syslog:
Apr 19 08:09:09 u3 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Apr 19 08:09:09 u3 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Apr 19 08:09:09 u3 dhcpd: All rights reserved.
Apr 19 08:09:09 u3 dhcpd: For info, please visit https:/
Apr 19 08:09:09 u3 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Apr 19 08:09:09 u3 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Apr 19 08:09:09 u3 dhcpd: All rights reserved.
Apr 19 08:09:09 u3 dhcpd: For info, please visit https:/
Apr 19 08:09:09 u3 dhcpd: Wrote 0 leases to leases file.
Apr 19 08:09:09 u3 dhcpd: Can't create PID file /var/run/dhcpd.pid: Permission denied.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: isc-dhcp-server 4.1.ESV-R4-0ubuntu5
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu4
Architecture: amd64
Date: Thu Apr 19 08:09:16 2012
DhServerLeases:
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120417)
SourcePackage: isc-dhcp
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
----
[impact]
Actually create the pid file in the directory that's created by the upstart job, instead of having dhcpd try to create it in /run and fail miserably (though the server would start regardless).
[test case]
1) Install isc-dhcp-server on an Ubuntu 12.04 system
2) Update /etc/dhcp/
3) sudo stop isc-dhcp-server ; sudo start isc-dhcp-server (if also doing IPv6, then do the same for isc-dhcp-server6)
4) Check that /run/dhcp-
5) Check /var/log/syslog for any pid-related error message
[regression potential]
Can't see anything, the upstart job has always been creating the pid path and set the ownership, so even on a system where these would be broken, the init job would be broken already.
description: | updated |
Changed in isc-dhcp (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in isc-dhcp (Ubuntu Precise): | |
status: | New → In Progress |
assignee: | nobody → Stéphane Graber (stgraber) |
description: | updated |
Changed in isc-dhcp (Ubuntu Precise): | |
importance: | Undecided → Low |
description: | updated |
New bug can be found at: /bugs.launchpad .net/ubuntu/ +source/ isc-dhcp/ +bug/985417
https:/