exit hook script may exit and prevent further scripts from executing

Bug #70180 reported by Brian King
254
Affects Status Importance Assigned to Milestone
dhcdbd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The installed exit hook script in /etc/dhcp3/dhclient-exit-hooks.d/dhcdbd may inappropriately call 'exit 0' which prevents execution of any further scripts in the hooks directory.

Commenting out lines 9 through 11 fixes the problem:

  if (( ( dhc_dbus & 31 ) == 31 )); then
    exit 0;
  fi;

This may pose a slight security risk if a firewall script made use of this hook with a file name alphabetically after dhcdbd.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in a later version of Ubuntu. It won't be fixed in previous versions of Ubuntu because the bug doesn't fit requirements for backporting. See https://help.ubuntu.com/community/UbuntuBackports for more information.

Changed in dhcdbd:
status: New → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.