Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-02 | daemon: Add 'buildMode' parameter to 'buildPaths' RPC | Ludovic Courtès | |
2015-11-24 | Merge pull request #704 from ysangkok/freebsd-support | Eelco Dolstra | |
FreeBSD support with knowledge about Linux emulation | |||
2015-10-29 | int2String() -> std::to_string() | Eelco Dolstra | |
2015-10-06 | Define SOL_LOCAL if not defined already (e.g. on FreeBSD). | Manuel Jacob | |
Some evidence that defining it to be 0 is right: * OS X headers define it to be 0. * Other code uses 0 instead of SOL_LOCAL to check for peer credentials (e.g. FreeBSD's implementation of getpeereid). | |||
2015-09-03 | Implement buildDerivation() via the daemon | Eelco Dolstra | |
2015-07-20 | More cleanup | Eelco Dolstra | |
2015-07-17 | OCD: foreach -> C++11 ranged for | Eelco Dolstra | |
2015-06-02 | Don't let unprivileged users repair paths | Eelco Dolstra | |
2015-06-02 | Add a ‘verifyStore’ RPC | Ludovic Courtès | |
Hello! The patch below adds a ‘verifyStore’ RPC with the same signature as the current LocalStore::verifyStore method. Thanks, Ludo’. >From aef46c03ca77eb6344f4892672eb6d9d06432041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org> Date: Mon, 1 Jun 2015 23:17:10 +0200 Subject: [PATCH] Add a 'verifyStore' remote procedure call. | |||
2015-05-19 | Don't install nix-worker symlink | Eelco Dolstra | |
It has been obsolete since Nix 1.2. Closes #417. | |||
2014-12-12 | Silence some warnings on GCC 4.9 | Eelco Dolstra | |
2014-12-12 | Get rid of unnecessary "interrupted by the user" message with -vvv | Eelco Dolstra | |
2014-12-12 | Remove tabs | Eelco Dolstra | |
2014-12-12 | Remove dead code | Eelco Dolstra | |
2014-12-10 | Use vfork | Eelco Dolstra | |
2014-11-19 | nix-daemon: Call exit(), not _exit() | Eelco Dolstra | |
This was preventing destructors from running. In particular, it was preventing the deletion of the temproot file for each worker process. It may also have been responsible for the excessive WAL growth on Hydra (due to the SQLite database not being closed properly). Apparently broken by accident in 8e9140cfdef9dbd1eb61e4c75c91d452ab5e4a74. | |||
2014-10-31 | nix-daemon: Get peer credentials on Mac OS X | Eelco Dolstra | |
This makes allowed-users and trusted-users work on Mac OS X. | |||
2014-10-31 | Improve error message if the daemon worker fails to start | Eelco Dolstra | |
2014-09-25 | nix-daemon: Close unnecessary fd | Eelco Dolstra | |
2014-09-01 | Add an 'optimiseStore' remote procedure call. | Ludovic Courtès | |
2014-08-21 | Use PR_SET_PDEATHSIG to ensure child cleanup | Eelco Dolstra | |
2014-08-20 | Use proper quotes everywhere | Eelco Dolstra | |
2014-08-13 | Refactor option handling | Eelco Dolstra | |
2014-08-05 | Doh | Eelco Dolstra | |
2014-08-04 | Move some options out of globals | Eelco Dolstra | |
2014-07-24 | Remove some dead code | Eelco Dolstra | |
2014-07-23 | Pass -pthread only for programs that need it | Eelco Dolstra | |
2014-07-23 | nix-daemon: Less verbosity | Eelco Dolstra | |
2014-07-23 | nix-daemon: Simplify stderr handling | Eelco Dolstra | |
2014-07-23 | nix-daemon: Use a thread instead of SIGPOLL to catch client disconnects | Eelco Dolstra | |
The thread calls poll() to wait until a HUP (or other error event) happens on the client connection. If so, it sends SIGINT to the main thread, which is then cleaned up normally. This is much nicer than messing around with SIGPOLL. | |||
2014-07-19 | Revert old useBuildHook behaviour | Eelco Dolstra | |
2014-07-17 | nix-daemon: Add trusted-users and allowed-users options | Eelco Dolstra | |
‘trusted-users’ is a list of users and groups that have elevated rights, such as the ability to specify binary caches. It defaults to ‘root’. A typical value would be ‘@wheel’ to specify all users in the wheel group. ‘allowed-users’ is a list of users and groups that are allowed to connect to the daemon. It defaults to ‘*’. A typical value would be ‘@users’ to specify the ‘users’ group. | |||
2014-07-17 | nix-daemon: Show name of connecting user | Eelco Dolstra | |
2014-07-17 | nix-daemon: Only print connection info if we have SO_PEERCRED | Eelco Dolstra | |
2014-07-17 | nix-daemon: Fix compat with older clients | Eelco Dolstra | |
2014-07-10 | Refactoring: Move all fork handling into a higher-order function | Eelco Dolstra | |
C++11 lambdas ftw. | |||
2014-06-10 | Report daemon OOM better | Eelco Dolstra | |
When copying a large path causes the daemon to run out of memory, you now get: error: Nix daemon out of memory instead of: error: writing to file: Broken pipe | |||
2014-04-03 | Fix compile errors on Illumos | Danny Wilson | |
2014-03-30 | boost::shared_ptr -> std::shared_ptr | Eelco Dolstra | |
2014-03-18 | Fix tabs | Eelco Dolstra | |
2014-03-18 | Allow recovery from isValidPath RPCs with an invalid path | Ludovic Courtès | |
Currently, clients cannot recover from an isValidPath RPC with an invalid path parameter because the daemon closes the connection when that happens. More precisely: 1. in performOp, wopIsValidPath case, ‘readStorePath’ raises an ‘Error’ exception; 2. that exception is caught by the handler in ‘processConnection’; 3. the handler determines errorAllowed == false, and thus exits after sending the message. This last part is fixed by calling ‘startWork’ early on, as in the patch below. The same reasoning could be applied to all the RPCs that take one or more store paths as inputs, but isValidPath is, by definition, likely to be passed invalid paths in the first place, so it’s important for this one to allow recovery. | |||
2014-03-17 | Fix -j and other flags when using the daemon | Eelco Dolstra | |
2014-02-26 | Simplify getting use-ssh-substituter from untrusted users | Eelco Dolstra | |
2014-02-01 | Remove Automakefiles | Eelco Dolstra | |
2014-02-01 | Update Makefile variable names | Eelco Dolstra | |
2014-01-30 | Rename Makefile -> local.mk | Eelco Dolstra | |
2014-01-30 | Install nix-worker symlink | Eelco Dolstra | |
2014-01-09 | Update Makefiles | Eelco Dolstra | |
2013-11-25 | Rename Makefile.new -> Makefile | Eelco Dolstra | |
2013-11-22 | Rename $(here) to $(d) for brevity, and remove trailing slash | Eelco Dolstra | |