From ab017a58c591801ddcfe209e9a0067f404f9dff5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 24 Nov 2011 17:54:55 +0000 Subject: [PATCH] * Enable PROC_EVENTS, since it's required by libcgroup's cgrulesengd to monitor process creation. svn path=/nixpkgs/trunk/; revision=30549 --- pkgs/os-specific/linux/kernel/linux-2.6.35.nix | 5 +++++ pkgs/os-specific/linux/kernel/linux-3.0.nix | 5 +++++ pkgs/os-specific/linux/kernel/linux-3.1.nix | 5 +++++ pkgs/os-specific/linux/kernel/linux-3.2.nix | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/linux-2.6.35.nix b/pkgs/os-specific/linux/kernel/linux-2.6.35.nix index 7234c61e59b3..e0a9a28d1bca 100644 --- a/pkgs/os-specific/linux/kernel/linux-2.6.35.nix +++ b/pkgs/os-specific/linux/kernel/linux-2.6.35.nix @@ -184,6 +184,11 @@ let # Allow up to 128 GiB of RAM in Xen domains. XEN_MAX_DOMAIN_MEMORY 128 + # PROC_EVENTS requires that the netlink connector is not built + # as a module. This is required by libcgroup's cgrulesengd. + CONNECTOR y + PROC_EVENTS y + ${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""} ${extraConfig} ''; diff --git a/pkgs/os-specific/linux/kernel/linux-3.0.nix b/pkgs/os-specific/linux/kernel/linux-3.0.nix index acdaf60a5fc7..6474e5de4d6a 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.0.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.0.nix @@ -197,6 +197,11 @@ let # they generally don't hurt. STAGING y + # PROC_EVENTS requires that the netlink connector is not built + # as a module. This is required by libcgroup's cgrulesengd. + CONNECTOR y + PROC_EVENTS y + ${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""} ${extraConfig} ''; diff --git a/pkgs/os-specific/linux/kernel/linux-3.1.nix b/pkgs/os-specific/linux/kernel/linux-3.1.nix index ad6a76a6816f..720a5fa15f2d 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.1.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.1.nix @@ -197,6 +197,11 @@ let # they generally don't hurt. STAGING y + # PROC_EVENTS requires that the netlink connector is not built + # as a module. This is required by libcgroup's cgrulesengd. + CONNECTOR y + PROC_EVENTS y + ${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""} ${extraConfig} ''; diff --git a/pkgs/os-specific/linux/kernel/linux-3.2.nix b/pkgs/os-specific/linux/kernel/linux-3.2.nix index 4067ee5ea85b..50174526596c 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.2.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.2.nix @@ -196,6 +196,11 @@ let # they generally don't hurt. STAGING y + # PROC_EVENTS requires that the netlink connector is not built + # as a module. This is required by libcgroup's cgrulesengd. + CONNECTOR y + PROC_EVENTS y + ${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""} ${extraConfig} '';