Bug 1211909 - [Feature request] Add information about which repositories were used for installation to packaging.log
Summary: [Feature request] Add information about which repositories were used for inst...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-15 08:28 UTC by Petr Schindler
Modified: 2023-07-26 12:05 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 13:43:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Schindler 2015-04-15 08:28:01 UTC
Description of problem:
It would help us with testing and debugging packaging. For example in bug 1211907 there is information about disabling updates repositories but they were used during installation.

When we test installation from different source (specific mirror, nfs, ftp, ...) it is not clear if the required source was really used.

Version-Release number of selected component (if applicable):
anaconda 22.20.9-1

Comment 1 David Shea 2015-04-15 13:42:10 UTC
Like what's in dnf.log?

Comment 2 Kamil Páral 2015-04-15 14:07:07 UTC
To clarify, installation sources can be set up and modified many times over. It would help us (QA) tremendously if there was a single place somewhere in the logs where the *final* installation source configuration was printed out. That means after the user has hit Begin Installation and therefore it's clear it is not going to change. Ideally that printout would be machine parseable - we could use it in our anaconda tests to verify that the chosen installation source was really used, and not a different one.

If I look into dnf.log, there's a lot of debug info, but it's hard to reliably determine which installation sources were truly used, what were their URLs, etc. Also, this output might easily change with every new dnf version.

Could anaconda print this, so that we can depend on it and it doesn't change too often? Something like:

> Installation Sources used:
> repo fedora: https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
> repo updates: https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch

or

> Installation Sources used:
> ISO: /dev/cdrom

or

> Installation Sources used:
> repo custom: nfs:host:port/path/to/repo

Comment 3 Fedora End Of Life 2016-07-19 13:43:51 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Fedora Admin user for bugzilla script actions 2023-07-26 12:05:30 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


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