[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2021-09-05 Thread dienteperro
This bug exists in Ubuntu 20.04 focal. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied To manage

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2020-11-23 Thread LyckeleB
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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2020-11-22 Thread LyckeleB
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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2020-07-21 Thread Bob Morane
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: isc-dhcp-server: Can't

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2020-04-29 Thread Jeff Reeves
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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2020-04-29 Thread Jeff Reeves
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:

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2019-05-06 Thread Le corre
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: isc-dhcp-server: Can't create PID file

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2018-08-22 Thread Nicorac
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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2018-08-21 Thread Nicorac
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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2018-04-26 Thread Wladimir Mutel
Why not fix this bug in Ubuntu Bionic where it still happens ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid:

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2017-01-11 Thread Jason Penney
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: isc-dhcp-server: Can't

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2016-05-10 Thread Simon Arlott
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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2016-04-02 Thread Jason Hunter
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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2016-01-25 Thread Raphaël Jacquot
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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-12-06 Thread Honsan
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 --

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-11-12 Thread Stephen Pape
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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-11-10 Thread Stephen Pape
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:

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-10-26 Thread Jared Fernandez
Still occurs in Wily. ** Tags added: wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied To

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-09-17 Thread Alberto Salvia Novella
** Changed in: isc-dhcp (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid:

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-09-16 Thread Jared Fernandez
s/Utopic/Vivid/ ** Tags added: vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied To manage

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-09-15 Thread Jared Fernandez
** 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: isc-dhcp-server: Can't create PID file

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-09-14 Thread Jared Fernandez
*** 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

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-09-03 Thread Chris Higgins
*** 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 Bugs, which is subscribed to Ubuntu.

[Bug 1448657] Re: isc-dhcp-server: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied

2015-05-03 Thread Launchpad Bug Tracker
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448657 Title: