Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1163028

Summary: [doc] Document behaviour of --installroot
Product: [Fedora] Fedora Reporter: Miroslav Suchý <msuchy>
Component: dnfAssignee: Jaroslav Mracek <jmracek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 23CC: akozumpl, jmracek, jsilhan, jzeleny, mluscon, pnemade, tla
Target Milestone: ---Keywords: Triaged
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-22 08:41:55 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:
Bug Depends On:    
Bug Blocks: 977007, 1160612, 1226818, 1227001    

Description Miroslav Suchý 2014-11-12 09:18:05 UTC
Description of problem:
I find several differences in behaviour of --installroot between yum and dnf. But it does not make sense to me to report the unless there is clear documentation of this option and what behaviour is correct.

First: documentation in dnf is very short:
       --installroot=<path>
              set install root
which I find as regression from yum documentation:
       --installroot=root
              Specifies an alternative installroot, relative to which all packages will be installed. Think of this like doing "chroot  <root>
              yum"  except  using  --installroot  allows  yum to work before the chroot is created.  Note: You may also want to use the option
              --releasever=/ when creating the installroot as otherwise the $releasever value is taken from the rpmdb within  the  installroot
              (and thus. will be empty, before creation).
              Configuration Option: installroot

But even the yum expanded documentation does not state, how installroot relate to yum.repos.d/* files. Are they taken from host of from installroot? Log files are placed to host /var/log or to installroot? 

Version-Release number of selected component (if applicable):
dnf-0.6.2-1.fc21.noarch

Comment 1 Honza Silhan 2014-11-14 14:14:27 UTC
thanks for the report, it can be better documented.

Comment 2 Jaroslav Reznik 2015-03-03 17:05:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Miroslav Suchý 2015-04-24 07:23:20 UTC
Ping. Any progress here?

Comment 4 Radek Holy 2015-04-24 09:17:50 UTC
No progress yet, sorry.

Comment 5 Jan Kurik 2015-07-15 14:36:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 7 Jaroslav Mracek 2016-01-14 09:10:06 UTC
This bug will be fixed by pullrequest: https://github.com/rpm-software-management/dnf/pull/428

Comment 8 Mike McCune 2016-03-28 23:15:27 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 9 Igor Gnatenko 2016-07-22 08:41:55 UTC
Fixed as part of DNF 2.0 release.