Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 574
    • Issues 574
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 57
    • Merge requests 57
  • 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
  • #2100
Closed
Open
Issue created Sep 23, 2021 by Brian Candler@candlerb

systemd dependency problem means isc-kea-ctrl-agent does not autostart at bootup

I have the following packages installed under Ubuntu 18.04 from deb https://dl.cloudsmith.io/public/isc/kea-1-6/deb/ubuntu bionic main:

ii  isc-kea-common                  1.6.3-isc0044120200730112858        amd64        Common libraries for the ISC Kea DHCP server
ii  isc-kea-ctrl-agent              1.6.3-isc0044120200730112858        amd64        ISC Kea DHCP server REST API service
ii  isc-kea-dhcp4-server            1.6.3-isc0044120200730112858        amd64        ISC Kea IPv4 DHCP server
ii  isc-kea-dhcp6-server            1.6.3-isc0044120200730112858        amd64        ISC Kea IPv6 DHCP server

PROBLEM: isc-kea-ctrl-agent is not automatically started by systemd when the machine reboots (but it does start if you manually run systemctl start isc-kea-ctrl-agent)

CAUSE: /lib/systemd/system/isc-kea-ctrl-agent.service contains:

[Install]
WantedBy=kea-dhcp4-server.service
WantedBy=kea-dhcp6-server.service

This should instead say:

[Install]
WantedBy=isc-kea-dhcp4-server.service
WantedBy=isc-kea-dhcp6-server.service

WORKAROUND:

  • systemctl edit isc-kea-ctrl-agent.service
  • enter the [Install] section exactly as above, and save.
  • systemctl reenable isc-kea-ctrl-agent.service
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking