Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 606
    • Issues 606
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 65
    • Merge requests 65
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • 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
  • #719

Need to be able to remove global options on a more specific level (never-send entry) [ISC-support #14907]

In general a string option cannot be empty.

There are a few standard options which can be empty, none are string option, some are IP address array with possibly no address.

But in this instance, the requirement is a special case in which there's a global option defined but at a lower level, this needs to be overridden with an empty value. (The converse of not having it defined globally, but inserting it specifically at a lower level).

If you try to define the option with a null string value, Kea does not accept the configuration:

ERROR [kea-dhcp4.dhcp4/38937] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/etc/kea/kea-dhcp4.conf': option data does not match option definition (space: dhcp4, code: 252): failed to parse an option '252' holding string value - empty value is not accepted (/etc/kea/kea-dhcp4.conf:161:19)

Other DHCP servers can support this functionality.

Support ticket 14907
Support ticket 20172

Edited Oct 10, 2022 by Francis Dupont
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking