Commit Graph

101541 Commits

Author SHA1 Message Date
aszlig 5af8b120a6
nixos/tests/taskserver: Add test for manual config
This subtest actually serves two purposes:

  1. Test manual PKI configuration
  2. Test changing of configuration files

In order to only test manual PKI configuration it would have been enough
to just add another server with a manual config.

But as the switch from automatic PKI config to manual config is probably
one of the most fundamental changes in configuration, so it serves
*very* well to also check whether changes in the NixOS configuration
actually have an impact in the real system.

So instead of adding another server, we now create a dummy "newServer"
machine, which is the new configuration for "server" and use
switch-to-configuration to switch "server" to the config of "newServer".

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-02-17 19:46:01 +01:00
aszlig c7bbb93878
taskserver: Pass configuration via command line
Putting an include directive in the configuration file referencing a
store path with the real configuration file has the disavantage that
once we change the real configuration file the store path is also a
different one.

So we would have to replace that include directive with the new
configuration file, which is very much error-prone, because whenever
taskd modifies the configuration file on its own it generates a new one
with *only* the key/value options and without any include directives.

Another problem is that we only added the include directive on the first
initalization, so whenever there is *any* configuration change, it won't
affect anything.

We're now passing all the configuration options via command line,
because taskd treats everything in the form of --<name>=<value> to be a
configuration directive.

This also has the effect that we now no longer have extraConfig, because
configuration isn't a file anymore.

Instead we now have an attribute set that is mapped down to
configuration options.

Unfortunately this isn't so easy with the way taskd is configured,
because there is an option called "server" and also other options like
"server.cert", "server.key" and so on, which do not map very well to
attribute sets.

So we have an exception for the "server" option, which is now called
"server.listen", because it specifies the listening address.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Fixes: #22705
2017-02-17 19:45:58 +01:00
aszlig 78fe00da7c
taskserver: Allow helper tool in manual config
The helper tool so far was only intended for use in automatic PKI
handling, but it also is very useful if you have an existing CA.

One of the main advantages is that you don't need to specify the data
directory anymore and the right permissions are also handled as well.

Another advantage is that we now have an uniform management tool for
both automatic and manual config, so the documentation in the NixOS
manual now applies to the manual PKI config as well.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-02-17 19:45:55 +01:00
aszlig 32c2e8f4ae
taskserver/helpertool: Fix error message on export
The error message displays that a specific user doesn't exist in an
organisation, but uses the User object's name attribute to show which
user it was.

