nixpkgs/nixos
c74d a4ac5506f5 google-compute-image: fix Yama LSM option conflict
Having fixed the Google Compute Engine image build process's copying
of store paths in PR #24264, I ran `nixos-rebuild --upgrade switch`...
and the GCE image broke again, because it sets the NixOS configuration
option for the sysctl variable `kernel.yama.ptrace_scope` to
`mkDefault "1"`, i.e., with override priority 1000, and now the
`sysctl` module sets the same option to `mkDefault "0"` (this was
changed in commit 86721a5f78).

This patch raises the override priority of the Google Compute Engine
image configuration's definition of the Yama sysctl option to 500
(still lower than the priority of an unmodified option definition).

I have tested that this patch allows the Google Compute Engine image
to again build successfully for me.
2017-03-26 21:09:58 +02:00
..
doc/manual NixOS Manual: Update version numbers 2017-03-25 20:14:04 +01:00
lib makeTest: don't rely on makeWrapper not quoting newlines 2017-03-20 16:15:38 +03:00
maintainers nova-image: refactoring 2017-02-24 22:17:52 +01:00
modules google-compute-image: fix Yama LSM option conflict 2017-03-26 21:09:58 +02:00
tests network-interfaces: reload bridges on conf changes 2017-03-26 18:47:43 +02:00
COPYING
default.nix Remove nixFallback 2017-03-06 15:54:50 +01:00
README
release-combined.nix nixos/sddm: test automatic and manual login 2017-03-24 10:39:13 -05:00
release-small.nix nixos/release-small.nix: cleanup to use default versions 2017-01-27 15:33:54 +01:00
release.nix network-interfaces: reload bridges on conf changes 2017-03-26 18:47:43 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.