Commit Graph

5725 Commits

Author SHA1 Message Date
Markus Kohlhase
c1b09c9d7b spacenavd: init at 0.6 2017-03-17 13:22:33 +01:00
Ruben Maher
f70726854a
matrix-synapse: Allow keys to be generated
The matrix-synapse user has `createHome = true;` which runs before the
`preStart` script, so the home directory will always exist and the block
will never execute.

Also don't include default path to keys in the configuration file,
because synapse will choke if it tries to open them before they
exist (even with `--generate-keys`).

(cherry picked from commit 08d7fbb42d)
2016-11-18 00:18:45 +01:00
aszlig
9947a1bead
nixos/tests/chromium: Fix popup detection
Sometimes it happens that the "Type to search or enter a URL to
navigate" popup doesn't show, but all we need to know at this time is
whether Chromium has finished starting up.

So checking for the "startup done" page is a better option here.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-11-09 10:25:39 +01:00
Rob Vermaas
990716ce72 hound: make mercurial indexing work 2016-11-08 14:08:35 +00:00
Rob Vermaas
4b003d4a01 D'oh 2016-11-08 12:27:01 +00:00
Graham Christensen
ae7f41cc91 hound: Add description to services.hound.config
(cherry picked from commit 31b286467c)
2016-11-08 12:19:13 +00:00
Graham Christensen
18119de6db hound: init module
(cherry picked from commit 6c7a605714)
2016-11-08 12:18:55 +00:00
Nikolay Amiantov
444246113a tarsnap service: assert that same key is not used for different archives
See #19089
2016-11-03 17:21:14 +03:00
Ricardo M. Correia
3f6c9cceea nixos.libvirtd: fix broken VMs due to emulator path changes
This had already been fixed in f52f9bf7cd,
but the problem was reintroduced in
bce59a1a8b because the path to the XML
files changed.

