From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gNMGKMz9K2FgcgEAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 23:36:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mLelI8z9K2HydQAAbx9fmQ (envelope-from ) for ; Sun, 29 Aug 2021 21:36:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D774718368 for ; Sun, 29 Aug 2021 23:36:11 +0200 (CEST) Received: from localhost ([::1]:51980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKSTK-00028O-Ix for larch@yhetil.org; Sun, 29 Aug 2021 17:36:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKSTC-00028C-T5 for bug-guix@gnu.org; Sun, 29 Aug 2021 17:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKSTC-0000hk-Lt for bug-guix@gnu.org; Sun, 29 Aug 2021 17:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKSTC-00005b-9g for bug-guix@gnu.org; Sun, 29 Aug 2021 17:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#36838: mcron leaves zombies around Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 29 Aug 2021 21:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36838 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 36838@debbugs.gnu.org Received: via spool by 36838-submit@debbugs.gnu.org id=B36838.1630272961334 (code B ref 36838); Sun, 29 Aug 2021 21:36:02 +0000 Received: (at 36838) by debbugs.gnu.org; 29 Aug 2021 21:36:01 +0000 Received: from localhost ([127.0.0.1]:57603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKSTA-00005J-JK for submit@debbugs.gnu.org; Sun, 29 Aug 2021 17:36:00 -0400 Received: from mail-qv1-f52.google.com ([209.85.219.52]:42869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKST8-00004z-42 for 36838@debbugs.gnu.org; Sun, 29 Aug 2021 17:35:58 -0400 Received: by mail-qv1-f52.google.com with SMTP id gf5so7287042qvb.9 for <36838@debbugs.gnu.org>; Sun, 29 Aug 2021 14:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=FerT42v5JnNQdJS4cA7WOrelHqbRR4I7QPM8a+g4Bj4=; b=ROAL1Nz2E7iuhFFdMrdXzeJO08LquR4H4VQOqvaTicF+WjD4UfZrgcCcCtjMnqpIsH pnpCTnOv/VlUYa6OR90MQrvXAo5XLPjJJ3E60wikhbXbXrJTzM2q5Zq69Y6GlAXB+pFQ 6bD3dkr9+cGuefz9rHEot5ZWIadWT9vqP/M7D8Yv1OfYNgMZFFWSuADH5h4NQdqU7d+I 71hpFtt1sNv1kx3bPmiENVQ/U5YZ9v7cIRWF+VECd0h/4794f/nu58WqTUyCC9Q6ZmqB VeTNy+X2Diu7P5fyBiwaFvmenIc31rf6Y1kpcJku9/V8fjfVvkHydjpu10Ct4A0JlEUl NVYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=FerT42v5JnNQdJS4cA7WOrelHqbRR4I7QPM8a+g4Bj4=; b=MkqEOKFfGbLigXENkr9Xy/QjivEOvEb+p0u2rv6gFarmQXaUJV5kLF97TtrYqRIZHC vvSPndU9tWzZJLJLk9+/InSJ7cjeyVLj/XelRu9O6cQWIn0HFUQd5ysceYTil3YZp6gQ cMbC5Wx+T3wyHdVz9iGFBmgDiA17rbpqSUj2WQzOJm9aTsz8Rw7D3o8W7VZ3seKOOLMm EtuFpDC42XlQCx+CCAbdNYwFlA7IyX3AWFjWMTcaDeaFNLa5S4FGz7R2lzzYrs6wQRR2 6WVBYVIQZQDHCvIz+CIHi29EiofzWxcDQp/5+uwxXUKstJJqjdo3nkv+9CcjoEQYVKNq VxkQ== X-Gm-Message-State: AOAM532BrpQxONmLwr8hnycnvOhS1SnnxDB9PfHn5EpUQuej5cUuCySg ijBZFeYFHrZes8VULyRWMX0kEvIJMqE= X-Google-Smtp-Source: ABdhPJxpVjwcbKdVCeuaAqjErIpF6EmZH1szrl6GR1fWQpxxNT5BzdpewHPaJe+neXypoDx2U/rWQQ== X-Received: by 2002:ad4:418e:: with SMTP id e14mr18552167qvp.50.1630272952524; Sun, 29 Aug 2021 14:35:52 -0700 (PDT) Received: from hurd (dsl-10-141-212.b2b2c.ca. [72.10.141.212]) by smtp.gmail.com with ESMTPSA id b19sm10128055qkc.7.2021.08.29.14.35.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Aug 2021 14:35:52 -0700 (PDT) From: Maxim Cournoyer References: Date: Sun, 29 Aug 2021 17:35:51 -0400 In-Reply-To: (Leo Prikler's message of "Tue, 24 Aug 2021 12:12:52 +0200") Message-ID: <87k0k4szm0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Prikler Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630272972; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=FerT42v5JnNQdJS4cA7WOrelHqbRR4I7QPM8a+g4Bj4=; b=ghJ1x/apRFObY/znfZzxbr50fYhQz5LM+OgJW3dyhKQAq3V614YXN5kZwG7OoeFylvoga+ z0hpm1xtFkWaAVHZIy3pTvnPeiqdl58LBEptRuhpZc2+NmGnfO1h56kd5hdaPMdxAVVpcu YxeD07/8Pw/ZFVnmozY+bHPcwMmXiiXs79k37wG2fEKSmGihaBAZPoeF5MDVQ7ZVhFxFEx RncVwk4ndJMuGNnC0dKSazHScYSLl1aUacyWuv5Q1h75T/85amCgLlDGcDa9PVlCYpSYSD 7IbrgCM0ioZip6axg2g+XbOWZXQ4lsL/NxHWkHOupwfoQB2yPR4bqnDHp4I4Og== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630272972; a=rsa-sha256; cv=none; b=PGGCbmSBVr1tRlHkwd6CvH6dSPj4jCthfRK/fwZPm9SsOZfVWJ+hX9eqVP/SBShq3ybEsz 284JaUyfIuNU1xVtDw9baXPsIXhU9+epbTAbV972962/GIaDM/ldAmlJTExPfTm6FqGaha X65baSArdHmSr1ICY5+Sqzp/5eK8308rX1BJCy2QxOL+mBetzwhF/AZ9jhbZCQDNKSS6U5 85lq+oPgDoisOff/By6Z2KqqA8/USI4gxh0r5GQTj/LoHbmDBdMDSE2nQDz3buQtfmnfFX 308ZTipOA3of4D6T7S+sVSqmXxuZ02ePfEUKDrE71rRw+ziyW72LLJE+MkllDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=ROAL1Nz2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=ROAL1Nz2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D774718368 X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: xwqJH67jFs7W Hi Leo, Leo Prikler writes: > Hi Maxim, > > I still have a defunct mcron flying around with a fairly standard Guix > configuration. The only service running through mcron seems to be > rottlog-service-type. If you have the energy/bandwidth, would you mind trying this patch here: https://lists.gnu.org/archive/html/bug-mcron/2021-08/msg00008.html; it may have positive side-effects in that regard, I believe. I've modified the mcron package to use a local checkout in my system config like so: --8<---------------cut here---------------start------------->8--- @@ -2,7 +2,14 @@ ;;; RAID-1c3 storage bay. (use-modules (gnu) (guix modules) - (srfi srfi-1)) + (srfi srfi-1) + ;; for mcron experiment + (gnu packages autotools) + (gnu packages guile-xyz) + (gnu packages man) + (gnu packages texinfo) + (guix git) + (guix packages)) (use-service-modules admin desktop docker linux mail mcron networking nfs nix spice ssh sysctl telephony virtualization vpn xorg) @@ -196,6 +203,15 @@ (pam-limits-entry "@realtime" 'both 'memlock 'unlimited))) (service mcron-service-type (mcron-configuration + (mcron (package/inherit mcron + (source (git-checkout + (url "file:///home/maxim/src/mcron"))) + (native-inputs (append + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("help2man" ,help2man) + ("texinfo" ,texinfo)) + (package-native-inputs mcron))))) (jobs (list duckdns-job backup-home-job --8<---------------cut here---------------end--------------->8--- The output is now annotated as: --8<---------------cut here---------------start------------->8--- 2021-08-25T00:01:34 /gnu/store/xcngj8vg5j8g54r3aqm71vbgsgrsjl31-rottlog-0.72.2/sbin/rottlog: mail: Cannot open mailer: No such file or directory 2021-08-25T00:01:34 /gnu/store/xcngj8vg5j8g54r3aqm71vbgsgrsjl31-rottlog-0.72.2/sbin/rottlog: mail: cannot send message: No such file or directory 2021-08-25T00:01:34 /gnu/store/xcngj8vg5j8g54r3aqm71vbgsgrsjl31-rottlog-0.72.2/sbin/rottlog: mail: Cannot open mailer: No such file or directory 2021-08-25T00:01:34 /gnu/store/xcngj8vg5j8g54r3aqm71vbgsgrsjl31-rottlog-0.72.2/sbin/rottlog: mail: cannot send message: No such file or directory 2021-08-25T00:01:34 /gnu/store/xcngj8vg5j8g54r3aqm71vbgsgrsjl31-rottlog-0.72.2/sbin/rottlog: mail: Cannot open mailer: No such file or directory 2021-08-25T00:01:34 /gnu/store/xcngj8vg5j8g54r3aqm71vbgsgrsjl31-rottlog-0.72.2/sbin/rottlog: mail: cannot send message: No such file or directory 2021-08-25T00:01:34 /gnu/store/xcngj8vg5j8g54r3aqm71vbgsgrsjl31-rottlog-0.72.2/sbin/rottlog: completed in 93.625s 2021-08-25T00:05:00 duckdns-update: running... 2021-08-25T00:05:01 duckdns-update: completed in 0.519s --8<---------------cut here---------------end--------------->8--- And I don't have any mcron zombie process lying around, unless I'm reading the ps output wrong. Thanks, Maxim