Bug 1222415 - [rfe] Add UUID variable feature from yum.conf
Summary: [rfe] Add UUID variable feature from yum.conf
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-18 07:49 UTC by Graham White
Modified: 2016-07-21 09:51 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-21 09:51:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Graham White 2015-05-18 07:49:15 UTC
Description of problem:
If $uuid is used in a respod.d configuration file it is not respected under DNF (it works under yum).

Version-Release number of selected component (if applicable):
dnf-1.0.0-1.fc22

How reproducible:
Add $uuid to the configuration and run DNF

Steps to Reproduce:
1. Edit a configuration file, add $uuid to the mirrorlist or baseurl
2. Run DNF
3. Observe the access_log on the server side

Actual results:
No $uuid variable replacement is performed and the access logs on the server contain a literal $uuid string

Expected results:
The variable $uuid should be replaced with a unique ID by the DNF client such that the same ID appears on the server for each request from this client.

Additional info:
The man page for yum.conf states: "$uuid  This  will  be  replaced with a unique but persistent uuid for this machine.  The value that is first generated will be stored in /var/lib/yum/uuid and reused until this file is deleted."

Comment 1 Honza Silhan 2015-05-18 14:13:34 UTC
Thanks for the report. The option could be supported in DNF conf.

Comment 2 Fedora Admin XMLRPC Client 2016-07-08 09:26:43 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.


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