all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tonton <tonton@riseup.net>
To: 32336@debbugs.gnu.org
Subject: bug#32336: herd stop mcron yields instant shutdown of computer
Date: Wed, 1 Aug 2018 01:51:31 +0200	[thread overview]
Message-ID: <20180801015131.6d6e5fad@merlin.browniehive.net> (raw)
In-Reply-To: <handler.32336.B.153306360012817.ack@debbugs.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]

I attempted to reproduce the bug in a minimal-ish vm. First I ran guix pull
--commit=48d7ac175f69fea587eaa0358eddb5c76205e8ad (the same as the previous
generation where this occured) Then I built the following config as a vm:

(add-to-load-path "/home/ton/guixsd/modules/")
(setenv "GUIX_PACKAGE_PATH" "/home/ton/guixsd/modules/:$GUIX_PACKAGE_PATH")
(use-modules (gnu)
             (gnu system)
             (gnu tests)
             (guix monads)
             (guix store)
             (ice-9 rdelim)
             (srfi srfi-1))

(use-service-modules networking mcron)

(use-package-modules search)

(define updatedb-job
  #~(job '(next-hour '(3))
         (lambda ()
           (execl (string-append #$findutils "/bin/updatedb")
                  "updatedb"
                  "--prunepaths=/tmp /var/tmp /gnu/store"))
         "Updatedb!"))

(define %mcron-os
  (simple-operating-system
   (dhcp-client-service)
   (mcron-service (list updatedb-job))))

%mcron-os

When booted I log in as root, check mcron is running, then stop it. And it
behaves as expected.

So, as of now I have not been able to reproduce my own bug. I experienced it
twice some hours ago, but after running a guix pull and a reconfigure it is
gone AFAIK.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2018-07-31 23:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-31 18:59 bug#32336: herd stop mcron yields instant shutdown of computer Tonton
     [not found] ` <handler.32336.B.153306360012817.ack@debbugs.gnu.org>
2018-07-31 23:51   ` Tonton [this message]
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=20180801015131.6d6e5fad@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.