Bug#562234: Cache file location in violation of FHS

Goswin von Brederlow goswin-v-b at web.de
Wed Dec 8 15:31:29 UTC 2010


Hi,

the current cache file location (/etc/lvm) makes problems with a
read-only / so something has to be done.

On the other hand configuring it to /var/backups/ seems to work just
fine all around. No problems so far even during boot (when /var isn't
there yet).

Since grub2 can now too boot directly from lvm and any software raid I
think that /etc/lvm is far less likely to be on a non LVM parttion. Same
can be said for /boot. So I see little to no drawback to using
/var/backups, which is most likely on LVM.


So I would suggest that the location for new installs should be
/var/backups/lvm since that produces less problems overall. I'm a little
conflicted what to do with exinsting installs, esspecially those where
/etc is not on LVM. It would be greate to then leave the backup there
but that would require some detection code and a dynamic lvm.conf
(ucf?). Do you want to add some detection for a non LVM volume (/etc/lvm
or /boot/lvm)?

MfG
        Goswin





More information about the pkg-lvm-maintainers mailing list