[PATCH 5/8] Do not prefer /tmp for dnf downloads
Brian C. Lane
bcl at redhat.com
Thu Jul 10 00:06:10 UTC 2014
/tmp is a tmpfs and is shared with logging and various other things. dnf
should just download to the largest available mountpoint.
---
pyanaconda/packaging/dnfpayload.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/pyanaconda/packaging/dnfpayload.py b/pyanaconda/packaging/dnfpayload.py
index 7060a7b..f4e737a 100644
--- a/pyanaconda/packaging/dnfpayload.py
+++ b/pyanaconda/packaging/dnfpayload.py
@@ -107,9 +107,6 @@ def _pick_mpoint(df, requested):
and reasonable_mpoint(key)}
log.info('Sufficient mountpoints found: %s', sufficients)
- # prefer /tmp:
- if '/tmp' in sufficients:
- return '/tmp'
if not len(sufficients):
return None
# default to the biggest one:
--
1.9.3
More information about the anaconda-patches
mailing list