From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 36838@debbugs.gnu.org
Cc: Leo Prikler <leo.prikler@student.tugraz.at>
Subject: bug#36838: mcron leaves zombies around
Date: Sun, 29 Aug 2021 17:35:51 -0400 [thread overview]
Message-ID: <87k0k4szm0.fsf@gmail.com> (raw)
In-Reply-To: <ddd8a76f4ca562f04d997f31a4e95f61eb55b8df.camel@student.tugraz.at> (Leo Prikler's message of "Tue, 24 Aug 2021 12:12:52 +0200")
Hi Leo,
Leo Prikler <leo.prikler@student.tugraz.at> 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
next prev parent reply other threads:[~2021-08-29 21:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-29 15:39 bug#36838: mcron leaves zombies around Robert Vollmert
2021-08-24 3:55 ` Maxim Cournoyer
2021-08-24 10:12 ` Leo Prikler
2021-08-29 21:35 ` Maxim Cournoyer [this message]
2023-07-20 13:19 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0k4szm0.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=36838@debbugs.gnu.org \
--cc=leo.prikler@student.tugraz.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).