[Bug 880531] Re: DHCP Server does not execute external commands
Marc Deslauriers
marc.deslauriers at canonical.com
Sun Oct 23 20:21:11 UTC 2011
Did you get any apparmor denial messages in kern.log?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/880531
Title:
DHCP Server does not execute external commands
Status in “isc-dhcp” package in Ubuntu:
New
Bug description:
Ubuntu LTS 8.04 DHCP-Server does not execute external commands with permission denied.
Compiling original isc-server and running the same config and parameters the external commands are executed.
Sample external-command echo:
on commit {
set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
set ClientMac = binary-to-ascii(16, 8, ":", substring(hardware, 1, 6));
set ClientName = pick-first-value(option host-name, host-decl-name, config-option host-name, "");
log(concat("Commit: IP: ", ClientIP, " Mac: ", ClientMac, " Name: ", ClientName));
execute("/tmp/echo","Hallo >>/tmp/data");
}
Error:
Oct 23 21:36:38 vdhcp dhcpd: Unable to execute /tmp/echo: Permission denied
Thanks for the good work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/880531/+subscriptions
More information about the foundations-bugs
mailing list