Subject: Re: [vserver] Path Weirdness With yum and tmpfs
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Wed, 29 Sep 2010 20:24:04 +0200 (CEST)

Gordan Bobic wrote:
> I'm trying to put:
> /vservers/.pkg/*/yum/cache
> /vservers/.pkg/*/yum/lib
> on tmpfs because my tiny vserver has a CF for a disk, so minimizing
> writes is pretty important. But something odd is happening. When I run
> yum update, the files end up in the underlying cache directory on disk,
> rather than in the tmpfs mounted on that path.

If /vservers/.pkg is the mount point, make sure that is in
/etc/vservers/.defaults/namespace-cleanup-skip or the equivalent on the
per-guest level.

> I'm _guessing_ that might be due to the yum-hack.conf. Can anyone assess
> that guess and perhaps suggest a fix/workaround?
>
> TIA.
>
> Gordan

-- 
Daniel Hokka Zakrisson