Where not to store lock files
Holger Freyther
zecke at openmoko.org
Thu Jun 26 13:33:21 CEST 2008
Hey,
strace showed it is saving and storing the lock file in /usr/lib/opkg/lock.
This is not a wise idea, it is a violation of the fhs[1], also the storage of
the metadata of installed should be reconsidered. /usr/lib might be on a
readonly partition in the future... (think of cramfs).
z.
[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLOCKLOCKFILES
More information about the opkg-devel
mailing list