Eelco Dolstra
ef07a945c4
* Don't echo characters on /dev/hvc0, otherwise the stdout of commands
...
gets screwed up.
svn path=/nixos/trunk/; revision=26422
2011-03-18 13:16:40 +00:00
Eelco Dolstra
be0fca5781
* Use QEMU/KVM's paravirtualised console device for the backdoor.
...
This has the advantage that it doesn't depend on networking being
up.
* Move common QEMU/KVM guest configuration to profiles/qemu-guest.nix.
svn path=/nixos/trunk/; revision=26421
2011-03-18 12:38:22 +00:00
Eelco Dolstra
c52aeacf1a
* Factor out some test commonality.
...
svn path=/nixos/trunk/; revision=26394
2011-03-17 14:04:47 +00:00
Eelco Dolstra
6ee609a0a3
* On the installation CD, set the overcommit heuristic to "always
...
overcommit". This makes it less likely that the installer fails
randomly in low memory environments.
svn path=/nixos/trunk/; revision=26369
2011-03-16 15:17:54 +00:00
Eelco Dolstra
a19849914a
* libvirtd: Remove the pid on startup. If it exists, libvirtd
...
tends to segfault.
svn path=/nixos/trunk/; revision=26365
2011-03-16 13:52:52 +00:00
Eelco Dolstra
8add655028
* Add qemu_kvm to the system path.
...
svn path=/nixos/trunk/; revision=26359
2011-03-16 12:31:06 +00:00
Eelco Dolstra
6646268c95
* This should no longer be needed.
...
svn path=/nixos/trunk/; revision=26331
2011-03-15 18:47:56 +00:00
Eelco Dolstra
f71bd3f93c
* dhclient: ignore libvirt's network interfaces.
...
svn path=/nixos/trunk/; revision=26327
2011-03-15 15:30:12 +00:00
Eelco Dolstra
3cb7a54dba
* Added an option `networking.bridges' to allow Ethernet bridges to be
...
defined.
svn path=/nixos/trunk/; revision=26325
2011-03-15 15:13:48 +00:00
Eelco Dolstra
f45866d0e7
* The NAT networking in libvirt requires the "tun" module.
...
svn path=/nixos/trunk/; revision=26314
2011-03-15 10:52:44 +00:00
Eelco Dolstra
f833492c68
* Add dnsmasq to libvirtd's PATH. This is required for networking.
...
svn path=/nixos/trunk/; revision=26313
2011-03-15 09:42:49 +00:00
Eelco Dolstra
b1b36ec510
* KDM seems to die if we call xwininfo while it's starting (!). So
...
don't do that.
svn path=/nixos/trunk/; revision=26307
2011-03-15 07:23:37 +00:00
Eelco Dolstra
ee09d34b51
* Doh.
...
svn path=/nixos/trunk/; revision=26294
2011-03-14 08:08:34 +00:00
Eelco Dolstra
ff458f3fc8
* Add a very basic test for Xfce.
...
svn path=/nixos/trunk/; revision=26284
2011-03-11 17:00:10 +00:00
Eelco Dolstra
cd30b40da7
* Replace ifconfig by ip in the initrd of VM tests.
...
svn path=/nixos/trunk/; revision=26280
2011-03-11 14:59:36 +00:00
Eelco Dolstra
8ce36ffb3a
* Use "ip" instead of "ifconfig" for setting up network interfaces,
...
since the latter is rather deprecated and has been unmaintained
since 2001. Note that "ip" doesn't know about classful addressing,
so you can no longer get away with not specifying the subnet mask
for explicitly configured interfaces. So if you had
networking.interfaces =
[ { name = "eth0"; ipAddress = "192.168.1.1"; } ];
this should be changed to
networking.interfaces =
[ { name = "eth0";
ipAddress = "192.168.1.1";
subnetMask = "255.255.255.0";
}
];
otherwise you end up with a subnet mask of 255.255.255.255.
svn path=/nixos/trunk/; revision=26279
2011-03-11 14:50:11 +00:00
Eelco Dolstra
d6090b9d1e
svn path=/nixos/trunk/; revision=26278
2011-03-11 13:59:01 +00:00
Eelco Dolstra
7205c31ea3
* Remove "modprobe af_packet". It's loaded automatically when needed.
...
svn path=/nixos/trunk/; revision=26277
2011-03-11 13:57:48 +00:00
Eelco Dolstra
ee4e004cc4
* Add a test for the firewall.
...
svn path=/nixos/trunk/; revision=26276
2011-03-11 13:38:52 +00:00
Eelco Dolstra
64d871c0d9
* Enable FTP connection tracking in the firewall.
...
svn path=/nixos/trunk/; revision=26275
2011-03-11 13:34:17 +00:00
Eelco Dolstra
005ca15f64
* Firewall: add an option to allow extra firewall rules to be added.
...
* Firewall: change the policy of the INPUT chain back to ACCEPT to
prevent a lockup when the Nix store is mounted over the network
(i.e. in our VM tests). This is because as soon as the policy is
set to DROP, the iptables modules that enable access to the network
filesystem cannot be acccessed anymore.
svn path=/nixos/trunk/; revision=26274
2011-03-11 13:04:17 +00:00
Eelco Dolstra
6160100a9a
* Don't run klogd in tests to prevent duplicate kernel messages in the
...
log output. (It wasn't running anyway because the preStart command
was broken.) Note that "dmesg -c" doesn't have an effect on klogd,
and "klogd -o" is broken.
svn path=/nixos/trunk/; revision=26273
2011-03-11 12:56:04 +00:00
Eelco Dolstra
416c60550e
* Delete some obsolete installation tests.
...
svn path=/nixos/trunk/; revision=26272
2011-03-11 12:18:01 +00:00
Eelco Dolstra
ab0ce6734b
* firewall.nix: Only flush/delete the chains created by us.
...
svn path=/nixos/trunk/; revision=26271
2011-03-11 11:53:18 +00:00
Eelco Dolstra
f672aa71bf
* RFC 4890 says that local nodes should not filter pretty much any
...
ICMPv6 messages (including echo requests), so don't do that.
svn path=/nixos/trunk/; revision=26270
2011-03-11 11:08:16 +00:00
Eelco Dolstra
0ea9f6611a
* Add some more rules to allow ICMPv6 router/neighbour advertisements
...
in. Maybe we're better off accepting all ICMPv6 messages *except*
echo requests.
svn path=/nixos/trunk/; revision=26260
2011-03-10 16:25:08 +00:00
Eelco Dolstra
53bc6d3efa
* NAT module: support active FTP.
...
svn path=/nixos/trunk/; revision=26247
2011-03-10 13:03:47 +00:00
Eelco Dolstra
9bf4ac079e
* Add a module for doing Network Address Translation.
...
svn path=/nixos/trunk/; revision=26246
2011-03-10 12:08:39 +00:00
Eelco Dolstra
e2e7b689b4
* Fix `nixos-rebuild build-vm-with-bootloader': QEMU now requires the
...
`readonly' flag if the disk image is not writable.
svn path=/nixos/trunk/; revision=26245
2011-03-10 11:39:37 +00:00
Eelco Dolstra
d6424efbfb
* Cleanup.
...
svn path=/nixos/trunk/; revision=26244
2011-03-10 09:39:17 +00:00
Eelco Dolstra
e884cbed7d
* Add an option for opening UDP ports.
...
* Accept packets destined for link-local addresses (fe80::/10).
svn path=/nixos/trunk/; revision=26236
2011-03-09 16:37:16 +00:00
Eelco Dolstra
d8b69f2fad
* grub-mkimage now requires a format flag. Also, the "sh" module has
...
disappeared. Hopefully it's not important :-)
svn path=/nixos/trunk/; revision=26234
2011-03-09 16:26:03 +00:00
Eelco Dolstra
12161f3183
* Add a firewall option to allow pings. (Maybe this should
...
be enabled by default.)
svn path=/nixos/trunk/; revision=26233
2011-03-09 15:28:47 +00:00
Eelco Dolstra
e4051e105c
* Use a separate chain for logging and rejecting.
...
svn path=/nixos/trunk/; revision=26232
2011-03-09 15:11:01 +00:00
Eelco Dolstra
66716f9dd5
* Firewall: support IPv6.
...
svn path=/nixos/trunk/; revision=26231
2011-03-09 14:41:48 +00:00
Eelco Dolstra
843e1f6c1e
* Cleanup.
...
svn path=/nixos/trunk/; revision=26228
2011-03-09 12:28:44 +00:00
Eelco Dolstra
6f1068b0b7
* Remove the unnecessary warning printed by `nixos-rebuild test'. The
...
current configuration (/var/run/current-system) is always a GC root.
svn path=/nixos/trunk/; revision=26227
2011-03-09 12:14:06 +00:00
Eelco Dolstra
f300833ebc
* Add iproute to the path used by networking.localCommands.
...
svn path=/nixos/trunk/; revision=26222
2011-03-09 11:48:29 +00:00
Ludovic Courtès
b7a8b26d09
doc: Fix the manual.
...
svn path=/nixos/trunk/; revision=26220
2011-03-09 10:38:18 +00:00
Ludovic Courtès
7cb3958e4b
doc: Use a <footnote>, not a <note>.
...
svn path=/nixos/trunk/; revision=26214
2011-03-08 21:54:18 +00:00
Ludovic Courtès
36cf4ba40b
doc: Escape `&'.
...
svn path=/nixos/trunk/; revision=26213
2011-03-08 21:31:00 +00:00
Ludovic Courtès
d028ec95d0
doc: Escape `>'.
...
svn path=/nixos/trunk/; revision=26212
2011-03-08 21:14:21 +00:00
Ludovic Courtès
79a322f050
doc: Add a section on VM testing, mostly copied from the wiki.
...
svn path=/nixos/trunk/; revision=26211
2011-03-08 20:55:43 +00:00
Eelco Dolstra
f1277862cd
* Handle --cores.
...
svn path=/nixos/trunk/; revision=26188
2011-03-07 12:12:53 +00:00
Eelco Dolstra
5cff6eda3d
* Revert r21410 because it breaks handling of "--max-jobs".
...
svn path=/nixos/trunk/; revision=26187
2011-03-07 12:12:39 +00:00
Eelco Dolstra
908a025b22
* Die tabs die.
...
svn path=/nixos/trunk/; revision=26184
2011-03-07 08:21:39 +00:00
Eelco Dolstra
10e8a801b6
* Refactor: extraChrootPaths -> chrootDirs. This allows disabling the
...
default chroot paths using mkOverride.
svn path=/nixos/trunk/; revision=26183
2011-03-07 08:20:24 +00:00
Michael Raskin
75d4861077
Fix Nixpkgs link; typo noticed by Shea Levy
...
svn path=/nixos/trunk/; revision=26181
2011-03-07 07:55:53 +00:00
Michael Raskin
00f3a816a9
Adding a possibility to add more paths to chroots used by nix-daemons. The use-case is building the latest version from repository with very large checkouts. That way you do not get extra copy in store every time you rebuild, and you can implement a saner version checking than checksumming all the data
...
svn path=/nixos/trunk/; revision=26174
2011-03-06 15:39:05 +00:00
Eelco Dolstra
0c6129bb90
* Hopefully fix the rebuildCD job.
...
svn path=/nixos/trunk/; revision=26155
2011-03-04 10:28:02 +00:00