[systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

Daniel J Walsh dwalsh at redhat.com
Mon Jun 17 14:16:40 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/17/2013 04:50 PM, Lennart Poettering wrote:
> On Mon, 17.06.13 22:12, Tom Gundersen (teg at jklm.no) wrote:
> 
>>> The only case, where this scheme would fail, is if you backup and 
>>> restore a system to a different partitioning scheme.
>> 
>> I agree with Lennart that we don't want this scheme, but rather something
>> predictable.
>> 
>> How about Colin's suggestion of putting hwdb.bin (and similar files that
>> cannot always be in /var/cache) in /etc/cache? Or if anyone have the
>> stomach for a huge fight, try to convince everyone of the usefulness of
>> /cache?
> 
> Well, this is about very few files only. AFAICS only systemd/udev, kmod, 
> ld.so need binary caches around this early during boot. It sounds a bit
> like overkill to introduce an entirely new root level hierarchy for that.
> 
> Note that beyond caches there are a number of non-text-files in /etc. For
> example /etc/localtime, /etc/selinux/targeted/policy/policy.27,
> /etc/pki/*.db, /etc/aliases.db, /etc/ld.so.cache, /etc/prelink.cache and so
> on. I am not convinced that text file vs. binary file is the best check to
> decide whether something belongs in /etc or not.
> 
> Lennart
> 
One of these days I plan on getting the policy file out of /etc and into
/usr/lib/selinux,  But any customizations by the admin or other packages would
end up putting content into /etc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlG/fLgACgkQrlYvE4MpobPmQQCfeKqc3i3+JxaNMPFOxccPLesi
q/EAniJUO5bYv+Ei9B5YPJpgZdtt3GoF
=R+DF
-----END PGP SIGNATURE-----


More information about the systemd-devel mailing list