diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-06-04 14:22:11 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-06-04 14:22:11 +0000 |
commit | dbadf6e9c20bacb54a8d3df442f4e0069224a111 (patch) | |
tree | f8ad112aa2aaef7c1f2f610364e9094c77df95d8 /modules/services/ttys | |
parent | 531605944271e7762642072840890f23e14f3834 (diff) | |
download | nixlib-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.nix | 2 |
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}"; |