From 2fe4badb9a4799b96b2de6d8ebf18c9b5e2c9171 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 9 Dec 2006 03:11:14 +0000 Subject: [PATCH] * Start the Nix daemon to enable multi-user package management in NixOS. svn path=/nixos/trunk/; revision=7291 --- boot/boot-stage-2-init.sh | 6 +++++- configuration/boot-environment.nix | 5 +++++ upgrade.sh | 2 +- upstart-jobs/nix-daemon.nix | 13 +++++++++++++ 4 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 upstart-jobs/nix-daemon.nix diff --git a/boot/boot-stage-2-init.sh b/boot/boot-stage-2-init.sh index 9645586b4f5f..7e0bee2cdc63 100644 --- a/boot/boot-stage-2-init.sh +++ b/boot/boot-stage-2-init.sh @@ -105,6 +105,10 @@ udevtrigger udevsettle # wait for udev to finish +# !!! Hack - should be done with udev rules. +chmod 666 /dev/null + + # Enable a password-less root login. source @accounts@ @@ -164,7 +168,7 @@ cat > /etc/profile <