From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: gnu-system-demo feedback Date: Mon, 14 Oct 2013 22:10:51 +0200 Message-ID: <87k3hfipf8.fsf@gnu.org> References: <87ppranpd1.fsf@walter-nb.nord-com.it> <874n8k3trv.fsf@gnu.org> <87iowzn7su.fsf@walter-nb.nord-com.it> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVoYe-0007X2-VN for guix-devel@gnu.org; Mon, 14 Oct 2013 16:16:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVoYV-0006DY-3H for guix-devel@gnu.org; Mon, 14 Oct 2013 16:16:04 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:40465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVoYU-0006Cp-Sb for guix-devel@gnu.org; Mon, 14 Oct 2013 16:15:55 -0400 In-Reply-To: <87iowzn7su.fsf@walter-nb.nord-com.it> (Walter Franzini's message of "Mon, 14 Oct 2013 18:20:17 +0200") 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.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Walter Franzini Cc: guix-devel@gnu.org Walter Franzini skribis: > On Mon, Oct 14 2013, Ludovic Court=C3=A8s wrote: > > [...] > >>> 3. running guix gc as root empties /etc (broken symlinks) >>> 4. running guix gc as guest (!) empties /etc (broken symlinks) >> >> A bug: I forgot to register them as GC roots (see gnu/system/vm.scm.) > > Ok for the bug about GC roots, but I expected a 'guest' not to be able > to alter the system state (/etc). Unprivileged users can access the store via the daemon. Notably, they can run the GC. The GC only ever deletes files that are no longer referenced. These /etc files were clearly still referenced, but the GC just didn=E2=80=99t kn= ow about it. Ludo=E2=80=99.