Bug 1943153 - [RFE] Add granting DHCP server to stored DHCP lease information
Summary: [RFE] Add granting DHCP server to stored DHCP lease information
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Beniamino Galvani
QA Contact: Matej Berezny
Mayur Patil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-25 13:32 UTC by Nate
Modified: 2022-11-08 11:14 UTC (History)
12 users (show)

Fixed In Version: NetworkManager-1.39.3-1.el8
Doc Type: Enhancement
Doc Text:
.NetworkManger now stores DHCP lease information in the `/run/NetworkManager/devices/` directory NetworkManager now stores lease information from the DHCP server in the `/run/NetworkManager/devices/` directory. Previously, the file-based API was not available and this information was only visible in the output of the `nmcli -f all devices show DEVICE` command. With this enhancement, other utilities and scripts can access DHCP options without calling `nmcli`.
Clone Of:
Environment:
Last Closed: 2022-11-08 10:07:31 UTC
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2022:7680 0 None None None 2022-11-08 10:08:04 UTC
freedesktop.org Gitlab NetworkManager NetworkManager-ci merge_requests 1057 0 None opened ipv(4|6): modified ipv(4|6)_*_back_to_auto tests by adding check for dhcp-opts in /run files 2022-05-30 09:08:01 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 1190 0 None opened dhcp: save leases in /run 2022-04-14 09:34:05 UTC

Description Nate 2021-03-25 13:32:42 UTC
Description of problem:
NetowrkManager does not log or display information about what DHCP server granted its lease.  This information was provided by dhclient when it was the standard.

Version-Release number of selected component (if applicable):
RHEL 8.3, NetworkManager-1.26.0-13.el8_3.src.rpm

How reproducible:
Every Time

Steps to Reproduce:
Attain DHCP lease
Attempt to discern what server provided said lease using nmcli conn show <interface> OR view stored lease file


Actual results:
No granting dhcp server is listed in dhcp lease options.
No log in system journal or syslog shows this information either.

Expected results:
This information should be available from one, or several, of the sources listed above.

Comment 16 errata-xmlrpc 2022-11-08 10:07:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7680


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