On 04/24/2013 10:40 PM, Panu Matilainen wrote:
On 04/24/2013 03:35 PM, Clemens Eisserer wrote:
Hi,
I am using Fedora-19-Alpha with nilfs2 on /.
While everything worked great with Fedora 17, the updated version of
yum also check for free inodes before executing the transaction:
Transaction check error:
installing package ..... needs 40 inodes on the / filesystem
Rpm was always supposed to check for sufficient inodes in addition to
disk space but that check has been broken for 10+ years. In rpm >= 4.11
it actually does something again, hence the different behavior.
Which is just plain wong in case of nilfs, as it has no inode limit.
What does 'stat -f /' return on that system?
Is there any way to disable that check? diskspacecheck=0 in
/etc/yum.conf didn't help unfortunately :/
Yum's 'diskspacecheck=0' appears to be broken, it wouldn't hurt to file
a bug about it. In addition to it being apparently broken, it doesn't
even try to enable the inode problem filtering which would be needed in
your case.
Well, duh. It seems that it was me who broke yum's diskspacecheck=0 with
a seemingly completely unrelated change so I suppose I get to fix it
too. As a first-aid, this seems to resurrect it (and yes I'll take this
to yum upstream too):
--- a/yum/depsolve.py
+++ b/yum/depsolve.py
@@ -150,6 +150,10 @@ class Depsolve(object):
else:
self.logger.critical(_('Invalid tsflag in config file:
%s'), fl
+ if not self.conf.diskspacecheck:
+ self._add_prob_flags(rpm.RPMPROB_FILTER_DISKSPACE,
+ rpm.RPMPROB_FILTER_DISKNODES)
+
probfilter = 0
for flag in self.tsInfo.probFilterFlags:
probfilter |= flag
- Panu -
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org