RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1625901 - NM starts a DHCP grace period even if the DHCP client is not running
Summary: NM starts a DHCP grace period even if the DHCP client is not running
Keywords:
Status: CLOSED WONTFIX
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
: 8.0
Assignee: NetworkManager Development Team
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-06 08:11 UTC by Beniamino Galvani
Modified: 2021-01-08 07:35 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-08 07:35:17 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Beniamino Galvani 2018-09-06 08:11:17 UTC
NM starts a DHCP grace period even if the DHCP client is not running. Instead it should detect that the client terminated and fail the connection, or proceed without waiting.

See here for more details and logs:
https://bugzilla.redhat.com/show_bug.cgi?id=1578668#c4

Comment 4 Filip Pokryvka 2019-05-22 15:12:24 UTC
Consider the following scenario with main.dhcp=dhclient:

    * Prepare simulated test "testX4" device
    * Add connection type "ethernet" named "con_ipv4" for device "testX4"
    * Modify connection "con_ipv4" changing options "ipv4.may-fail no"
    * Bring "down" connection "con_ipv4"
    * Note dhclient pids
    * Bring "up" connection "con_ipv4"
    When "con_ipv4" is visible with command "nmcli con show -a" in "10" seconds
    * Wait for at least "10" seconds
    * Execute "mv /usr/sbin/dhclient /usr/sbin/dhclient-tmp"
    * Execute "cp /usr/bin/false /usr/sbin/dhclient"
    * Kill dhclient with not noted pid

After this, when IPv4 expires on testX4 (it is not renewed, because dhclient always fails), connection con_ipv4 stays active. The connection should fail, when IPv4 lease expires and there is no dhclient running.

Comment 8 Thomas Haller 2020-08-19 11:01:18 UTC
moving to rhel-8, as rhel-7 will only get "important" fixes.

Comment 14 RHEL Program Management 2021-01-08 07:35:17 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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