Events 'on commit' and 'on release'

Алексей Прокопчук alexpro at
Fri Oct 18 12:43:50 UTC 2013

Hi all.

I use dhcpd in IPv6 mode.
Tried to use event handlers for commit and release.

Config is very simple:


option domain-name "homel.local";
option 2d02:2818:8::1, 2d02:2818:8::5;
default-lease-time 3600;
max-lease-time 7200;
ddns-update-style none;

subnet6 2f02:2818:8:1::/64
  range6 2f02:2818:8:1::2 2d02:2818:8:1::6fff;
  prefix6 2f02:2818:8:100:: 2d02:2818:8:11f:: /64;

  on commit  {
  on release {



contents of /etc/dhcp/event:

/bin/echo $1 >> /tmp/dhcp-events

dhcpd starts and works properly.
I received addresses and prefixes, all OK.
But events seems doesn't work. No messages in system log,
nor error nor success. Nothing about events at all.
And scripts does not executed.
I tried to run dhcpd with '-d' parameter, nothing printed to stderr.

I even tried to run dhcpd with '-u root -g root' to prevent possible
problems with permissions.

Maybe I missed something? I have no ideas...

Thanks in advance, with best regards, Alexey Prokopchuk (AP8686-RIPE)

More information about the dhcp-users mailing list