Bug 1328674 - diskspacecheck=0 in dnf.conf has no effect
Summary: diskspacecheck=0 in dnf.conf has no effect
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-20 03:08 UTC by Seth Jennings
Modified: 2016-05-22 02:25 UTC (History)
5 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2016-05-22 02:25:06 UTC


Attachments (Terms of Use)

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.


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