(cherry picked from commit af01fa71e0)
2016-11-03 14:56:56 +01:00
Peter J. Jones
cf35c00e84
vsftpd service: add extraConfig option, set anon_root (#20069)
This commit includes two changes:

  1. A new `extraConfig` option to allow administrators to set any
     vsftpd configuration option that isn't directly supported by this
     derivation.

  2. Correctly set the `anon_root` vsftpd option to `anonymousUserHome`
(cherry picked from commit d19967bf48)
2016-11-03 05:07:28 +01:00
Timofei Kushnir
dce54d4d2f
grsecurity: fix 'isYes' and 'isNo'
(cherry picked from commit faa6f9b6b3)
2016-10-29 15:00:51 +02:00
Joachim Fasting
0ba1ea8122
virtualbox-{systemd-detect-virt,net-hostonlyif} test: fix dbus socket dir
The test complains[1][2] that

   Failed to start message bus: Failed to bind socket "/run/dbus/system_bus_socket": No such file or directory

In 639e5401ff, the dbus socket dir is set
to `/run/dbus`; in the test vm `/var/run/dbus` is used, but the standard
`/run -> /var/run` link is typically not created until stage 2 init, not
in the minimal init used here.  Thus, dbus fails to run within the test
environment .  Fix by changing `/var/run/dbus` to simply `/run/dbus`.

[1]: https://hydra.nixos.org/build/42534725
[2]: https://hydra.nixos.org/build/42523834

(cherry picked from commit c86fe2224e)
2016-10-29 15:00:41 +02:00
Domen Kožar
686bc9c5cc acme: we do want to support ipv4 afterall
(cherry picked from commit 41c490b75e)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-10-21 13:25:26 +02:00
Domen Kožar
2af7382f76 acme: provide full nginx example 2016-10-21 13:17:55 +02:00
Chris Martin
9fd1ff1ae8 riemann-health service: add procps to path (#19237)
(cherry picked from commit 57023aba3d)
2016-10-20 16:17:34 -04:00
Eelco Dolstra
2eac61e5db display-manager: Require systemd-udev-settle.service
It was already ordered after systemd-udev-settle.service, but that
doesn't do anything if no other units require
systemd-udev-settle.service. This was causing random failures during X
server startup, e.g.

machine# [   12.691372] display-manager[607]: (EE) open /dev/dri/card0: No such file or directory

http://hydra.nixos.org/build/41062823
(cherry picked from commit e6bcff4d53)
2016-10-20 20:06:09 +02:00
Vladimír Čunát
1268d79328 Document NixOS release process #4442
(Cherry-picked from bd11d5377e and dadf6fc1d02.)
http://nixos.org/nixos/manual/ shows the released version.
2016-10-16 13:31:52 +02:00
Alexander Ried
260c05d2b1
audit module: only enable service if kernel has audit (#19569)
(cherry picked from commit d91365d714)
2016-10-15 16:04:39 +02:00
Vladimír Čunát
e1ff6e766d Merge #18861: add AMDGPU-PRO driver
(cherry picked from commit 9d1dfc9ed0)
It seems very unlikely to break anything.
2016-10-11 20:01:52 +02:00
Nikolay Amiantov
c2b0f628ba timezone service: link localtime to /etc/zoneinfo instead of tzinfo directly
This is needed so systemd can extract timezone from a symlink.

(cherry picked from commit 0762396d68)
2016-10-11 17:57:56 +03:00
zimbatm
6a8318cb5c x11 module: fix display manager restart timeouts
It takes more than 1 second to boot the X server.
2016-10-10 21:30:43 +01:00
zimbatm
07b8442656 x11 module: don't restart the display manager indefinitely
If the display managers crashes continuously in loops it prevents the
user from switching to the console and try to fix things. Especially
when using the "auto" display manager it can happen quite easily.
2016-10-10 21:12:11 +01:00
Nathan Bijnens
c1af3a04a1 Fix #19382 set ownership of /var/empty to root:root
(cherry picked from commit 4ed85933db)

Signed-off-by: Domen Kožar <domen@dev.si>
2016-10-09 12:07:52 +02:00
Moritz Ulrich
103b012d2d services.kippo: Add missing '}'
(cherry picked from commit c475234827)
2016-10-06 13:42:18 +02:00
Frederik Rietdijk
234c7b526c Kippo: move pythonPackages.twisted_11 to kippo expression
(cherry picked from commit 6f836eb0d4)
2016-10-06 13:40:33 +02:00
Kirill Boltaev
079f3ea032 sddm: wrap xserver in systemd-cat to make logs appear in the journal
(cherry picked from commit 1978d00458)
2016-10-05 20:19:35 +03:00
Ricardo M. Correia
4e14fd5d5a nixos.acme: make timer persistent
This makes sure that if the system was powered off when the timer was
supposed to trigger, it will run the next time the system boots up.

(cherry picked from commit 1623476904)

Reason: Unobtrusive patch that may fix broken/outdated TLS
certificates, depending on your powered-on/powered-off patterns.
2016-10-04 18:04:19 +02:00
Eelco Dolstra
c89c1ba08b ec2-amis.nix: Create a "latest" attribute for NixOps
(cherry picked from commit 4b89d47887)
2016-10-03 18:29:50 +02:00
Eelco Dolstra
31bb717fa4 Add NixOS 16.09.666.3738950 AMIs
(cherry picked from commit 39b75f3b9f)
2016-10-03 18:10:45 +02:00
aszlig
5526517da9 nixos/lib/testing: Fix unsetting $xchg
Regression introduced by 4dcb685af9.

Unsetting the environment variable shortly before using it is not going
to end up very well, so let's just filter out the variable from the
output of export and unset it shortly afterwards.

This fixes the runInMachine NixOS test.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
(cherry picked from commit b4e2b6bc6a)
2016-10-01 21:26:43 +03:00
Domen Kožar
eaa160cd35 fix manual syntax 2016-10-01 14:55:15 +02:00
Domen Kožar
557b2625d7 Document new NixOS services 2016-10-01 14:45:07 +02:00
Domen Kožar
db6a20b1a1 document #16779 2016-10-01 14:45:07 +02:00
Eelco Dolstra
651274de33 Merge remote-tracking branch 'origin/release-16.09' into staging-16.09 2016-09-30 21:36:20 +02:00
Jörg Thalheim
fcd02ec20e containers: fix dynamic hash lookup
we want the content of attribute as a key:
b9df84cd4f broke this

(cherry picked from commit d6ce2e4bcb)
2016-09-30 21:33:26 +02:00
Eelco Dolstra
7b762ea29e Add a simple test for Samba
(cherry picked from commit 328c2f0081)
2016-09-30 21:31:11 +02:00
Eelco Dolstra
0b37191f76 samba: Use startup notification
This ensures synchronous unit start.

(cherry picked from commit e993506d4c)
2016-09-30 21:31:07 +02:00
Eelco Dolstra
7c9b9ae7e2 Merge remote-tracking branch 'origin/release-16.09' into staging-16.09 2016-09-30 21:28:44 +02:00
Nikolay Amiantov
9587a856ba switch-to-configuration: fix restart of socket activated services
This fixes two bugs:

* When socket activation is detected, the service itself is added to stop-start list instead of its sockets.
* When service is marked to restart instead of stop (`StopIfChanged = no`) we don't need to restart sockets.

(cherry picked from commit d37458ad06)
2016-09-30 18:33:37 +03:00
Nikolay Amiantov
5598db747f systemd-journald service: restart instead of stop and start
Also restart when configuration is changed.

(cherry picked from commit ff0b8b2225)
2016-09-30 18:33:18 +03:00
Eelco Dolstra
baf9c40afb Merge remote-tracking branch 'origin/release-16.09' into staging-16.09 2016-09-30 17:29:09 +02:00
Eelco Dolstra
256b6b2ae1 Fix "undefined variable ‘device’" using autoFormat
(cherry picked from commit 7e8eb6a7c3)
2016-09-30 17:27:19 +02:00
Shea Levy
e5bd75f3e6 supplicant: Make the device pull in the supplicant service.
The udev rule should do this. Not sure why it doesn't.

Fixes #19029.

(cherry picked from commit b692e06686)
2016-09-30 09:23:03 -04:00
Peter Simons
6549f1ab9d Document removal of LTS Haskell package sets in 16.09 release notes.
This patch closes https://github.com/NixOS/nixpkgs/issues/14897.
2016-09-30 14:54:09 +02:00
Graham Christensen
b3be1c7e48
Revert "lightdm: obbey services.xserver.{window/desktop}Manager.default"
This reverts commit 6a12ff4cbd.

See: https://github.com/NixOS/nixpkgs/pull/19054
Closes #19054
2016-09-30 08:18:49 -04:00
Eelco Dolstra
b6c9c0258b Merge remote-tracking branch 'origin/release-16.09' into staging-16.09 2016-09-30 13:01:38 +02:00
Domen Kožar
51cf16f4b4 changelog for #18011 2016-09-30 12:48:09 +02:00
Domen Kožar
14c16f2fdb changelog for #18365 2016-09-30 12:47:00 +02:00
Domen Kožar
1eaad0150c changelog for hydra package/module 2016-09-30 12:22:11 +02:00
Domen Kožar
b3a5bc5f57 changelog for #9523 2016-09-30 12:21:15 +02:00