From ca7cece9bf5b28b92f6ce5973db68d161e7ea526 Mon Sep 17 00:00:00 2001 From: xapkohheh Date: Wed, 10 May 2023 20:26:40 +0200 Subject: [PATCH] houdini: disabled dieWithParent, unsharePid Due to the nature of the software, it forks and expects children to outlive the parent, therefore dieWithParent needs to be disabled Also licensing mechanism seem to be checking processes for it's licensing helper process running. that process must be same for multiple instances of houdini itself, therefore Pid namespace has to be the same for all of them. --- pkgs/applications/misc/houdini/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/misc/houdini/default.nix b/pkgs/applications/misc/houdini/default.nix index a1c78118e710..890a78b5d3ea 100644 --- a/pkgs/applications/misc/houdini/default.nix +++ b/pkgs/applications/misc/houdini/default.nix @@ -3,6 +3,12 @@ buildFHSEnv rec { name = "houdini-${unwrapped.version}"; + # houdini spawns hserver (and other license tools) that is supposed to live beyond the lifespan of houdini process + dieWithParent = false; + + # houdini needs to communicate with hserver process that it seem to be checking to be present in running processes + unsharePid = false; + targetPkgs = pkgs: with pkgs; [ libGLU libGL