From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eMirDpo0uWR9fwEASxT56A (envelope-from ) for ; Thu, 20 Jul 2023 15:20:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +Cz/DZo0uWQVxgAAauVa8A (envelope-from ) for ; Thu, 20 Jul 2023 15:20:26 +0200 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 D03EB3A042 for ; Thu, 20 Jul 2023 15:20:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=j1OCj+B+; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689859225; 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-to: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=h/l06Thy+NHfu7TknnfULLxlSCJBQgj4XzL7EfITjcY=; b=VsMsy/aHiS4IBEBThvueYCJn4GHdPKKo8l+NQ8AX/sJo76DmdSFOLrM+YNPTb6AElsYpC0 ixsFK/naYOqVPVmgtPgB9+NaUfe923AjUjR80gO4NshlXP7rq6lgSXpTOgWruGXCqBM3v0 QSzDzs2zYDg2zUYso3HBy7mM8dzTqMs+rXH3Xwdzk3R+5hVNHf2de/D5ptyVYLj0zErxfm u9fPxkVotWHWavauyBiqLBocg+iCpVW4gN0y1WJu4hLICVeZ22JGLvwXhzkESXZAzO/ilX gfmYg7f7ivfuAEZ9WDq4cBLEJXRN66E8mL476ek1jJZgjGhShJiF3sbobIkevw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689859225; a=rsa-sha256; cv=none; b=Wn8vNpq8g0XN1YJX1TSzeg5x0l2V+FavMJovAE50e6lDGyMhVU5K/txA/B0nMHsL/JZxqq QgfSfA58sxkQIt+dqz6NiznQhktsZTGXjtQXv07HG8Pp1h1kB6aBBBBLvOGoB1T0p0JbCC Tk8SZNkR3zYMiR5E/qZgkd5ZAZWgThmIZifxdSqNBIX/0t+7wU37ShoGft7xGfuXOgjIfs v1cL2X36s223lAFN9Flx2vEnXiubIQ/Mg/H6wi/G10Lj+rfD5EXaGsGSQdo6PahabFn2Iq /rYJFWJu1F6fSzi8gmmYSe5MGH8xlW76t0bEEcQD0lc8Vl7JnAwyK7R9vq1wEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=j1OCj+B+; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMTZe-0005Ak-4E; Thu, 20 Jul 2023 09:20:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMTZa-0005AH-99 for bug-guix@gnu.org; Thu, 20 Jul 2023 09:20:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMTZZ-0001cP-Sh for bug-guix@gnu.org; Thu, 20 Jul 2023 09:20:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMTZZ-0001SA-P1 for bug-guix@gnu.org; Thu, 20 Jul 2023 09:20:01 -0400 Subject: bug#36838: mcron leaves zombies around Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 20 Jul 2023 13:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 36838 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 36838-done@debbugs.gnu.org Cc: Leo Prikler Mail-Followup-To: 36838@debbugs.gnu.org, maxim.cournoyer@gmail.com, rob@vllmrt.net Received: via spool by 36838-done@debbugs.gnu.org id=D36838.16898591555514 (code D ref 36838); Thu, 20 Jul 2023 13:20:01 +0000 Received: (at 36838-done) by debbugs.gnu.org; 20 Jul 2023 13:19:15 +0000 Received: from localhost ([127.0.0.1]:58001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMTYp-0001Qs-9U for submit@debbugs.gnu.org; Thu, 20 Jul 2023 09:19:15 -0400 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:59855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMTYn-0001QZ-9E for 36838-done@debbugs.gnu.org; Thu, 20 Jul 2023 09:19:14 -0400 Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-635ee3baa14so5027126d6.3 for <36838-done@debbugs.gnu.org>; Thu, 20 Jul 2023 06:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689859148; x=1690463948; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=h/l06Thy+NHfu7TknnfULLxlSCJBQgj4XzL7EfITjcY=; b=j1OCj+B+SehhwCicwHndtE43+Y8T6s1KLXVO3a8UXyEsXYrw0eb+YS+w1Q97GoU5hF L1071YCIWbEuvI37wrTLvzAHcvA99Br5eIjcg0Y8zG6P6XKPko7M39eLN2WqSyQsuIwt wRGuSMoDWMP39q6KEzictqa4RSmyPpZoEZ5NqMKis0ttpXNBObf4ISPpXBNS5Z8SWE3Y pC03ySij1nfgsVACjfgSYwyEmx0L9rYzdSP5sFUqh1rwPSe7bYLueV/2f1EfuuXUZRL5 2VjlKOKSuPncf4bdZIGxukIimlbhXczVRvK1tCTM1fyAsex7YawTtIP4jjQ2d8A6U7DM G+CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689859148; x=1690463948; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=h/l06Thy+NHfu7TknnfULLxlSCJBQgj4XzL7EfITjcY=; b=HjboD10t9b7OwXBu3lFejLq0mYun1Dtsxl/1Ek1writ/mpX2L7ynQ2laBmoDBKsM8W 7LDimSx3kPRgypy+iYFYldaVuuKUfkHhl7yxDr1kIWPM2HdYI9HttS9B66N/QNkxGlsk kpZStHGWEgIZdKptKL212qtRVTAnrzqH8EndRIV426jK3fApU1ONJcbGzvPX9v9Al/uR hi5srT/dASXPWCRp1bJmB5w/5DPw46Ez8VJ9b1KifvjKvwL/66ubuZkdMopNkHdH+9YD OqCvCgbUvoAOJHkIbM73SaAN7vBCG2sE8+fVaVFCmmF5tMJt6/EvoOFNW9cA0NcVaG7G OEeQ== X-Gm-Message-State: ABy/qLaC1/jVJglM+TGzZ9xdKIK3Umnm2S4MO8OOuj9cP73VJm33ROSR 9BLC8s3tZXiVM5C6x6HY6OAHtF0rgJE= X-Google-Smtp-Source: APBJJlFFl6+hJ2cmw7+hudLNl5dSUS/tXx5oGLC4Uq4UDPCtD1gJiVB735YHMstBsxZUiV72ggxBYQ== X-Received: by 2002:a0c:b2c5:0:b0:634:7c34:6c77 with SMTP id d5-20020a0cb2c5000000b006347c346c77mr17442085qvf.3.1689859147823; Thu, 20 Jul 2023 06:19:07 -0700 (PDT) Received: from hurd (dsl-159-145.b2b2c.ca. [66.158.159.145]) by smtp.gmail.com with ESMTPSA id d26-20020a0caa1a000000b0063631be090csm326713qvb.125.2023.07.20.06.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 06:19:07 -0700 (PDT) From: Maxim Cournoyer References: <87k0k4szm0.fsf@gmail.com> Date: Thu, 20 Jul 2023 09:19:06 -0400 In-Reply-To: <87k0k4szm0.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 29 Aug 2021 17:35:51 -0400") Message-ID: <87zg3qlnzp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: 2.86 X-Spam-Score: 2.86 X-Migadu-Queue-Id: D03EB3A042 X-TUID: p8dMrc5pylW9 Hi, Maxim Cournoyer writes: > 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: > > @@ -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 > > > The output is now annotated as: > > 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 > > And I don't have any mcron zombie process lying around, unless I'm > reading the ps output wrong. It's been a while and I haven't seen this problem myself in all this time; closing. Do reopen if you encounter it or better yet, have a reproducer for it. -- Thanks, Maxim