From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: bug#33299: shepherd: Service ssh-daemon could not be started. Date: Wed, 7 Nov 2018 11:03:10 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------5605D2151F7A729B47E272C4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKKi4-00030K-AK for bug-guix@gnu.org; Wed, 07 Nov 2018 05:05:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKKhz-0001cT-Uh for bug-guix@gnu.org; Wed, 07 Nov 2018 05:05:15 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33911) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKKhr-0001Yy-Mb for bug-guix@gnu.org; Wed, 07 Nov 2018 05:05:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKKhq-0004nt-Dl for bug-guix@gnu.org; Wed, 07 Nov 2018 05:05:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKKgN-0002qo-1X for bug-guix@gnu.org; Wed, 07 Nov 2018 05:03:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKKg8-0000Wi-T9 for bug-guix@gnu.org; Wed, 07 Nov 2018 05:03:22 -0500 Received: from mx1.riseup.net ([198.252.153.129]:50222) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gKKg8-0000V3-DH for bug-guix@gnu.org; Wed, 07 Nov 2018 05:03:16 -0500 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 340CE1A0004 for ; Wed, 7 Nov 2018 02:03:15 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 51E10651B1 for ; Wed, 7 Nov 2018 02:03:13 -0800 (PST) Content-Language: en-US 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: 33299@debbugs.gnu.org This is a multi-part message in MIME format. --------------5605D2151F7A729B47E272C4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi This morning I started my GuixSD VM as usual. Openssh server was not running even though it was enabled and should=20 have been respawned. Hmm. Lucky for me SSH is not the only way into this system... From the host I got: $ ssh=C2=A0 sdb@localhost -p10022 ssh_exchange_identification: read: Connection reset by peer On the guest: $ grep -3 "ssh-daemon could not /var/log/messages Nov=C2=A0 7 07:19:30 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.366701] VFS:= Dquot-cache hash=20 table entries: 512 (order 0, 4096 bytes) Nov=C2=A0 7 07:19:30 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.367764] AppA= rmor: AppArmor=20 Filesystem Enabled Nov=C2=A0 7 07:19:30 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.368569] pnp:= PnP ACPI init Nov=C2=A0 7 07:19:31 localhost shepherd[1]: Service ssh-daemon could not = be=20 started. Nov=C2=A0 7 07:19:31 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.370291] pnp:= PnP ACPI: found 6=20 devices Nov=C2=A0 7 07:19:31 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.378960] cloc= ksource: acpi_pm:=20 mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns Nov=C2=A0 7 07:19:31 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.380434] NET:= Registered=20 protocol family 2 Herd said: $ cat sshd-stopped Status of ssh-daemon: =C2=A0 It is stopped. =C2=A0 It is enabled. =C2=A0 Provides (ssh-daemon). =C2=A0 Requires (syslogd). =C2=A0 Conflicts with (). =C2=A0 Will be respawned. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= <-- not true! Starting it yielded: $ cat sshd-start Service ssh-daemon has been started. How do I increase the verbosity of shepherd? I did not find anything=20 about that in the shepherd manual=20 . Is there a way to debug further? --=20 Cheers Swedebugia PS $ guix --version guix (GNU Guix) 1f44934fb6e2cefccbecd4fa347025349fa9ff76 (=3D0.15 --------------5605D2151F7A729B47E272C4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi

This morning I started my GuixSD VM as usual.

Openssh server was not running even though it was enabled and should have been respawned. Hmm.

Lucky for me SSH is not the only way into this system...

From the host I got:

$ ssh=C2=A0 sdb@localhost -p10022
ssh_exchange_identification: read: Connection reset by peer

On the guest:

$ grep -3 "ssh-daemon could not /var/log/messages
Nov=C2=A0 7 07:19:30 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.366701= ] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Nov=C2=A0 7 07:19:30 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.367764= ] AppArmor: AppArmor Filesystem Enabled
Nov=C2=A0 7 07:19:30 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.368569= ] pnp: PnP ACPI init
Nov=C2=A0 7 07:19:31 localhost shepherd[1]: Service ssh-daemon coul= d not be started.
Nov=C2=A0 7 07:19:31 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.370291= ] pnp: PnP ACPI: found 6 devices
Nov=C2=A0 7 07:19:31 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.378960= ] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
Nov=C2=A0 7 07:19:31 localhost vmunix: [=C2=A0=C2=A0=C2=A0 0.380434= ] NET: Registered protocol family 2

Herd said:

$ cat sshd-stopped
Status of ssh-daemon:
=C2=A0 It is stopped.
=C2=A0 It is enabled.
=C2=A0 Provides (ssh-daemon).
=C2=A0 Requires (syslogd).
=C2=A0 Conflicts with ().
=C2=A0 Will be respawned. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 <-- not true!

Starting it yielded:

$ cat sshd-start
Service ssh-daemon has been started.

How do I increase the verbosity of shepherd? I did not find anything about that in the shepherd manual.

Is there a way to debug further?

--=20
Cheers
Swedebugia
PS=20
$ guix --version
guix (GNU Guix) 1f44934fb6e2cefccbecd4fa347025349fa9ff76 (=3D0.15

--------------5605D2151F7A729B47E272C4--