Eelco Dolstra
5b993b4ff5
* Quick hack to prevent the system from hanging in halt/reboot: force
...
NFS unmounts. We have to do this because networking is already down
by the time we get to the unmounting. It would be better to unmount
all remote file systems when an ip-down event occurs.
svn path=/nixos/trunk/; revision=7620
2007-01-10 17:08:34 +00:00
Eelco Dolstra
99b24cf4d1
* Mount file systems when an ip-up event occurs (e.g., for NFS mounts).
...
svn path=/nixos/trunk/; revision=7619
2007-01-10 17:07:21 +00:00
Eelco Dolstra
a7644b8855
* Support NFS mounts.
...
svn path=/nixos/trunk/; revision=7615
2007-01-10 14:34:31 +00:00
Eelco Dolstra
7ba1682c05
* In fileSystems: say label = "FOO"' instead of
device = "LABEL=foo"'.
...
svn path=/nixos/trunk/; revision=7611
2007-01-10 13:58:48 +00:00
Eelco Dolstra
24e34612e3
* Allow swap devices to be specified by label.
...
svn path=/nixos/trunk/; revision=7609
2007-01-10 13:07:57 +00:00
Eelco Dolstra
60e4da4a9b
* Hacked up support for volume labels.
...
svn path=/nixos/trunk/; revision=7587
2007-01-09 16:29:27 +00:00
Eelco Dolstra
fb2d9f8347
* Race condition: splash_util fails if the virtual console doesn't
...
exist yet (e.g., because mingetty hasn't started yet), so make sure
it exists.
svn path=/nixos/trunk/; revision=7584
2007-01-09 13:56:54 +00:00
Eelco Dolstra
2d20b19e5b
* Don't get stuck in an infinite unmount loop on shutdown.
...
svn path=/nixos/trunk/; revision=7580
2007-01-09 09:52:16 +00:00
Eelco Dolstra
56da3e7887
* Allow any login program to be specified.
...
svn path=/nixos/trunk/; revision=7575
2007-01-08 21:34:30 +00:00
Eelco Dolstra
b7f11ad98b
* Generate sshd_config to set XAuthLocation if X11 forwarding is
...
enabled.
svn path=/nixos/trunk/; revision=7548
2007-01-07 10:19:16 +00:00
Eelco Dolstra
acacfda1b2
* Remove references to stdenvNew.
...
svn path=/nixos/trunk/; revision=7532
2007-01-04 10:21:25 +00:00
Eelco Dolstra
162181ffba
* LVM support (in stage 2; having / on LVM is not yet supported). LVM
...
triggers a new-devices event so that the filesystems job mounts file
systems on the logical volumes.
svn path=/nixos/trunk/; revision=7478
2006-12-24 01:07:28 +00:00
Eelco Dolstra
cb4e81d38f
* Handle devices that are symlinks.
...
svn path=/nixos/trunk/; revision=7477
2006-12-24 00:54:52 +00:00
Eelco Dolstra
f25ce41c18
* Option boot.doHardwareScan to disable the hardware scan. Also, if
...
the flag "safemode" is specified on the kernel command line, also
disable the hardware scan.
* Option boot.kernelModules to specify a set of modules to be loaded
in stage 2 (in addition to the initrd modules in
boot.initrd.kernelModules).
svn path=/nixos/trunk/; revision=7466
2006-12-22 23:34:42 +00:00
Eelco Dolstra
75e1652f05
* Chroot ntpd.
...
svn path=/nixos/trunk/; revision=7464
2006-12-22 19:29:18 +00:00
Eelco Dolstra
2d605d7041
* Don't run ntpd as root.
...
svn path=/nixos/trunk/; revision=7463
2006-12-22 19:23:19 +00:00
Eelco Dolstra
f037f6fbd4
* Emit ip-up / ip-down events when we get or lose a DHCP lease.
...
* ntpd: start on ip-up, not when the network interfaces are up,
otherwise it will fail because it can't find any servers right
away.
svn path=/nixos/trunk/; revision=7461
2006-12-22 17:28:25 +00:00
Eelco Dolstra
617ebcbcce
* Job for ntpd. Doesn't seem to work quite right, but that might be a
...
VMware problem.
svn path=/nixos/trunk/; revision=7460
2006-12-21 23:43:17 +00:00
Eelco Dolstra
647db4dd2a
* Don't try to mount when the mount point isn't there yet.
...
* Run fsck.
svn path=/nixos/trunk/; revision=7458
2006-12-21 20:08:15 +00:00
Eelco Dolstra
e3acce2f4f
* Wait until the temporary udevd is gone.
...
svn path=/nixos/trunk/; revision=7457
2006-12-21 20:07:46 +00:00
Eelco Dolstra
d54b0a0749
* Don't refer to non-existent groups.
...
svn path=/nixos/trunk/; revision=7456
2006-12-21 19:22:06 +00:00
Eelco Dolstra
3b9a7c747e
* Trigger swap on new-devices.
...
svn path=/nixos/trunk/; revision=7455
2006-12-21 19:21:36 +00:00
Eelco Dolstra
896a935de1
* Repeatedly unmount file systems until a fixpoint is reached (no more
...
file systems can be unmounted).
* Remount all un-unmountable file systems as read-only.
* Explicitly call losetup to get rid of loopback devices to work
around a bug in mount.
svn path=/nixos/trunk/; revision=7454
2006-12-21 18:12:19 +00:00
Eelco Dolstra
bf8e19f6db
* Mount file systems until a fixpoint is reached.
...
* Work properly for loopback mounts.
svn path=/nixos/trunk/; revision=7453
2006-12-21 18:10:33 +00:00
Eelco Dolstra
f89f3c0643
* Emit the new-devices event to cause the filesystems job to be
...
rerun.
svn path=/nixos/trunk/; revision=7452
2006-12-21 18:09:10 +00:00
Eelco Dolstra
42cf9a9050
* Respect the options and fsType attributes.
...
* Remount file systems to allow mount options to be changed
dynamically.
svn path=/nixos/trunk/; revision=7450
2006-12-21 14:44:22 +00:00
Eelco Dolstra
b363fc4c57
* Mount all file systems in the fileSystems option.
...
svn path=/nixos/trunk/; revision=7449
2006-12-21 14:22:40 +00:00
Eelco Dolstra
c78a1d9781
* Upstart job to start swapping to the devices or files listed in the
...
swapDevices option.
svn path=/nixos/trunk/; revision=7448
2006-12-21 01:07:23 +00:00
Eelco Dolstra
2d6e8e63ae
* Forgot to commit.
...
svn path=/nixos/trunk/; revision=7430
2006-12-19 21:31:19 +00:00
Eelco Dolstra
af1c54fbdc
* Subversion subservice.
...
* Example of a NixOS configuration for a Subversion server.
svn path=/nixos/trunk/; revision=7412
2006-12-19 01:03:15 +00:00
Eelco Dolstra
9f47929138
* Apache configuration.
...
svn path=/nixos/trunk/; revision=7393
2006-12-18 19:46:48 +00:00
Eelco Dolstra
70f929a0a5
* Upstart job for Apache.
...
svn path=/nixos/trunk/; revision=7391
2006-12-18 19:20:03 +00:00
Eelco Dolstra
84f1e01646
* Doh.
...
svn path=/nixos/trunk/; revision=7384
2006-12-18 15:52:43 +00:00
Eelco Dolstra
87e2456814
* Use getenv/useradd.
...
svn path=/nixos/trunk/; revision=7382
2006-12-18 15:48:29 +00:00
Eelco Dolstra
3e7f4280df
* activate-configuration.sh: make sure that we're running on a NixOS
...
installation to prevent horrible accidents.
* Add the kernel parameters to isolinux.cfg.
* Use useradd/groupadd to create users/groups; use Glibc's getent to
check for existence.
* Create the root account properly.
svn path=/nixos/trunk/; revision=7357
2006-12-16 21:48:12 +00:00
Eelco Dolstra
8f21b0119c
* Get the CD to build again.
...
svn path=/nixos/trunk/; revision=7356
2006-12-16 18:24:49 +00:00
Eelco Dolstra
57663aae6b
* Some basic udev rules: give the right permission to /dev/null etc.,
...
put input devices in /dev/input, and create a symlink /dev/cdrom for
CD-ROM devices.
svn path=/nixos/trunk/; revision=7335
2006-12-13 14:24:33 +00:00
Eelco Dolstra
f29c93830e
* "set" -> "env".
...
svn path=/nixos/trunk/; revision=7333
2006-12-13 13:09:20 +00:00
Eelco Dolstra
07627d8cdd
* Move starting of udevd (and udevtrigger/settle) into an Upstart
...
job.
svn path=/nixos/trunk/; revision=7330
2006-12-13 12:17:38 +00:00
Eelco Dolstra
4b5b0d2c66
* Purify the sshd configuration file (don't put it in /etc/ssh).
...
svn path=/nixos/trunk/; revision=7320
2006-12-12 15:32:28 +00:00
Eelco Dolstra
b80769d5ae
* Hm, "set" doesn't seem to do the right thing.
...
svn path=/nixos/trunk/; revision=7308
2006-12-11 02:55:28 +00:00
Eelco Dolstra
578b56d3c6
* Make halt/reboot work again (umount and reboot were no longer in
...
$PATH).
* Use the login from pam_login instead of shadowutils.
svn path=/nixos/trunk/; revision=7302
2006-12-11 00:52:36 +00:00
Eelco Dolstra
c063ea2bfa
* Use runCommand.
...
svn path=/nixos/trunk/; revision=7300
2006-12-10 22:43:04 +00:00
Eelco Dolstra
acf656125c
* Lots of refactoring.
...
* Clear the PATH in most scripts. This helps to ensure purity.
svn path=/nixos/trunk/; revision=7299
2006-12-10 22:29:44 +00:00
Eelco Dolstra
2fe4badb9a
* Start the Nix daemon to enable multi-user package management in
...
NixOS.
svn path=/nixos/trunk/; revision=7291
2006-12-09 03:11:14 +00:00
Eelco Dolstra
f049c35a86
* More semi-purification of /etc.
...
svn path=/nixos/trunk/; revision=7290
2006-12-09 02:51:42 +00:00
Eelco Dolstra
ec764b7c08
* Helper script to check for and create accounts.
...
svn path=/nixos/trunk/; revision=7171
2006-11-29 23:10:22 +00:00
Eelco Dolstra
79464e0d9c
* Don't start X by default.
...
svn path=/nixos/trunk/; revision=7170
2006-11-29 22:34:59 +00:00
Eelco Dolstra
8532f2be8e
* Add the X server as an Upstart service. The X server is pure,
...
except for the fonts, which are still hardcoded. The current
configuration uses the VESA driver, which should work on most
machines. Of course, the configuration should now be generated from
a higher-level specification.
svn path=/nixos/trunk/; revision=7165
2006-11-28 22:27:56 +00:00
Eelco Dolstra
0817c307dc
* Moving stuff around.
...
svn path=/nixos/trunk/; revision=7155
2006-11-27 19:49:05 +00:00