From debbugs-submit-bounces@debbugs.gnu.org Wed May 19 07:59:30 2021 Received: (at submit) by debbugs.gnu.org; 19 May 2021 11:59:30 +0000 Received: from localhost ([127.0.0.1]:58289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljKrK-0004yh-0a for submit@debbugs.gnu.org; Wed, 19 May 2021 07:59:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:53000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljKrI-0004yb-39 for submit@debbugs.gnu.org; Wed, 19 May 2021 07:59:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljKrH-00016z-Pa for bug-guix@gnu.org; Wed, 19 May 2021 07:59:27 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:41918) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljKrD-0003LH-03 for bug-guix@gnu.org; Wed, 19 May 2021 07:59:27 -0400 Received: by mail-qt1-x82a.google.com with SMTP id t20so9851414qtx.8 for ; Wed, 19 May 2021 04:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=IcOQ4W3ch/L5MTDwI10qXlhaVmCALONuCkp08+gMDkk=; b=TzRCola9MHgy67YfC4U1UkRwPav5Y7Qy4XyAs9WHkG7FWV7udHILVLbn+HTeQ7D8iC a6VqHVzN/WGV7sijL673E6r/vW3M2mvog1bTtgFb+qLMYwuqqX1JpGuG5ker8rC+WQzd 1lVGMrBml7WkDwWxpR7qguf4rhHOmeVMAFQL6VXZc0UfZIhaKQF+o64RjNu3p+TEkPes 9aBr/RyF0H9s0CQ4Is0hA9/4jAnaMj7BsCiTiyR5GIaX6+8lND9f/bQy2zbq/iRXbz/m i1/GeDtZfZBeATpg8ZAZXWHy+nO5Sn2aYIWcaGMdLKQCG5fQiP1qa9zwrqSur45IWwEi UIzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=IcOQ4W3ch/L5MTDwI10qXlhaVmCALONuCkp08+gMDkk=; b=a1yoh32TjgPxZheiKO7fqpK/XpLeUtVm6FqDqN32wV22w1lgX9taQX6yaa7MeW/yMx GK/oVAS8AVDSri8l24ClY5wHsPeAbSNiZHFLltMDzUidRhwAxiz73LQVwYF8CDYKbOLO j5l/WeU0uHS00+8YlQrUN1jednPYZ/RTMrdf0BbW5CPIsvuGBJV5JLuLjY5sMGsVD9JG T4OT+d+gVwjgGZzK1eE0EBtykiY6Z8GdEGLpw5a8lkprlvnkCh58+jljEQeOYbqnt0nI godw3K0vSEGa4hGDabGs6mkDE702idmGPUVhrf/uiS4E6YYlCfPeBRiPZgTBsXIlIKZn sKIQ== X-Gm-Message-State: AOAM533tD/5qeJno9G+TgCyAnGqUOIYroSs3blJ6t9AMQMDOTCvD1JoH ymlh74Fipd3YuUKuLjfTrsyC1ONyeFw= X-Google-Smtp-Source: ABdhPJxe3l+pzjgrJyzEEyiLr5t/C9pfRmqCW59qJFoSDGv9aNTdTt9bLhrRvaSu+9FQz7E2MzAR9A== X-Received: by 2002:a05:622a:3d1:: with SMTP id k17mr10665158qtx.50.1621425562059; Wed, 19 May 2021 04:59:22 -0700 (PDT) Received: from hurd (dsl-150-81.b2b2c.ca. [66.158.150.81]) by smtp.gmail.com with ESMTPSA id w4sm14635010qki.57.2021.05.19.04.59.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 04:59:21 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: opendht-service-type hangs Shepherd at boot Date: Wed, 19 May 2021 07:59:19 -0400 Message-ID: <874kezhr3c.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello, I just noticed about this problem following a reboot. I can also reproduce it in 'guix system vm', simply adding the opendht-service-type to my operating-system declaration. The boot proceeds until 'error in finalization thread: Success' then hangs indefinitely. What is troubling for me is that the service is rather straightforwardly defined. It uses the make-forkexec-constructor/container like so: --8<---------------cut here---------------start------------->8--- (define (opendht-shepherd-service config) "Return a running OpenDHT." (shepherd-service (documentation "Run an OpenDHT node.") (provision '(opendht dhtnode dhtproxy)) (requirement '(user-processes syslogd)) (start #~(make-forkexec-constructor/container (list #$@(opendht-configuration->command-line-arguments config)) #:mappings (list (file-system-mapping (source "/dev/log") ;for syslog (target source))) #:user "opendht")) (stop #~(make-kill-destructor)))) --8<---------------cut here---------------end--------------->8--- I'm not sure how using such basic building blocks could lead to a hang in Shepherd ? Thanks, Maxim