On Fri, 2013-06-14 at 14:43 +0200, Tom Gundersen wrote: > I'm working under the assumption that we want /usr one day to only > contain static files generated at build-time (and hence under the > control of the package manager), or at the very least any files in > /usr not under the control of the package manager should be generated > at install-time and be shareable between hosts using the same /usr.
Er...what's the concrete problem here? Like you have /usr NFS mounted between two different hosts, and then add hardware configuration to one of them in /etc? I'd say it's clear here that the hwdb is under the control of the package manager (if one uses packages...yuck), and in e.g. RPM land it'd be a %ghost file. Where different components put generated files is not at all consistent of course. ldconfig -> etc fontconfig -> var (but it allows --with-cache-dir=/usr/lib/fontconfig/cache ) gtk-update-icon-cache -> usr I'd say the answer here should be something like this: If the cache operates solely on data based in /usr, it should go in /usr. If it caches data from both /usr and /etc, it should go in /etc/cache (or something like that). And tools would have to learn to ignore /etc/cache. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel