[Bug 880531] Re: DHCP Server does not execute external commands
Michael Weinert
880531 at bugs.launchpad.net
Sun Oct 23 20:37:06 UTC 2011
> Did you get any apparmor denial messages in kern.log?
Ouch. Too late at night one shouldn't file a bug report and first
sleep on it. I'm horrible sorry!
There are indeed denied-Messages.
Thanks for your very quick response!
Best wishes from Germany,
Michael Weinert
--
**** 10 Jahre SysQuadrat **** 10 Jahre SysQuadrat ****
SysQuadrat Systeme mit Sicherheit
Michael Weinert
Mörikestr. 32
71299 Wimsheim
Tel.: 07044-917880 Fax: 917870 Mobil: 0170-4141273
http://www.linux-firewall.de weinert at sys2.de
KeyServer hkp://pgp.mit.edu
Disclaimer:
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie
diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any unauthorised
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.
--
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