From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 29 17:36:00 2021 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 To: 36838@debbugs.gnu.org Subject: Re: bug#36838: mcron leaves zombies around 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36838 Cc: Leo Prikler 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: -1.0 (-) 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