** Description changed:

  Binary package hint: ebox-dhcp
  
  Hi all,
  
  I have notice that ebox-dhcp in armic doesn't work properly.
  When enabling the module I see the error: dhcpd: Can't create PID file 
/var/run/dhcpd.pid: Permission denied.
  
  Is this a known error? Or do I need to change something.
  
  Regards,
  H2T
  
  ProblemType: Bug
  Architecture: amd64
  Date: Sat Nov 28 21:55:45 2009
  DistroRelease: Ubuntu 9.10
  Package: ebox-dhcp 1.3.5-0ubuntu1
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-15.50-server
  SourcePackage: ebox-dhcp
  Uname: Linux 2.6.31-15-server x86_64
  
  ***************************************
  WORKAROUND
  
- You can follow these steps to allow for the creation of the pid at
- /var/run
- 
- Open gnome-terminal and type:
- 
- sudo gedit /etc/apparmor.d/usr.sbin.dhcpd3
- 
- and add
- 
- /var/run/dhcpd.pid rw,
- 
- below the '/var/run/dhcp3-server/dhcpd.pid w,' line.
- 
- Save and close the file and in gnome-terminal type:
- 
- sudo /etc/init.d/apparmor restart
- sudo touch /var/run/dhcpd.pid
- sudo chown dhcpd:dhcpd /var/run/dhcpd.pid
+ edit /etc/init/ebox.dhcpd3.conf to say
+ exec /usr/sbin/dhcpd3 -f -q -pf /var/run/dhcp3-server/dhcpd.pid
+ instead of its current implementation of:
+ exec /usr/sbin/dhcpd3 -f -q
  ***************************************

-- 
Can't create PID file /var/run/dhcpd.pid: Permission denied
https://bugs.launchpad.net/bugs/489726
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to