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 1462091 - [dhclient] Missing uid in lease filename
Summary: [dhclient] Missing uid in lease filename
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dhcp
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Zhukov
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-16 07:33 UTC by Leos Pol
Modified: 2017-07-03 08:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-03 08:22:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Leos Pol 2017-06-16 07:33:31 UTC
Description of problem:
Without NetworkManager dhclient creates lease file in /var/lib/dhclient/ in format dhclient-{uid}-{iface}.lease. I'm not sure, what is uid, but comparing with dhclient-4.2.5-47.el7, new version has uid blank.

Version-Release number of selected component (if applicable):
dhclient-4.2.5-58.el7

How reproducible:
always on my system

Steps to Reproduce:
1. systemctl stop NetworkManager
2. systemctl restart network
3. ps -ef | grep dhclient

Actual results:
root     10858     1  0 03:18 ?        00:00:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient--eth0.lease -pf /var/run/dhclient-eth0.pid -H qeos-117 eth0


Expected results:
root      9796  0.0  0.6 112820 12788 ?        Ss   03:20   0:00 /sbin/dhclient -H qeos-124 -1 -q -lf /var/lib/dhclient/dhclient-a3cbc97c-53c9-4cec-bd7d-51054f677d9a-eth0.lease -pf /var/run/dhclient-eth0.pid eth0


Additional info:

Comment 2 Pavel Zhukov 2017-06-27 13:21:46 UTC
Hi Leos,

initscripts (not dhclient) takes UUID from ifcfg- file (one in /etc/sysconfig/network-scripts/ifcfg-<iface> name).  As this parameter is not mandatory it can be skipped and in that case you'll have blank uuid and "--" in leases filename.
Please confirm it's the case for you.

Comment 4 Pavel Zhukov 2017-07-03 08:22:48 UTC
Closing as per https://bugzilla.redhat.com/show_bug.cgi?id=1462091#c2
Feel free to open bug on initscripts if it's not the case and uuid is missed even if it was properly specified in ifcfg file

Comment 5 Leos Pol 2017-07-03 08:46:47 UTC
Pavel, you're right. My 7.3 machine has uuid generated in ifcfg, but 7.4 not. Thanks for explanation.


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