Where not to store lock files

Holger Freyther zecke at openmoko.org
Thu Jun 26 19:19:17 CEST 2008

On Thursday 26 June 2008 14:22:22 you wrote:

> This behaviour was mostly copied from dpkg, in that the lock file is
> stored in the same place as the list files and other data. However, dpkg
> stores the list data in /var, which we cannot always rely on to be
> non-volatile. There is a configure option to specify a different
> directory for the list cache, which should also change the lock
> directory. Obviously volatility is not an issue for the lock file, so I
> don't think there would be any issues with a patch to change it.

IIRC /var is supposed to be non-volatile. In OE based distros this wasn't the 
case for a long time but it is now (mostly due marcel/hcid/bluetooth..). Ah 
the config option sounds great, I will give it a spin.

sorry that my opkg mails always sound so grumpy...

More information about the opkg-devel mailing list