James Ogley wrote:
Oooh, I've never come across something that needed this when I was building it, which apps have you found that need it?
Difficult to say and difficult to find out. The only SuSE-provided Gnome-package that I know which is writing to /var/lib is scrollkeeper (It seems to be using /var/lib/scrollkeeper). However, the actual problem is to find out which packages else access localstatedir for reading and try to share files under localstatedir. Probably, all packages trying to access systems' services are suspectable to doing so (MUAs, package-management (rpm) tools, configuration tools etc.) and explictily need to be checked for. A rough way to do so would be to examine SuSE's rpm.specs. But, .. from what I what I've seen there, SuSE does't always handle it consistently :( The exact way would be to analyse each packages' sources - Hardly applicable for casual installers :(
One more non-standard option required to build gnome-packages on SuSE: --localstatedir=/var/lib This rarely shows because only few programs apply localstatedir.
Another package that definitely accesses localstatedir is redcarpet :)) Ralf