From: Tonton <tonton@riseup.net>
To: 32336@debbugs.gnu.org
Subject: bug#32336: herd stop mcron yields instant shutdown of computer
Date: Tue, 31 Jul 2018 20:59:11 +0200 [thread overview]
Message-ID: <20180731205911.111b62de@merlin.browniehive.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 3076 bytes --]
Triggering action:
from bash: sudo herd stop mcron
Result: Exactly the same behaviour as when I call halt/poweroff/reboot from
bash. Except one of the messages clearly seen midscreen on the TTY is
shepherds message that mcron has been stopped. It then scrolls off as the
system is doing it's regular shutdown routine. And reboots, ending at the
normal login screen.
Expected result: mcron service stopped with maybe a message to stdout or log.
System still running.
Guix pull was at:
Generation 9 Jul 28 2018 22:59:26
guix 48d7ac1
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: origin/master
commit: 48d7ac175f69fea587eaa0358eddb5c76205e8ad
The configuration on the host at the time can be found at:
https://notabug.org/thomassgn/guixsd-configuration/src/e8404bd617547b41d57bceaaa880ca8109360e03/config.scm
(I'm guessing most of it can be stripped out, I'll see if I can reproduce in
a minimal os)
I was implementing the battery-check job for mcron (line 71). Which I know
does not work as is in the config above. It has since been improved.
Here is /var/log/messages around the time (removed ip's and some ntpd lines
because ip's):
750117:Jul 31 18:24:55 localhost shepherd[1]: Service mcron has been started.
750118:Jul 31 18:24:55 localhost shepherd[1]: Service mcron has been disabled.
750119:Jul 31 18:24:55 localhost shepherd[1]: (Respawning too fast.)
750172:Jul 31 18:37:42 localhost shepherd[1]: Enabled service mcron.
750173:Jul 31 18:37:42 localhost shepherd[1]: Service mcron has been started.
750174:Jul 31 18:37:42 localhost shepherd[1]: Respawning mcron.
750175:Jul 31 18:37:42 localhost shepherd[1]: Service mcron has been started.
750176:Jul 31 18:37:42 localhost shepherd[1]: Respawning mcron.
750177:Jul 31 18:37:42 localhost shepherd[1]: Service mcron has been started.
750178:Jul 31 18:38:20 localhost shepherd[1]: [No documentation.]
750203:Jul 31 18:43:54 localhost shepherd[1]: Service mcron has been stopped.
750204:Jul 31 18:43:54 localhost shepherd[1]: Exiting shepherd...
750205:Jul 31 18:43:54 localhost shepherd[1]: Service console-font-tty2 has been stopped.
750206:Jul 31 18:43:54 localhost shepherd[1]: Service term-tty2 has been stopped.
750207:Jul 31 18:43:54 localhost shepherd[1]: Service cups has been stopped.
750208:Jul 31 18:43:54 localhost shepherd[1]: Service rpcbind-daemon has been stopped.
750209:Jul 31 18:43:54 localhost avahi-daemon[833]: Got SIGTERM, quitting.
750210:Jul 31 18:43:54 localhost shepherd[1]: Service avahi-daemon has been stopped.
750211:Jul 31 18:43:54 localhost avahi-daemon[833]: Leaving mDNS multicast group on interface wlp0s20u2.IPv6 with address
750212:Jul 31 18:43:54 localhost avahi-daemon[833]: Leaving mDNS multicast group on interface wlp0s20u2.IPv4 with address
750213:Jul 31 18:43:54 localhost ntpd[827]: ntpd exiting on signal 15 (Terminated)
750218:Jul 31 18:43:54 localhost shepherd[1]: Service ntpd has been stopped.
750219:Jul 31 18:43:54 localhost connmand[826]: Terminating
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2018-07-31 19:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-31 18:59 Tonton [this message]
[not found] ` <handler.32336.B.153306360012817.ack@debbugs.gnu.org>
2018-07-31 23:51 ` bug#32336: herd stop mcron yields instant shutdown of computer Tonton
2018-08-21 10:19 ` Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180731205911.111b62de@merlin.browniehive.net \
--to=tonton@riseup.net \
--cc=32336@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.