guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnu-system-demo feedback


From: Ludovic Courtès
Subject: Re: gnu-system-demo feedback
Date: Mon, 14 Oct 2013 22:10:51 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Walter Franzini <address@hidden> skribis:

> On Mon, Oct 14 2013, Ludovic Courtès 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’t know
about it.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]