Commit Graph

4424 Commits

Author SHA1 Message Date
Eelco Dolstra
a240110dc8 acme.nix: Fix unit descriptions
Unit descriptions should be capitalized, and timer units don't have
to describe that they're timers.

(cherry picked from commit 0c5e837b66)
2016-04-28 13:59:17 +02:00
Bjørn Forsman
0170599d55 jenkins service: bring back $SSL_CERT_FILE
A continuation of commit 23489b34c0
("Bring back $SSL_CERT_FILE"). Quoting that commit message:

  Commit 9f358f809d removed
  $SSL_CERT_FILE, which is fine for binaries linking against the current
  OpenSSL package, but not old binaries (e.g. those installed via
  nix-env). So let's keep $SSL_CERT_FILE for a while longer.

The above patch is only applied to 'release-16.03', so do the same for
this one.
2016-04-27 20:34:00 +02:00
David Guibert
0c12babcfd
kerberos_server: fix evaluation (closes #14928)
(cherry picked from commit 23e3cbeca4)
2016-04-25 16:05:45 +02:00
Graham Christensen
b6c51f3e79 facetimehd: Only unload module if it is loaded
The pre-sleep service exits if any command fails. Unloading facetimehd
without it being loaded blocks subsequent commands from running.

Note: `modprobe -r` works a bit better when unloading unused modules,
and is preferrable to `rmmod`. However, the facetimehd module does not
support suspending. In this case, it seems preferable to forcefully
unload the module. `modprobe` does not support a `--force` flag when
removing, so we are left with `rmmod`.

See:
 - https://github.com/NixOS/nixpkgs/pull/14883
 - https://github.com/patjak/bcwc_pcie/wiki#known-issues
2016-04-23 11:59:00 -05:00
Tuomas Tynkkynen
37ad310ceb qemu-img: Fix module paths
They are compressed nowadays.

Not sure if these are really needed since nobody noticed they were
broken, but anyway...
2016-04-23 11:54:54 -05:00
Tuomas Tynkkynen
809a13010a treewide: Replace module_init_tools -> kmod
The former is deprecated and doesn't handle compressed kernel modules,
so all current usages of it are broken.

(cherry picked from commit 01854a850a)
2016-04-23 11:54:34 -05:00
Joachim Fasting
5740226f88
Revert "Merge pull request #14926 from grahamc/graceful-facetimehd-module-unload-16.03"
This reverts commit 71916459a3, reversing
changes made to 9d1662c6c9.

I noticed too late that this does not use kmod, like its counterpart on master.
See https://github.com/NixOS/nixpkgs/issues/14885
2016-04-23 18:24:18 +02:00
Graham Christensen
52ecfe2da2 facetimehd: Only unload module if it is loaded
The pre-sleep service exits if any command fails. Unloading facetimehd
without it being loaded blocks subsequent commands from running.

Note: `modprobe -r` works a bit better when unloading unused modules,
and is preferrable to `rmmod`. However, the facetimehd module does not
support suspending. In this case, it seems preferable to forcefully
unload the module. `modprobe` does not support a `--force` flag when
removing, so we are left with `rmmod`.

See:
 - https://github.com/NixOS/nixpkgs/pull/14883
 - https://github.com/patjak/bcwc_pcie/wiki#known-issues
2016-04-23 09:31:40 -05:00
Domen Kožar
9d1662c6c9 make all boot tests release critical #14902 2016-04-23 13:12:17 +01:00
Ricardo M. Correia
e45ea6ddb7 nixos.locate: fix update-locatedb service failure
It was failing with a `Read-only filesystem` failure due to the systemd
service option `ReadWriteDirectories` not being correctly configured.

Fixes #14132

(cherry picked from commit f5951c55f7)
2016-04-14 15:38:53 +02:00
Eelco Dolstra
f21658dfca Add a regression test for #14623
(cherry picked from commit a42698d2a4)
2016-04-14 13:20:32 +02:00
Eelco Dolstra
b6de72513f Fix X11 tests broken by the removal of -ac
Probably missed a few. Also adding xauth to the system path (it was
already in the closure).

(cherry picked from commit 9153d8ed64)
2016-04-14 13:20:25 +02:00
Eelco Dolstra
659c41a7d5 X server: Enable local access control
For the last ten years we have been passing -ac to the X server, which
is very bad idea.

Fixes #14623.

(cherry picked from commit 1541fa351b)
2016-04-14 13:20:22 +02:00
Eelco Dolstra
e0f77f7217 Restore default core limit of 0:infinity
Continuation of 79c3c16dcb. Systemd 229
sets the default RLIMIT_CORE to infinity, causing systems to be
littered with core dumps when systemd.coredump.enable is disabled.

This restores the 15.09 soft limit of 0 and hard limit of infinity.

(cherry picked from commit 840f3230a2)
2016-04-14 13:19:25 +02:00
Joachim Fasting
027e666b34 Revert "Merge pull request #14262 from peterhoeg/flexget"
This reverts commit c8b6c37792, reversing
changes made to 91a3e47895.

Sorry, I did not notice that this was opened against the wrong branch ...
2016-04-13 02:53:28 +02:00
joachifm
c8b6c37792 Merge pull request #14262 from peterhoeg/flexget
flexget: create nixos service module
2016-04-13 02:44:37 +02:00
Vladimír Čunát
4ffe3f9593 nixos-generate-config: lower priority of nix.maxJobs
Fixes #6429.

(cherry picked from commit 5c04313451)
2016-04-12 08:10:31 +02:00
Joachim Fasting
97f6277819 manual: delete dangling pointer to real-world NixOS configs
At some point we probably want to replace this with a curated list
of configurations or even an upstreamed repository of examples, but
for now this is just noise.

Fixes NixOS/nixpkgs#14522

(cherry picked from commit 678e1955b1)
2016-04-09 18:17:18 +02:00
Eelco Dolstra
aef0efc389 httpd.service: Support reload
This is useful when ACME has generated a new TLS certificate.

(cherry picked from commit 133e6e1ea6)
2016-04-08 19:42:15 +02:00
Lluís Batlle i Rossell
516f47efef Making trac/ldap handle httpd 2.4.
The option authzldapauthoritative had been removed in 2.4
2016-04-07 11:38:06 +02:00
Eelco Dolstra
cbeef98664 Add 16.03 AMIs
(cherry picked from commit ab2855b975)
2016-04-06 18:43:57 +02:00
Eelco Dolstra
b2ca64f52b Move the EC2 AMI registry from the NixOps repo
NixOps has infrequent releases, so it's not the best place for keeping
the list of current AMIs. Putting them in Nixpkgs means that AMI
updates will be delivered as part of the NixOS channels.

(cherry picked from commit 4e356cefd7)
2016-04-06 18:43:14 +02:00
Eelco Dolstra
a550dcac7f Update AMI creation script
(cherry picked from commit 69c746d06b)
2016-04-06 18:40:53 +02:00
Domen Kožar
567b65d165 nixos tests: increase timeout for udevadm settle, see #13559 2016-04-06 12:56:51 +01:00
Roger Qiu
8777eb989a nixos/stage-1: Removed logCommands conditional for resetting the file descriptors after completion of logging
(cherry picked from commit 53e8e93939)
2016-04-05 23:55:59 +02:00
Nikolay Amiantov
a5d3fdc726 dspam service: run after postgresql to prevent segfaults
(cherry picked from commit ea5c7d553c)
2016-04-05 18:01:49 +03:00
Nikolay Amiantov
b2be13433d uwsgi service: use python.buildEnv, fix PATH
(cherry picked from commit 25754a5fc2)
2016-04-05 17:58:47 +03:00
Eelco Dolstra
ad0b2cfb7c Revert "initrd: Use modprobe from busybox"
This reverts commit 45c218f893.

Busybox's modprobe causes numerous "Unknown symbol" errors in the
kernel log, even though the modules do appear to load correctly.
2016-04-04 15:24:01 +02:00
Nicolas B. Pierron
3420ac1b2e Fix typo in service.syncthing.dataDir description.
(cherry picked from commit 411408f74c)
2016-04-04 12:42:06 +02:00
Rastus Vernon
ae4d57f2e7 nixos manual: recommend use of dd for writing the image
Unetbootin works by altering the image and placing a boot loader on it.
For this reason, it cannot work with UEFI and the installation guides
for other distributions (incl. Debian and Fedora) recommend against
using it.

Since dd writes the image verbatim to the drive, and not just the files,
it is not necessary to change the label after using it for UEFI
installations.

vcunat: tiny changes to the PR. Close #14139.
(cherry picked from commit d6998b0674)
2016-04-02 17:43:13 +02:00
Domen Kožar
089a5889ce Merge pull request #14368 from ttuegel/kde5-release-16.03
release-16.03: note KDE 5 upgrades in release notes
2016-04-01 15:19:35 +01:00
Eelco Dolstra
6e90d2f83a ssh: Fix support for ssh-dss host keys
(cherry picked from commit 3fb1708427)
2016-04-01 16:04:15 +02:00
Thomas Tuegel
e90ef1b4c3 release-16.03: note KDE 5 upgrades in release notes 2016-04-01 08:57:21 -05:00
Domen Kožar
ecf6ca477c changelog: correct path to gitit nixos module
(cherry picked from commit d8abfc87c6)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-03-31 23:49:48 +01:00
Domen Kožar
b01eedaeec nixos-generate-config.pl: correct path for broadcom-43xx 2016-03-31 23:46:54 +01:00
makefu
9733045d05 graphite: fix carbonCache graphiteWeb graphiteApi
This commit implements the changes necessary to start up a graphite carbon Cache
with twisted and start the corresponding graphiteWeb service.
Dependencies need to be included via python buildEnv to include all recursive
implicit dependencies.

Additionally cairo is a requirement of graphiteWeb and pycairo is not a standard
python package (buildPythonPackage) and therefore cannot be included via
buildEnv. It also needs cairo in the Library PATH.

(cherry picked from commit 626bfce3b8)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-03-31 23:40:00 +01:00
Domen Kožar
216c840ca8 changelog: note binutils upgrade 2016-03-31 23:39:01 +01:00
Domen Kožar
279557e6d2 changelog: note release date 2016-03-31 23:08:49 +01:00
Domen Kožar
d231868990 changelog: add all new NixOS modules 2016-03-31 23:00:24 +01:00
Eelco Dolstra
65075167ce NixOS manual: Add some release notes
(cherry picked from commit e60be0923b)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-03-31 13:47:12 +01:00
Eelco Dolstra
a2b526d41a Fix the boot-ec2-config test
(cherry picked from commit 1783e33b06)
2016-03-31 13:32:56 +02:00
Pascal Wittmann
daf0729f3a nixos/manpages: enable linebreaking after slashes
Allow linbreaks after slashes in long URLs. The option used
is documented at

   http://docbook.sourceforge.net/release/xsl/current/doc/manpages/man.break.after.slash.html

This commit fixes #4538.

(cherry picked from commit 8ddfab0cf2)
2016-03-31 11:29:05 +02:00
Eelco Dolstra
792bbd380e Fix the EC2 test
We now generate a qcow2 image to prevent hitting Hydra's output size
limit. Also updated /root/user-data -> /etc/ec2-metadata/user-data.

http://hydra.nixos.org/build/33843133
(cherry picked from commit 0d3738cdcc)
2016-03-30 21:51:15 +02:00
Rickard Nilsson
5feeab1d57 nixos/filesystems: Fix fs options type error
(cherry picked from commit 6ff5821be6)
2016-03-30 21:51:10 +02:00
Eelco Dolstra
23489b34c0 Bring back $SSL_CERT_FILE
Commit 9f358f809d removed
$SSL_CERT_FILE, which is fine for binaries linking against the current
OpenSSL package, but not old binaries (e.g. those installed via
nix-env). So let's keep $SSL_CERT_FILE for a while longer.
2016-03-30 16:37:18 +02:00
Eelco Dolstra
badecc4c42 nixos-rebuild: Fix Nix fallback
Somebody forgot that Bash is not a real programming language...

(cherry picked from commit c94f8a4abd)
2016-03-30 16:37:03 +02:00
Eelco Dolstra
79c3c16dcb Restore core dumps
Systemd 229 sets kernel.core_pattern to "|/bin/false" by default,
unless systemd-coredump is enabled. Revert back to the default of
writing "core" in the current directory.

(cherry picked from commit 54ca7e9f75)
2016-03-30 11:26:17 +02:00
Nikolay Amiantov
f3319286ff xserver service: add glamoregl for intel drivers
Closes #14286

Credits to vcunat for the initial patch.

(cherry picked from commit 63f1eb6b00)
2016-03-29 19:04:11 +03:00
Vladimír Čunát
12528e547f manual rl-16.03: document broadcom issue #12595
(cherry picked from commit d9b98b6b50)
2016-03-29 16:33:49 +02:00
Peter Simons
cc8278e186 Document the fact that the firewall allows pings by default in rl-1603.xml.
(cherry picked from commit 9a2ee42f52)
2016-03-29 16:15:17 +02:00