1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
Commit graph

74 commits

Author SHA1 Message Date
Eelco Dolstra ed36857d5e * Don't start dhclient on interfaces that are explicitly configured.
svn path=/nixos/trunk/; revision=8014
2007-02-22 14:26:53 +00:00
Eelco Dolstra e23de214ab * Only start dhclient on real network interfaces like eth0, not aliases like eth0:0.
svn path=/nixos/trunk/; revision=8012
2007-02-22 14:06:15 +00:00
Eelco Dolstra e576209a61 * ifconfig up -> ifconfig.
svn path=/nixos/trunk/; revision=8011
2007-02-22 14:00:22 +00:00
Martin Bravenboer 8e6c1ba85d Support organization configuration for subversion
svn path=/nixos/trunk/; revision=8006
2007-02-22 10:55:58 +00:00
Eelco Dolstra 1dd2eb58be * Set the hardware clock when shutting down.
svn path=/nixos/trunk/; revision=7933
2007-02-20 16:25:49 +00:00
Martin Bravenboer e99ffcbe71 changed the extraSubservices to a list of functions
svn path=/nixos/trunk/; revision=7931
2007-02-20 15:57:15 +00:00
Eelco Dolstra a17b1d5c5f * Kill all processes during shutdown so that we can unmount
filesystems cleanly.

svn path=/nixos/trunk/; revision=7930
2007-02-20 15:51:13 +00:00
Eelco Dolstra 454716ef4f * Typo.
svn path=/nixos/trunk/; revision=7928
2007-02-20 15:14:48 +00:00
Martin Bravenboer eeee6ea1e2 added configuration option for extraSubservices, which allows you to plugin an arbitrary service into the webserver.
svn path=/nixos/trunk/; revision=7926
2007-02-20 15:11:49 +00:00
Eelco Dolstra ef8e5716cb * Set the right PATH for dhclient.
svn path=/nixos/trunk/; revision=7925
2007-02-20 14:59:29 +00:00
Eelco Dolstra 66a9cfbcdc * Give everybody access to /dev/kvm. I *think* that's safe...
svn path=/nixos/trunk/; revision=7923
2007-02-20 14:30:05 +00:00
Eelco Dolstra 619c3e0465 * Don't use the DHCP wrapper.
svn path=/nixos/trunk/; revision=7921
2007-02-20 14:20:33 +00:00
Eelco Dolstra 06a6116c44 * Allow manual network configuration, i.e., specificying the IP
address, gateway, and nameservers in the system configuration.

svn path=/nixos/trunk/; revision=7898
2007-02-12 16:00:55 +00:00
Eelco Dolstra ac93023f35 * Pass userCreationDomain.
svn path=/nixos/trunk/; revision=7891
2007-02-12 11:57:18 +00:00
Eelco Dolstra 56576e7c28 * Prevent repeated mounting.
svn path=/nixos/trunk/; revision=7882
2007-02-08 15:24:13 +00:00
Eelco Dolstra 0685f24957 svn path=/nixos/trunk/; revision=7786 2007-01-23 20:09:06 +00:00
Eelco Dolstra 668c146e33 * Doh! Make sure that we put *only* splash_helper in the initrd and
not all of splashutils, otherwise we get Glibc in the initrd.

svn path=/nixos/trunk/; revision=7771
2007-01-23 13:44:41 +00:00
Eelco Dolstra cf9016d816 * Mount devpts.
* Set the right permissions on /dev/tty and /dev/ptmx.

svn path=/nixos/trunk/; revision=7703
2007-01-16 22:34:15 +00:00
Eelco Dolstra 554ae9908b * Some slightly hacky LDAP support. The problem is that Glibc has to
be able to find the LDAP NSS module, which is normally installed in
  Glibc's prefix (under /lib/libnss_ldap...).  Of course, we can't do
  that; it wouldn't be pure.  As a workaround, we simply add nss_ldap
  to the LD_LIBRARY_PATH of the nscd daemon, which every other program
  uses for lookups.  So we don't have to put nss_ldap in the
  LD_LIBRARY_PATH of every program.

svn path=/nixos/trunk/; revision=7684
2007-01-15 17:19:41 +00:00
Eelco Dolstra 9963b263d3 * NSCD daemon.
svn path=/nixos/trunk/; revision=7645
2007-01-11 23:55:25 +00:00
Eelco Dolstra daa8ecfe7a * Activate software RAID arrays.
svn path=/nixos/trunk/; revision=7631
2007-01-11 00:40:28 +00:00
Eelco Dolstra 66d4c6c4e2 * Ignore remount read-only errors.
svn path=/nixos/trunk/; revision=7630
2007-01-11 00:40:08 +00:00
Eelco Dolstra 158c303e2f * Enable SFTP support in sshd.
svn path=/nixos/trunk/; revision=7622
2007-01-10 17:19:17 +00:00
Eelco Dolstra 866d87c60b * Start the cron daemon.
svn path=/nixos/trunk/; revision=7621
2007-01-10 17:09:00 +00:00
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