[Yum] yum needs a --ignoresize option
Brian Long
brilong at cisco.com
Tue May 24 11:55:34 UTC 2005
On Mon, 2005-05-23 at 17:53 -0400, Konstantin Ryabitsev wrote:
> On Mon, 2005-05-23 at 15:04 -0600, Jeremy Lyon wrote:
> > > Hmmm. Would it help if it only tried to stat filesystems on which it
> > were
> > > going to install files? (Presumably those are all going to be local
> > > filesystems.)
> >
> > RPM is doing the filesystem check, not yum. So there's nothing yum
> > can do to tweak the checking.
>
> Yes, it's a boolean flag in rpm libs. It's either on or off.
Exactly, we'd like a command-line flag to enable it for a given run of
yum, not just define it inside the config file for a repo. We have
certain RPMs that get updated many times a day (autofs tables and
sudoers). We want to ensure they get updated even if a Linux client has
stale NFS filehandles (which normally causes RPMs to fail installation
because of the size check).
Joshua is trying the diskspacecheck=0 config option inside the .repo
file that is used for these update RPMs (hopefully it's not a global
option only), but it would be nice if we could set that flag on the
command-line.
/Brian/
--
Brian Long | | |
IT Data Center Systems | .|||. .|||.
Cisco Linux Developer | ..:|||||||:...:|||||||:..
Phone: (919) 392-7363 | C i s c o S y s t e m s
More information about the Yum
mailing list