Have the same bug is in Ubuntu 20.04.5 and isc-dhcp-server
4.4.1-2.1ubuntu5.20.04.4
It's very sad that bug is still haven't been fixed since 2015(!) year.
For myself I solve it with rc.local:
sleep 5
/usr/bin/systemctl restart isc-dhcp-server
--
You received this bug notification because you a
Same here with 22.04 still. The solution by @lyckeleb appears to be
working.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
isc-dhcp-server: Can't create P
This bug exists in Ubuntu 20.04 focal.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid:
However, the service still couldn't create a PID-file after a reboot. So
I tweaked a little bit longer.
It turns out that the isc-dhcp-server is started before the temporary
filesystem "/run".
The lines "Wants=local-fs.target", "After=local-fs.target" and "sleep 3 ; \"
solves that.
Security by
I had two problems :
1) no PID-file created and
2) I couldn't assign a NIC to "isc-dhcp-server"aka "dhcpd".
It turned out that the PID-file has to be "/var/run/dhcp-
server/dhcpd.pid". If not, apparmor wouldn't allow the creation of the
PID-file.
And the the file defining the originally in
Same problem encountered on Ubuntu 20.04.
Fixed after I ran
`sudo systemctl mask isc-dhcp-server6.service`
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
So I found a comment at https://unix.stackexchange.com/a/533900/253840
> My problem was that I had two services using same RuntimeDirectory
(isc-dhcp-server and isc-dhcp-server6), but I configured only one to
work. So when the second one died, its runtime directory got removed,
making it a problem
I'm encountering the same thing on a fresh installation of Ubuntu 20.04.
Here is what happens right after a reboot:
jeff@bridges:~$ ll /run/ | grep dhcp
jeff@bridges:~$ sudo systemctl status isc-dhcp-server
[sudo] password for jeff:
● isc-dhcp-server.service - ISC DHCP IPv4 server
Loaded: loa
same problem for me with ubuntu 18. The PID is not create !
no update for this case ?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
isc-dhcp-server: Can'
After a few investigation I found that my previous fix does not fix the
bug at boot, at least on my Ubuntu 18.04 server.
There's no need to manually create the /run/dhcp-server folder since
dhcpd automatically creates the needed PID file parent folders by
itself.
It only happens at boot so the bu
Ubuntu 18.04 here, no apparmor.
Directory /run is on tempfs, so it is empty at start.
I suppose PID file /run/dhcp-server/dhcpd.pid can't be created because
directory /run/dhcp-server is missing at startup and I haven't found where it
will be created.
I've fixed systemd unit "/lib/systemd/syste
Why not fix this bug in Ubuntu Bionic where it still happens ?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
isc-dhcp-server: Can't create PID file /run/d
This also affects isc-dhcp-server6 in the same way. It's service file
would also need to be updated similarly.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
The directory /run/dhcp-server is already owned by dhcpd:dhcpd, but
dhcpd is writing to it as root which requires CAP_DAC_OVERRIDE. The
directory needs to be owned by root:root if dhcpd is going to write the
PID file as root.
--
You received this bug notification because you are a member of Ubunt
I don't understand how this bug can just stand open? It's not even
assigned? I'm even seeing this in 15.10. Why are things like this not
being fixed? If Rahaels file is working, then why isn't it included when
I apt upgrade?
--
You received this bug notification because you are a member of Ubuntu
here's the contents of a working isc-dhcp-server.service
** Attachment added: "isc-dhcp-server.service"
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1448657/+attachment/4556285/+files/isc-dhcp-server.service
--
You received this bug notification because you are a member of Ubuntu
I'm newbie on linux and I had this problem too. I think I solved it that
way:
** Attachment added: "snapshot of isc-dhcp-server.service"
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1448657/+attachment/4530564/+files/VirtualBox_Ubuntu%20Server15.04%20_06_12_2015_20_57_31.png
--
Y
Even after fixing the above problem, AppArmor seems to prevent a PID
file from being written. I'm not very familiar with it, but I added:
capability dac_override,
to /etc/apparmor.d/usr.sbin.dhcpd near the other capabilities, restarted
the service, and now I have a PID file.
--
You received thi
It looks like the line in /lib/systemd/system/isc-dhcp-server.service:
exec dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-
server/dhcpd.pid -cf $CONFIG_FILE $INTERFACES'
is hardcoded and ignores the DHCPD_PID variable from /etc/default/isc-
dhcp-server.
I think it should be:
exe
Still occurs in Wily.
** Tags added: wily
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid
** Changed in: isc-dhcp (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
isc-dhcp-server: Can't create PID file /
s/Utopic/Vivid/
** Tags added: vivid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid:
P
** This bug is no longer a duplicate of bug 985417
dhcpd cannot write /var/run/dhcpd.pid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448657
Title:
isc-dhcp-server
*** This bug is a duplicate of bug 985417 ***
https://bugs.launchpad.net/bugs/985417
I don't think it was correct to mark this as a duplicate of #985417.
That bug affected Precise and Quantal and was fixed back in 2012. This
bug is currently affecting users of Utopic in 2015.
--
You receive
*** This bug is a duplicate of bug 985417 ***
https://bugs.launchpad.net/bugs/985417
** This bug has been marked a duplicate of bug 985417
dhcpd cannot write /var/run/dhcpd.pid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscr
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: isc-dhcp (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad
26 matches
Mail list logo