Silly nixpkgs mirror, totally harmless :3
Find a file
Lluís Batlle i Rossell bc4e159d0e Fixing a terrible bug in nixos nfs-kernel server, related to the exports file.
The file contents were taken as a file path. This resulted in a system with a totally broken /etc:
lrwxrwxrwx 1 root nixbld   51 22 feb 21:45 bashrc -> /nix/store/gh71a6w50cxrl4124kxfn24yi0b7aaka-useradd
lrwxrwxrwx 1 root nixbld   44 22 feb 21:45 nix.conf -> 192.168.1.4(rw,no_root_squash,no_all_squash)
lrwxrwxrwx 1 root nixbld   58 22 feb 21:45 inputrc -> /nix/store/1czhdj7q74dc556frqrh51jyshfsxhl3-bashrc-user.sh
lrwxrwxrwx 1 root nixbld   51 22 feb 21:45 nsswitch.conf -> /nix/store/qsgsli992hd1g8245d8am9izn9xmw90x-inputrc
lrwxrwxrwx 1 root nixbld   20 22 feb 21:45 exports -> /home/sheevaplugroot

Notice that the inputrc has strange contents. In my case, that disabled me to type 's' or 'i' (at least) in any new interactive shell.

If you notice, the 'exports' symlink should point to a store file, which contents had to look like:
/home/sheevaplugroot 192.168.1.4(rw,no_root_squash,no_all_squash)

This patch achieves this later behaviour rather than the former.


svn path=/nixos/trunk/; revision=20181
2010-02-22 21:41:49 +00:00
doc Removing references to linux kernel 'vmlinuz', and making them point to 'bzImage'. 2010-02-18 11:35:39 +00:00
gui Add the base of a highly experimental gui for NixOS. 2009-09-26 23:15:19 +00:00
lib move functions to lib/testing to allow easier use outside of nixos 2010-02-17 09:37:22 +00:00
maintainers Clean-up option-usages.nix by using recent library functions. 2009-09-29 16:42:22 +00:00
modules Fixing a terrible bug in nixos nfs-kernel server, related to the exports file. 2010-02-22 21:41:49 +00:00
tests Updating the nixos NFS related expressions. Thanks to Oleksandr for the 2010-02-21 16:26:33 +00:00
default.nix * Support a `system' argument for if you want to do hacky things like 2009-11-06 01:00:44 +00:00
README * URL updates. 2008-05-09 15:08:43 +00:00
release.nix First attempt at trying to get a tarball of a bootable nixos system. 2010-02-15 23:27:51 +00:00
STABLE * Version number, stable marker. 2006-11-04 11:27:08 +00:00
VERSION * Version number, stable marker. 2006-11-04 11:27:08 +00:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.