From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: Package file indexing Date: Mon, 13 Jan 2020 19:45:02 +0000 Message-ID: <87imlfcf9d.fsf@cbaines.net> References: <20190314204941.GA21065@jasmine.lan> <87mulx9kuv.fsf@nckx> <87zhpx846u.fsf@ambrevar.xyz> <87bm21y2s2.fsf_-_@gnu.org> <87imw7cpe7.fsf@bababa.i-did-not-set--mail-host-address--so-tickle-me> <87pnqdhkpf.fsf@gnu.org> <87imlt3hr2.fsf@ambrevar.xyz> <87png11xgi.fsf@cbaines.net> <87tv5cpypp.fsf@gnu.org> <874kx4anch.fsf@ambrevar.xyz> <87blrc1sos.fsf@cbaines.net> <87h813wktw.fsf@ambrevar.xyz> <878smf1lrr.fsf@cbaines.net> <87o8v9j1df.fsf@ambrevar.xyz> <871rs4g5vd.fsf@cbaines.net> <87ftgjqvln.fsf@ambrevar.xyz> <87k15vck8w.fsf@cbaines.net> <87lfqbp68t.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41997) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir5e7-0000Kw-M9 for guix-devel@gnu.org; Mon, 13 Jan 2020 14:45:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ir5e6-0008SH-IO for guix-devel@gnu.org; Mon, 13 Jan 2020 14:45:07 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:49732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ir5e6-0008RX-Cc for guix-devel@gnu.org; Mon, 13 Jan 2020 14:45:06 -0500 In-reply-to: <87lfqbp68t.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Pierre Neidhardt writes: > Christopher Baines writes: > >>> Hmm, but this data relates to items in the store and online, they are >>> global. Per-user would mean redundant packages and redundant (remote) queries. >> >> Yeah, maybe there's some way of optimising things for systems with >> multiple users. > > Note: I meant "redundant database", not "packages". > > Can you think of good reasons not to store it globally in /var? Not specifically, it just becomes more complex as you have to consider more issues. Like the mundane "what if one user is using a file, and another deletes it" to the more unusual "what if you can modify the file to crash or exploit processes run by other users". --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl4cyL5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xd6tQ/9FhfOH2/nZ+v1YC4NnUMuiOSH7G4mlcOahKgO9YdNXNggnpoy5BJIXoqN OkVN6yTmI9QFkJNAE4a3lRlQRgLy4mutTjvbjsKn8jsC4PwChGiHmu7dng+huUn6 FqQ3u8uFXt/5EcwiKdAZqk5fojl3BF5rJGLU88TGO0WwDhRnA0k9W5zJoHF6rcob 6i0mwxHRpdsKntCLhZCbYY93KmGTOrfYS0KWcWCYK+21Ctq05sfTdVu8NXzXkb/X 5edykDeh31Q+ijk+NLu6ezNCpTrNQQTqS1AmvNKthSIH9qGvC8ztDibfenvOURi7 n5WoTPj4z16S6+/7cAQooj7hKosB99laaEORWVc9KSRj3ahxGt87U6bg+h8TwIwA C3Xfo/Dh4QDxNn+gESCWUI0kk8AWC8B5qHGdrvomLdAlXnPPFHAdiCSEH4ydH8DS 9+w/4iq6cqYDL2sWhcOTl656WZpPGn3X2VYLgJSSG8XTsy1lLdNozN5vBKdCsY1I zjOtpoxZqcBSwxk6g7x1GIpAYFhmAz9p4EarSGJl0gTkRWkVyCeXoWrC5rxrY0Cm EW1bC2crjEbg/KWH0k0KYVquWfFZ+D6mcMdWAfXbmwL53Rk5T2J78wp0Yca/edYA lHbhafWhGNb7TRj0mhc+8PAIUmDEMgujyih5UEp3hGRdnxBEYLw= =MSwB -----END PGP SIGNATURE----- --=-=-=--