dhcpd.pid file is different in /etc/init/ and /etc/init.d
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
in /etc/init/
exec dhcpd -user dhcpd -group dhcpd -f -q -4 -pf /run/dhcp-
in /etc/init.
# try to read pid file name from config file, with fallback to /var/run/dhcpd.pid
if [ -z "$DHCPD_PID" ]; then
fi
DHCPD_PID=
The default dhcpd.pid file location differ (should be same).
So if you'll try to do:
/etc/init.
you'll get TWO dhcpd servers!
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: upstart 1.10-0ubuntu7
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Wed Jan 29 22:05:38 2014
InstallationDate: Installed on 2014-01-09 (20 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
MarkForUpload: True
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)
UpstartBugCategory: System
UpstartRunningS