Bug 1222415

Summary: [rfe] Add UUID variable feature from yum.conf
Product: [Fedora] Fedora Reporter: Graham White <graham_alton>
Component: dnfAssignee: rpm-software-management
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: ignatenko, jsilhan, jzeleny, mluscon, packaging-team-maint, pnemade, tim.lauridsen, vmukhame
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-21 09:51:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.