From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tonton Subject: bug#32336: herd stop mcron yields instant shutdown of computer Date: Wed, 1 Aug 2018 01:51:31 +0200 Message-ID: <20180801015131.6d6e5fad@merlin.browniehive.net> References: <20180731205911.111b62de@merlin.browniehive.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/tsu0fzuNWdeFv=DZkaLGCNd"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkeQv-00032v-Ds for bug-guix@gnu.org; Tue, 31 Jul 2018 19:52:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkeQs-0002Gl-Bh for bug-guix@gnu.org; Tue, 31 Jul 2018 19:52:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkeQs-0002Gh-41 for bug-guix@gnu.org; Tue, 31 Jul 2018 19:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fkeQr-0003uO-Tw for bug-guix@gnu.org; Tue, 31 Jul 2018 19:52:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32336@debbugs.gnu.org --Sig_/tsu0fzuNWdeFv=DZkaLGCNd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I attempted to reproduce the bug in a minimal-ish vm. First I ran guix pull --commit=3D48d7ac175f69fea587eaa0358eddb5c76205e8ad (the same as the previo= us 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=3D/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. --Sig_/tsu0fzuNWdeFv=DZkaLGCNd Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEJpQ8ER/dPhCuYhy5z+UMpbuBoZAFAltg9gMACgkQz+UMpbuB oZD8Mg//d9vJ89Aaiwk0Otu4pSH+lVyM3Rt8hsb9smHaDmkHedNw0iJSZ2hWBLat o4OSTxciPMPZ8kNCBvenYCAr1wFqQ+V4m94oCNNxYUYvPP//ly9eueeF024uqDXD owF3BLwCaxdaItOfVfJb6EF2VCDZiYgcur5K9wUiylBujA5slRxdoCrqqkXDK9V7 5XpKwAA+ayxyxWup+TcKGnSFEHZR0XizReaAZJUPHK//BbHiVFUol3ZAxIpaMpHd 9eeMW74xcB3NC1LD20bPFZCAabbgqqGNxmh2vrzBbR0HEXIXYzwcIxqJ8wEcpbPK OSUf1+ciuxY1KKboJCeVUb3Y4N+BljRmnkqvtD1uKP3bXg9LFq7ItSQ2M/XSq7Xs GDVN+cm0sHis8pSVX/YaHZl5oo+WqKM3U4kiPAE0GTp2aZg+vij0Nv0KZEvBj+F1 RihFwcVOQtWMS2KQMxIYvFtbbsLFgrxbaU6mxyMCxmqomoxDaMmH2an0sg39B0m3 gTrgfKOqqfadA+W0mx/otWuCwKG9puSROlhqyRRHmvBwrW5QWOErksO5Cv0kzjte V6LHn1COY2N7fcn/LtylzAjKNFTbdsJywba6GnKae+DwoKxbz6uklUYDryjUDoYv 6iYvNugr027Cv/IfccuhG+Qny6Oa9BK82JpOaKNYx6UrA8yEu3w= =oEmM -----END PGP SIGNATURE----- --Sig_/tsu0fzuNWdeFv=DZkaLGCNd--