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 1328674

Summary: diskspacecheck=0 in dnf.conf has no effect
Product: [Fedora] Fedora Reporter: Seth Jennings <sjenning>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-1.1.9-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-22 02:25:06 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 Seth Jennings 2016-04-20 03:08:07 UTC
Description of problem:
diskspacecheck=0 in dnf.conf does not skip the disk space check in the rpm transaction

Version-Release number of selected component (if applicable):
dnf-1.1.8-1

How reproducible:
Always

Steps to Reproduce:
1. set diskspacecheck=0 in /etc/dnf/dnf.conf
2. write a file that nearly the fills the root filesystem (around 500 MB remaining)
3. dnf --enablerepo=* install kernel-debuginfo (or any large package)

Actual results:
disk space check is still done and transaction check fails

Expected results:
disk space check is not done and install proceeds (then fails when out of disk)

Additional info:
There is code in base.py to handle this but it doesn't do it correctly.  The rpm problem filter is not updated with RPMRPOB_FILTER_DISKSPACE.

Comment 1 Seth Jennings 2016-04-20 03:20:59 UTC
Upstream pull request filed to fix this:
https://github.com/rpm-software-management/dnf/pull/471

Comment 2 Seth Jennings 2016-04-29 16:34:20 UTC
New upstream PR:
https://github.com/rpm-software-management/dnf/pull/480

Comment 3 Fedora Update System 2016-05-19 11:08:30 UTC
dnf-plugins-core-0.1.21-1.fc24 dnf-1.1.9-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1efd7bc386

Comment 4 Fedora Update System 2016-05-19 11:10:38 UTC
dnf-1.1.9-1.fc23 dnf-plugins-core-0.1.21-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bb69db975e

Comment 5 Fedora Update System 2016-05-21 01:33:15 UTC
dnf-1.1.9-1.fc24, dnf-plugins-core-0.1.21-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1efd7bc386

Comment 6 Fedora Update System 2016-05-21 02:27:32 UTC
dnf-1.1.9-1.fc23, dnf-plugins-core-0.1.21-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-bb69db975e

Comment 7 Fedora Update System 2016-05-22 02:24:28 UTC
dnf-1.1.9-1.fc23, dnf-plugins-core-0.1.21-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.