This is basically a very stupid chicken and egg problem and easily fixed
by using the user name provided on the command line.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-02-17 19:45:52 +01:00
aszlig a5e9668c5c
nixos/test: Fix escaping for copyFileFromHost
A long-time issue and one of the reasons I've never used that function
before. So let's remove that todo-comment and escape the contents
properly.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @edolstra
2017-02-17 19:45:49 +01:00
Michele Guerini Rocco 5231d0ac29 bluetooth module: add option to power up bluetooth controller (#22685) 2017-02-17 19:44:04 +01:00
Matthias Herrmann 89a0365063 sweethome3d: version compatible with master and 16.09
[Bjørn: let the package function take 'libXxf86vm' as input instead of
'xorg' (the whole set).]
2017-02-17 19:28:52 +01:00
Joachim Fasting e8007c0e89
linux_4_9: patch for CVE-2017-5986
Seems fairly low impact[1] but we might as well patch it until a new 4.9
version is released

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1420276
2017-02-17 19:11:30 +01:00
Joachim Fasting 73577a2b05
linux_4_9: 4.9.9 -> 4.9.10 2017-02-17 19:11:24 +01:00
Thomas Tuegel 580bdde06c
kde5.frameworks: update instructions 2017-02-17 11:48:14 -06:00
Thomas Tuegel 304da2449a
kde5.plasma: update instructions 2017-02-17 11:48:14 -06:00
Thomas Tuegel b510dccc94
kde5.applications: update instructions 2017-02-17 11:48:14 -06:00
Bjørn Forsman 73112a6e78 pcsctools: unbreak 'gscriptor' by adding cairo
Fixes this:

  $ gscriptor
  Can't load '/nix/store/17w6hdwbli924v7d43xxxp66qhgqpc24-perl-Pango-1.227/lib/perl5/site_perl/5.22.2/x86_64-linux-thread-multi/auto/Pango/Pango.so' for module Pango: /nix/store/17w6hdwbli924v7d43xxxp66qhgqpc24-perl-Pango-1.227/lib/perl5/site_perl/5.22.2/x86_64-linux-thread-multi/auto/Pango/Pango.so: undefined symbol: cairo_font_type_to_sv at /nix/store/5z1wn7knhckr3a0asb8lzp99sdai09f2-perl-5.22.2/lib/perl5/5.22.2/x86_64-linux-thread-multi/DynaLoader.pm line 193.
   at /nix/store/srdac7af3nz6fb74haa8l8ls9wd9pas0-perl-Gtk2-1.2498/lib/perl5/site_perl/5.22.2/x86_64-linux-thread-multi/Gtk2.pm line 31.
  Compilation failed in require at /nix/store/srdac7af3nz6fb74haa8l8ls9wd9pas0-perl-Gtk2-1.2498/lib/perl5/site_perl/5.22.2/x86_64-linux-thread-multi/Gtk2.pm line 31.
  BEGIN failed--compilation aborted at /nix/store/srdac7af3nz6fb74haa8l8ls9wd9pas0-perl-Gtk2-1.2498/lib/perl5/site_perl/5.22.2/x86_64-linux-thread-multi/Gtk2.pm line 31.
  Compilation failed in require at /nix/store/sgy2xsyvmam09pl25x8gb507gyiz9ybn-pcsc-tools-1.4.25/bin/.gscriptor-wrapped line 28.
  BEGIN failed--compilation aborted at /nix/store/sgy2xsyvmam09pl25x8gb507gyiz9ybn-pcsc-tools-1.4.25/bin/.gscriptor-wrapped line 28.
2017-02-17 17:01:29 +01:00
Joachim F fe4552420e Merge pull request #22680 from dtzWill/feature/creduce
creduce: init at 2.6.0
2017-02-17 16:58:37 +01:00
Ricardo M. Correia 8d1bd281cc rustc: 1.15 -> 1.15.1 2017-02-17 16:44:01 +01:00
Peter Hoeg facb2c0483 bundler: 1.14.3 -> 1.14.4 2017-02-17 22:48:39 +08:00
Matthew Daiter 692f3c18cd riak: 2.1.1 -> 2.2.0 2017-02-17 15:09:31 +01:00
Octavian Cerna dcc84d8fcf quagga: 1.0.20161017 -> 1.2.0 2017-02-17 15:33:13 +02:00
Eelco Dolstra 4798196447
s3fs-fuse: 1.78 -> 1.80 2017-02-17 13:46:00 +01:00
Matthew Daiter 336d6cc513 stanchion: remove ssl option 2017-02-17 13:24:51 +01:00
Orivej Desh 47ded42788 lumail: init at 2.9 2017-02-17 12:14:20 +01:00
Orivej Desh cc4fd4f715 perl-Net-IMAP-Client: init at 0.9505 2017-02-17 12:14:20 +01:00
Vincent Demeester 834de6ebaa glide: output correct version (#22896)
It currently displays `0.12.0-dev` instead of the specified
version.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-02-17 12:08:54 +01:00
Vladimír Čunát 24b1c6ee88
subsurface: disable parallel make
It was failing on Hydra:
http://hydra.nixos.org/build/48847277/nixlog/2/raw
2017-02-17 11:39:21 +01:00
Pradeep Chhetri a9584c9510 kafka: 0.10.1.0 -> 0.10.1.1 2017-02-17 11:13:29 +01:00
Nikolay Amiantov 8ecd5c4019 Merge pull request #22864 from abbradar/dbus-etc
Redo DBus configuration
2017-02-17 11:47:51 +03:00
Daiderd Jordan 8a5c6153d7 Merge pull request #22814 from veprbl/wxpython
wxPython30: fix on darwin
2017-02-17 08:35:39 +01:00
Robin Gloster b3c58dc38b Merge pull request #22222 from afldcr/polybar-3.0.3
polybar: init at 3.0.4
2017-02-17 02:49:44 +01:00
Robin Gloster a6eb4669b1 Merge pull request #22872 from ttuegel/isync
Update isync-git, with several other improvements
2017-02-17 02:47:23 +01:00
romildo 53c2e38e0d qbittorrent: 3.3.7 -> 3.3.10 2017-02-17 02:45:15 +01:00
Brian McKenna 17f566d1e1 keybase-gui: init at 20170209.17b641d
The GUI requires the keybase and kbfs packages to be installed and
running with /keybase as the mount.
2017-02-17 02:44:06 +01:00
Bjarki Ágúst Guðmundsson 8561af2db9 kbfs: 1.0.2 -> 20170209.d1db463 2017-02-17 02:43:52 +01:00
Bjarki Ágúst Guðmundsson c1fb4ec041 keybase: 1.0.18 -> 20170209.17b641d 2017-02-17 02:43:30 +01:00
Pradeep Chhetri 0ea76ef831 wuzz: 2017-02-09 -> 0.1.0 2017-02-17 02:36:14 +01:00
Pradeep Chhetri 7ab871b394 consul: 0.7.3 -> 0.7.5 2017-02-17 02:20:40 +01:00
Pradeep Chhetri 3e484e7880 consul-template: 0.18.0 -> 0.18.1 2017-02-17 02:20:23 +01:00
Mogria cfea446920 phpPackages.memcached: add missing zlib build dependency 2017-02-17 02:18:58 +01:00
David Terry 90d225db76 microsoft_gsl: init at 2017-02-13 2017-02-17 02:14:12 +01:00
Pradeep Chhetri 6515854248 awless: init at 0.0.13 2017-02-17 02:12:23 +01:00
Dmitry Kalinkin 0a44f259b5
python27Packages.taskcoach: mark as broken on darwin 2017-02-16 18:48:09 -05:00
Dmitry Kalinkin c2a5733654
wxPython: fix on darwin 2017-02-16 18:48:08 -05:00
Robin Gloster 101d90d18b
libzrtpcpp: remove 2017-02-17 00:14:15 +01:00
Robin Gloster d7e5883d5e
freeswitch: 1.6.9 -> 1.6.15 2017-02-17 00:14:13 +01:00
Robin Gloster 4324ff2f73
sflphone: remove 2017-02-17 00:14:10 +01:00
Robin Gloster 538aed6dea
twinkle: remove 2017-02-17 00:14:07 +01:00
Robin Gloster 72cda1667b
certbot: 0.9.3 -> 0.11.1 2017-02-17 00:14:04 +01:00
Robin Gloster 449c895f31
podofo: 0.9.4 -> 0.9.5 2017-02-17 00:14:01 +01:00
Robin Gloster d9d66375ec
pythonPackages.boto3: 1.4.2 -> 1.4.4 2017-02-17 00:13:49 +01:00
Robin Gloster 54018c8f63
xmlsec: 1.2.20 -> 1.2.23 2017-02-17 00:13:45 +01:00
Robin Gloster 0abc829590
pythonPackages.pyopenssl: 16.1.0 -> 16.2.0 2017-02-17 00:13:42 +01:00