Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 556
    • Issues 556
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 66
    • Merge requests 66
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • KeaKea
  • Issues
  • #251
Closed
Open
Issue created Nov 07, 2018 by Michal Nowikowski@godfrydContributor

if hook is defined in config twice then all operations are made 2 times

if in config there is:

{
    "library": "/usr/local/lib/hooks/libdhcp_class_cmds.so"
}, {
    "library": "/usr/local/lib/hooks/libdhcp_class_cmds.so"
}

then operations like 'class-add' are performed 2 times. In case of 'class-add' the second one fails as there is already given class present.

UPDATE: See the discussion below. This is uncommon, but valid. However, Kea should print a warning if the same hook is loaded more than once.

Edited Jun 18, 2021 by Tomek Mrugalski
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking