unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Daemon update
@ 2015-05-19 14:15 Ludovic Courtès
  2015-05-21  3:03 ` Alex Vorobiev
  0 siblings, 1 reply; 22+ messages in thread
From: Ludovic Courtès @ 2015-05-19 14:15 UTC (permalink / raw)
  To: guix-devel

Hello!

I have pushed a big update of the daemon code.  We were using a copy of
the Nix code from May 2014, and there have been worthwhile changes in
the meantime (thanks for the Nix folks!).

There have also been undesirable changes, such as the gratuitous switch
to multithreading, which entails various issues (see
<http://lists.gnu.org/archive/html/guix-devel/2014-12/msg00363.html>.)

Thus, in our ‘nix’ branch, I have selected a the best of those changes
;-).  The main difference is that I didn’t take said
multithreading-related commits, as well as a couple of less significant,
Nix-specific changes.

The new changes include some refactorization and cosmetic changes (a
bunch of C++11 lambdas here, a bit of ‘auto’ there.)  Interesting
changes include:

  • The possibility to use regular files as GC roots, where the file
    name denotes a store item; this reduces I/O compared to using
    symlinks.

  • Slightly reduced I/O for GC.

  • New ‘disallowedReferences’ and ‘disallowedRequisites’ attributes for
    derivations (akin to our #:allowed-references.)

  • New ‘optimiseStore’ RPC.

  • ASLR disabled in the build environment.

Please report any issues with the daemon!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Daemon update
@ 2015-05-12  7:58 Ludovic Courtès
  0 siblings, 0 replies; 22+ messages in thread
From: Ludovic Courtès @ 2015-05-12  7:58 UTC (permalink / raw)
  To: guix-devel

Commit 1303a4a fixes a use-after-free in the daemon that manifested when
compiling it with GCC 5.1 (string destructors were called before
‘execve’ calls that used the underlying ‘char *’ pointers.)

The fix is a backport of an upstream commit.  I plan to update our copy
of the Nix daemon code eventually, but it seemed wiser to do that after
the release, hence this backport.

Please report any issues.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-06-03 16:05 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-19 14:15 Daemon update Ludovic Courtès
2015-05-21  3:03 ` Alex Vorobiev
2015-05-21  7:24   ` Taylan Ulrich Bayırlı/Kammer
2015-05-21  8:24   ` Ludovic Courtès
2015-05-22  1:47     ` Alexander Vorobiev
2015-05-22  8:35       ` Taylan Ulrich Bayırlı/Kammer
2015-05-22 13:45       ` Ludovic Courtès
2015-05-27  3:27         ` Alexander Vorobiev
2015-05-27 15:18           ` Ludovic Courtès
2015-05-27 20:10             ` Alexander Vorobiev
2015-05-27 20:51               ` Ludovic Courtès
2015-05-28 17:56                 ` Alexander Vorobiev
2015-05-29 20:57                   ` Ludovic Courtès
2015-05-29 22:34                     ` Alexander Vorobiev
2015-05-31 19:14                       ` Ludovic Courtès
2015-06-01 16:50                         ` Alexander Vorobiev
2015-06-01 19:58                           ` Ludovic Courtès
2015-06-01 20:23                             ` Alexander Vorobiev
2015-06-02  5:26                               ` Alexander Vorobiev
2015-06-03  8:24                                 ` Ludovic Courtès
2015-06-03 16:04                                   ` Alexander Vorobiev
  -- strict thread matches above, loose matches on Subject: below --
2015-05-12  7:58 Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).