Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 514
    • Issues 514
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 49
    • Merge requests 49
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #1668

Closed
Open
Created Jan 23, 2021 by Jordie@topjor

kea-admin alpine 3.11 wrong admin-utils.sh and scripts path / packaging error

Describe the bug
On the alpine linux (v3.11) latest stable version (1.8.2) distributed via Cloudsmith the path to the database scripts and the admin-utils.sh file are wrong. According to the script the path of these files should be under /usr/share/kea/scripts but the package has these files actually located under /usr/share/kea/kea/scripts. This looks to be a packaging error. the package for alpine 3.10 is correct, but for alpine 3.11 it is not. the contents of the isc-kea-admin package can be seen without installing here: https://cloudsmith.io/~isc/repos/kea-1-8/packages/detail/alpine/isc-kea-admin/1.8.2-risc0001520201206093433/a=noarch;d=alpine%252Fv3.11/#files

To Reproduce
Steps to reproduce the behavior:

  1. On alpine linux version 3.11, install the repository
  2. Install isc-kea-admin
  3. Run kea-admin to read or modify a database
  4. See an error: (this is the error when trying to initialize a mysql database, but this issue will be present for almost any command as admin-utils.sh is not included properly)
/usr/sbin/kea-admin: line 218: mysql_execute: not found
ERROR/kea-admin: mysql_init table query failed, mysql status = 127

Environment:

  • Kea version: 1.8.2
  • OS: alpine linux v3.11 (amd64 / x86_64)
  • installed from official cloudsmith repository

Workaround

mv /usr/share/kea/kea/* /usr/share/kea/
Edited Jan 23, 2021 by Jordie
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking