Re: fou4s on vservers
Lars Ellenberg <[email protected]> Thu, 14 Oct 2004 17:08:47 +0200
| Newsgroups | gmane.linux.suse.fou4s.devel |
|---|---|
| Message-ID | <[email protected]> |
/ 2004-10-14 09:19:16 +0200 \ Kevin Ivory: > We use fou4s on vserver systems: there is the master system where > fou4s works just fine. The problem arises with base system for the > virtual servers: It is a read-only /map-partition. A fou4s run will > only work when the partition is remounted read-write. We would like > to use an automatic nightly check on the read-only mounted partition. > > I can think of two possible ways of getting this done: > > 1. use the writeable /-area while only checking the RPM database of > the readonly /map environment. > > 2. chroot /map completely and use something like > chroot /map fou4s --auto --nodownload --nocache --nocache > > I cannot get either of these working. Any recommendations? you could set CacheDir to something writeable, lvs-instance-specific. a readonly packages should be no problem at all, ro exported nfs share is a typical setup for it. auto tries to update the package descriptions anyways, even though you say --nodownload, but that should be no problem, either. It might generate a Warning, though, if there are some new descriptions on the server. The CacheDir must be writeable, though, even if you say "nocache", because that only _regenerates_ the cache, it does not stop using it. lge --