Bug 1759264 - keactrl script has incorrect pid_file_dir path
Summary: keactrl script has incorrect pid_file_dir path
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kea
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Zhukov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-07 17:52 UTC by Rick Dicaire
Modified: 2020-07-16 07:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-26 18:44:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rick Dicaire 2019-10-07 17:52:57 UTC
Description of problem:

/usr/sbin/keactrl script always shows status of processes as inactive.

Version-Release number of selected component (if applicable):

Name         : kea
Version      : 1.5.0
Release      : 9.fc30
Architecture : x86_64
Size         : 8.8 M
Source       : kea-1.5.0-9.fc30.src.rpm
Repository   : @System
From repo    : updates
Summary      : DHCPv4, DHCPv6 and DDNS server from ISC
URL          : http://kea.isc.org
License      : MPLv2.0 and Boost
Description  : DHCP implementation from Internet Systems Consortium, Inc. that features fully
             : functional DHCPv4, DHCPv6 and Dynamic DNS servers.
             : Both DHCP servers fully support server discovery, address assignment, renewal,
             : rebinding and release. The DHCPv6 server supports prefix delegation. Both
             : servers support DNS Update mechanism, using stand-alone DDNS daemon.


How reproducible:

Execute keactrl status.

Steps to Reproduce:
1. Start at least one of the kea services (I started kea-dhcp4 and kea-ctrl-agent)
2. Execute keactrl status
3. 

Actual results:

keactrl status
DHCPv4 server: inactive
DHCPv6 server: inactive
DHCP DDNS: inactive
Control Agent: inactive
Kea DHCPv4 configuration file: /etc/kea/kea-dhcp4.conf
Kea DHCPv6 configuration file: /etc/kea/kea-dhcp6.conf
Kea DHCP DDNS configuration file: /etc/kea/kea-dhcp-ddns.conf
Kea Control Agent configuration file: /etc/kea/kea-ctrl-agent.conf
keactrl configuration file: /etc/kea/keactrl.conf


Expected results:

keactrl status
DHCPv4 server: active
DHCPv6 server: inactive
DHCP DDNS: inactive
Control Agent: active
Kea DHCPv4 configuration file: /etc/kea/kea-dhcp4.conf
Kea DHCPv6 configuration file: /etc/kea/kea-dhcp6.conf
Kea DHCP DDNS configuration file: /etc/kea/kea-dhcp-ddns.conf
Kea Control Agent configuration file: /etc/kea/kea-ctrl-agent.conf
keactrl configuration file: /etc/kea/keactrl.conf


Additional info:

I found an incorrect path in /usr/sbin/keactrl:95

local pid_file_dir=/var/kea

I changed it to /var/run/kea and now the script correctly shows process status as shown above.

Comment 1 Pavel Zhukov 2019-10-08 11:27:58 UTC
Thank you for your bug report.
Looks like it's another leftover of "old" LHS incompatible kea

Comment 2 Andrea Perotti 2020-04-29 09:03:06 UTC
Looks to me this has been solved already, isn't it?

Comment 3 Ben Cotton 2020-04-30 20:10:55 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Ben Cotton 2020-05-26 18:44:09 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Pavel Zhukov 2020-07-16 07:49:59 UTC
(In reply to Andrea Perotti from comment #2)
> Looks to me this has been solved already, isn't it?

Fixed.
Default installation:

[root@ci-vm-10-0-136-14 ~]# keactrl status
DHCPv4 server: active
DHCPv6 server: inactive
DHCP DDNS: inactive
Control Agent: inactive


Note You need to log in before you can comment on or make changes to this bug.