about summary refs log tree commit diff
path: root/modules/services/ttys
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-06-04 14:22:11 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-06-04 14:22:11 +0000
commitdbadf6e9c20bacb54a8d3df442f4e0069224a111 (patch)
treef8ad112aa2aaef7c1f2f610364e9094c77df95d8 /modules/services/ttys
parent531605944271e7762642072840890f23e14f3834 (diff)
downloadnixlib-dbadf6e9c20bacb54a8d3df442f4e0069224a111.tar
nixlib-dbadf6e9c20bacb54a8d3df442f4e0069224a111.tar.gz
nixlib-dbadf6e9c20bacb54a8d3df442f4e0069224a111.tar.bz2
nixlib-dbadf6e9c20bacb54a8d3df442f4e0069224a111.tar.lz
nixlib-dbadf6e9c20bacb54a8d3df442f4e0069224a111.tar.xz
nixlib-dbadf6e9c20bacb54a8d3df442f4e0069224a111.tar.zst
nixlib-dbadf6e9c20bacb54a8d3df442f4e0069224a111.zip
* Use mountall to mount all filesystems and activate all swap devices
  during boot.  Mountall ensures that these are done in the right
  order.  It's informed by udev about devices becoming available.  It
  emits some Upstart events upon reaching certain states, in
  particular ‘local-filesystems’ after all local filesystems have been
  mounted successfully, ‘remote-filesystems’ after all network
  filesystems have been mounted, and ‘filesystem’ (sic) when all
  filesystems have been mounted.

  Currently, if a filesystem fails to mount or doesn't exist, then the
  mingettys won't start and the boot will appear to hang.  This is
  because mountall doesn't emit an event for failing filesystems and
  waits indefinitely for the filesystems to become available.

* The ‘filesystems’ and ‘swap’ Upstart jobs are gone.  (Support for
  encrypted swap devices is temporarily gone.)
  
* Generate a proper /etc/fstab from the ‘fileSystems’ and
  ‘swapDevices’ options.

svn path=/nixos/branches/boot-order/; revision=22148
Diffstat (limited to 'modules/services/ttys')
-rw-r--r--modules/services/ttys/mingetty.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/ttys/mingetty.nix b/modules/services/ttys/mingetty.nix
index 445fdcd78ed7..8299580a8cf9 100644
--- a/modules/services/ttys/mingetty.nix
+++ b/modules/services/ttys/mingetty.nix
@@ -55,7 +55,7 @@ with pkgs.lib;
     # Generate a separate job for each tty.  
     jobs = listToAttrs (map (tty: nameValuePair tty {
     
-      startOn = "started udev";
+      startOn = "started udev and local-filesystems";
 
       exec = "${pkgs.mingetty}/sbin/mingetty --loginprog=${pkgs.shadow}/bin/login --noclear ${tty}";