GNU bug report logs - #24684
invalid command-line syntax to herd causes a kernel panic?

Previous Next

Package: guix;

Reported by: Caleb Ristvedt <caleb.ristvedt <at> cune.org>

Date: Thu, 13 Oct 2016 19:32:02 UTC

Severity: serious

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24684 in the body.
You can then email your comments to 24684 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#24684; Package guix. (Thu, 13 Oct 2016 19:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Caleb Ristvedt <caleb.ristvedt <at> cune.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 13 Oct 2016 19:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Caleb Ristvedt <caleb.ristvedt <at> cune.org>
To: bug-guix <at> gnu.org
Subject: invalid command-line syntax to herd causes a kernel panic?
Date: Thu, 13 Oct 2016 14:26:04 -0500
[Message part 1 (text/plain, inline)]
I should have read the man page before trying to use multiple commands at
once, but somehow it ended up causing a kernel panic?

Here's what I ran as root in tty0 (I think that's what it's called, it's
the thing I get to by pressing ctrl + alt + f1):

herd enable ntpd start ntpd

ntpd had been disabled because it kept immediately exiting, which it was
doing because I had another one running, which I had running because it was
originally disabled because it couldn't fix time errors of over 1000
seconds without the -g flag and so immediately exited every time and was
disabled by shepherd automatically. I don't know how relevant any of that
is.

On GuixSD
can't-see-the-version-number-right-now-because-it's-panicked-but-I-think-it's-the-latest-one.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#24684; Package guix. (Thu, 13 Oct 2016 20:04:02 GMT) Full text and rfc822 format available.

Message #8 received at 24684 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> we.make.ritual.n0.is>
To: Caleb Ristvedt <caleb.ristvedt <at> cune.org>, 24684 <at> debbugs.gnu.org
Subject: Re: bug#24684: invalid command-line syntax to herd causes a kernel
 panic?
Date: Thu, 13 Oct 2016 20:03:13 +0000
Hi,

many thanks again for finding this bug, this looks really important.

Caleb Ristvedt <caleb.ristvedt <at> cune.org> writes:

> I should have read the man page before trying to use multiple commands at
> once, but somehow it ended up causing a kernel panic?
>
> Here's what I ran as root in tty0 (I think that's what it's called, it's
> the thing I get to by pressing ctrl + alt + f1):
>
> herd enable ntpd start ntpd
>
> ntpd had been disabled because it kept immediately exiting, which it was
> doing because I had another one running, which I had running because it was
> originally disabled because it couldn't fix time errors of over 1000
> seconds without the -g flag and so immediately exited every time and was
> disabled by shepherd automatically. I don't know how relevant any of that
> is.
>
> On GuixSD
> can't-see-the-version-number-right-now-because-it's-panicked-but-I-think-it's-the-latest-one.

I can replicate this:

on my live-to-crash system in my network, running GuixSD on git commit
f803f775d244b4e3975ab42b9610d12b94f6e958

Screenshot the lazy way, cropped down to 1000xsomething:
https://quitter.se/notice/7658920




Severity set to 'serious' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Sun, 16 Oct 2016 13:52:02 GMT) Full text and rfc822 format available.

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 16 Oct 2016 13:53:01 GMT) Full text and rfc822 format available.

Notification sent to Caleb Ristvedt <caleb.ristvedt <at> cune.org>:
bug acknowledged by developer. (Sun, 16 Oct 2016 13:53:02 GMT) Full text and rfc822 format available.

Message #15 received at 24684-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Caleb Ristvedt <caleb.ristvedt <at> cune.org>
Cc: 24684-done <at> debbugs.gnu.org
Subject: Re: bug#24684: invalid command-line syntax to herd causes a kernel
 panic?
Date: Sun, 16 Oct 2016 15:52:43 +0200
Caleb Ristvedt <caleb.ristvedt <at> cune.org> skribis:

> I should have read the man page before trying to use multiple commands at
> once, but somehow it ended up causing a kernel panic?
>
> Here's what I ran as root in tty0 (I think that's what it's called, it's
> the thing I get to by pressing ctrl + alt + f1):
>
> herd enable ntpd start ntpd

Ouch!

Fixed in Shepherd commit 9161450cb800f09ba617f456df9d2ec55ebf242b.
I’d like to prepare a Shepherd release soon with this fix, sounds
worthy…

Thanks for your report!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 14 Nov 2016 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.