Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2006-12-07 | * Move setuidCleanup() to libutil. | Eelco Dolstra | 1 | -0/+16 | |
2006-12-07 | * Change the ownership of store paths to the Nix account before | Eelco Dolstra | 1 | -1/+1 | |
deleting them using the setuid helper. | |||||
2006-12-07 | * Move killUser() to libutil so that the setuid helper can use it. | Eelco Dolstra | 1 | -0/+47 | |
2006-12-05 | * The determination of the root set should be made by the privileged | Eelco Dolstra | 1 | -0/+1 | |
process, so forward the operation. * Spam the user about GC misconfigurations (NIX-71). * findRoots: skip all roots that are unreadable - the warnings with which we spam the user should be enough. | |||||
2006-12-04 | * Daemon mode (`nix-worker --daemon'). Clients connect to the server | Eelco Dolstra | 1 | -14/+3 | |
via the Unix domain socket in /nix/var/nix/daemon.socket. The server forks a worker process per connection. * readString(): use the heap, not the stack. * Some protocol fixes. | |||||
2006-12-03 | * Pid::kill() should be interruptable. | Eelco Dolstra | 1 | -1/+3 | |
2006-12-03 | * Some hackery to propagate the worker's stderr and exceptions to the | Eelco Dolstra | 1 | -1/+10 | |
client. | |||||
2006-12-02 | * Move addTempRoot() to the store API, and add another function | Eelco Dolstra | 1 | -2/+2 | |
syncWithGC() to allow clients to register GC roots without needing write access to the global roots directory or the GC lock. | |||||
2006-12-02 | * Remove most of the old setuid code. | Eelco Dolstra | 1 | -130/+1 | |
* Much simpler setuid code for the worker in slave mode. | |||||
2006-12-02 | * Remove SwitchToOriginalUser, we're not going to need it anymore. | Eelco Dolstra | 1 | -31/+0 | |
2006-11-29 | * Don't spam. | Eelco Dolstra | 1 | -0/+2 | |
2006-11-29 | * Example script to set permissions for setuid operation. | Roy van den Broek | 1 | -1/+1 | |
2006-11-29 | * Remove --enable-setuid, --with-nix-user and --with-nix-group. | Eelco Dolstra | 1 | -26/+45 | |
Rather, setuid support is now always compiled in (at least on platforms that have the setresuid system call, e.g., Linux and FreeBSD), but it must enabled by chowning/chmodding the Nix binaries. | |||||
2006-11-24 | * Doh! Path sizes need to be computed recursively of course. | Eelco Dolstra | 1 | -0/+23 | |
(NIX-70) | |||||
2006-10-30 | * readFile: don't overflow the stack on large files. | Eelco Dolstra | 1 | -1/+15 | |
2006-09-27 | * Fix setuid builds. | Eelco Dolstra | 1 | -5/+9 | |
2006-09-04 | * Move setuid stuff to libutil. | Eelco Dolstra | 1 | -0/+136 | |
* Install libexpr header files. | |||||
2006-09-04 | * Use a proper namespace. | Eelco Dolstra | 1 | -12/+14 | |
* Optimise header file usage a bit. * Compile the parser as C++. | |||||
2006-08-29 | * Fix the ~ operator. | Eelco Dolstra | 1 | -0/+9 | |
2006-08-26 | * Refactoring. | Eelco Dolstra | 1 | -4/+9 | |
2006-08-04 | * Weird issue on Cygwin with the include file order. | Eelco Dolstra | 1 | -4/+4 | |
2006-07-20 | * Call find-runtime-roots.pl from the garbage collector to prevent | Eelco Dolstra | 1 | -0/+84 | |
running applications etc. from being garbage collected. | |||||
2006-07-06 | * Allow the canonical system name to be specified at runtime in the | Eelco Dolstra | 1 | -3/+0 | |
Nix config file. | |||||
2006-06-19 | * Write messages to stderr in a slightly more atomic way. Useful when | Eelco Dolstra | 1 | -1/+2 | |
there are several parallel processes. | |||||
2006-06-14 | * Fix for a problem with BSD's group ownership semantics when the user | Eelco Dolstra | 1 | -1/+13 | |
is not in the "wheel" group. | |||||
2006-05-11 | * 64-bit compatibility fixes (for problems revealed by building on an Athlon | Eelco Dolstra | 1 | -2/+2 | |
64 running 64-bit SUSE). A patched ATerm library is required to run Nix succesfully. | |||||
2006-03-08 | * Some refactoring of the exception handling code so that we can catch | Eelco Dolstra | 1 | -0/+7 | |
Nix expression assertion failures. | |||||
2006-01-09 | * dirOf: return "/", not "", for paths in the root directory. Fixes NIX-26. | Eelco Dolstra | 1 | -2/+2 | |
2006-01-08 | * Resolve all symlink components in the location of the temporary | Eelco Dolstra | 1 | -2/+21 | |
build directory (TMPDIR, i.e., /tmp). Fixes NIX-26. | |||||
2005-12-15 | * `nix-store --gc' prints out the number of bytes freed on stdout | Eelco Dolstra | 1 | -3/+13 | |
(even when it is interrupted by a signal). | |||||
2005-09-22 | * Parse multi-valued options. | Eelco Dolstra | 1 | -0/+15 | |
2005-05-04 | * The eof() state isn't guaranteed to be set non-lazily. GCC 2.95 | Eelco Dolstra | 1 | -1/+1 | |
compatibility fix. | |||||
2005-03-24 | * Create missing log and temproots directories automatically (reported | Eelco Dolstra | 1 | -0/+10 | |
by Rob). | |||||
2005-02-09 | * Automatically upgrade <= 0.7 Nix stores to the new schema (so that | Eelco Dolstra | 1 | -0/+9 | |
existing user environments continue to work). * `nix-store --verify': detect incomplete closures. | |||||
2005-02-01 | * A GC setting `gc-keep-outputs' to specify whether output paths of | Eelco Dolstra | 1 | -0/+21 | |
derivations should be kept. | |||||
2005-02-01 | * nix-build: use an indirection scheme to make it easier for users to | Eelco Dolstra | 1 | -0/+9 | |
get rid of GC roots. Nix-build places a symlink `result' in the current directory. Previously, removing that symlink would not remove the store path being linked to as a GC root. Now, the GC root created by nix-build is actually a symlink in `/nix/var/nix/gcroots/auto' to `result'. So if that symlink is removed the GC root automatically becomes invalid (since it can no longer be resolved). The root itself is not automatically removed - the garbage collector should delete dangling roots. | |||||
2005-01-31 | * Topologically sort paths under the references relation to ensure | Eelco Dolstra | 1 | -1/+0 | |
that they are deleted in an order that maintains the closure invariant. * Presence of a path in a temporary roots file does not imply that all paths in its closure are also present, so add the closure. | |||||
2005-01-31 | * Start of concurrent garbage collection. Processes write temporary | Eelco Dolstra | 1 | -3/+10 | |
roots to a per-process temporary file in /nix/var/nix/temproots while holding a write lock on that file. The garbage collector acquires read locks on all those files, thus blocking further progress in other Nix processes, and reads the sets of temporary roots. | |||||
2005-01-27 | * Make lock removal safe by signalling to blocked processes that the | Eelco Dolstra | 1 | -0/+9 | |
lock they are waiting on has become stale (we do this by writing a meaningless token to the unlinked file). | |||||
2005-01-20 | * Another change to low-level derivations. The last one this year, I | Eelco Dolstra | 1 | -0/+2 | |
promise :-) This allows derivations to specify on *what* output paths of input derivations they are dependent. This helps to prevent unnecessary downloads. For instance, a build might be dependent on the `devel' and `lib' outputs of some library component, but not the `docs' output. | |||||
2004-11-08 | * Fix broken format string. | Eelco Dolstra | 1 | -1/+1 | |
2004-09-10 | * Operation `--delete-generations' to delete generations of a | Eelco Dolstra | 1 | -0/+8 | |
profile. Arguments are either generation number, or `old' to delete all non-current generations. Typical use: $ nix-env --delete-generations old $ nix-collect-garbage * istringstream -> string2Int. | |||||
2004-08-18 | * The default verbosity level of all Nix commands is now lvlInfo. | Eelco Dolstra | 1 | -1/+1 | |
* Builder output is written to standard error by default. * The option `-B' is gone. * The option `-Q' suppresses builder output. The result of this is that most Nix invocations shouldn't need any flags w.r.t. logging. | |||||
2004-08-04 | * Creating a file nix-support/no-scan in the output path of a | Eelco Dolstra | 1 | -1/+1 | |
derivation disables scanning for dependencies. Use at your own risk. This is a quick hack to speed up UML image generation (image are very big, say 1 GB). It would be better if the scanner were faster, and didn't read the whole file into memory. | |||||
2004-06-25 | * A flag `--keep-going / -k' to keep building goals if one fails, as | Eelco Dolstra | 1 | -9/+8 | |
much as possible. (This is similar to GNU Make's `-k' flag.) * Refactoring to implement this: previously we just bombed out when a build failed, but now we have to clean up. In particular this means that goals must be freed quickly --- they shouldn't hang around until the worker exits. So the worker now maintains weak pointers in order not to prevent garbage collection. * Documented the `-k' and `-j' flags. | |||||
2004-06-22 | * Some more diagnostics changes. | Eelco Dolstra | 1 | -2/+2 | |
2004-06-22 | * Put WEXITSTATUS stuff somewhere else. | Eelco Dolstra | 1 | -0/+6 | |
2004-06-22 | * Wrapper class around pids. | Eelco Dolstra | 1 | -0/+107 | |
2004-06-22 | * Refactoring. | Eelco Dolstra | 1 | -0/+13 | |
2004-06-20 | * Refactoring. | Eelco Dolstra | 1 | -0/+45 | |