From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: ssh-daemon service fails to auto start Date: Mon, 29 Jan 2018 18:00:01 +0100 Message-ID: <87wp00k3ce.fsf@gnu.org> References: <9565fcd0-48eb-aac8-3c30-b3477f3d7f55@uni-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egCn0-0006rH-8v for help-guix@gnu.org; Mon, 29 Jan 2018 12:00:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egCmt-0002ix-Qb for help-guix@gnu.org; Mon, 29 Jan 2018 12:00:13 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:51034) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1egCmt-0002iJ-KJ for help-guix@gnu.org; Mon, 29 Jan 2018 12:00:07 -0500 In-Reply-To: <9565fcd0-48eb-aac8-3c30-b3477f3d7f55@uni-bremen.de> (Martin Castillo's message of "Sat, 27 Jan 2018 23:08:23 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Martin Castillo Cc: help-guix@gnu.org Hi Martin, Martin Castillo skribis: > i have a problem with the ssh-service. I want it to autostart on system > boot. > > my configuration is (similar to) desk,nossh.scm. I tried this config in =E2=80=98guix system vm=E2=80=99 and sshd is automat= ically started on boot, as can be seen with =E2=80=98herd status ssh-daemon=E2=80= =99 etc. Does this config work for you in =E2=80=98guix system vm=E2=80=99? > Can someone with more insight tell me, why sshd won't autostart? > shepherd tells me only 'ssh-daemon could not be started'. Thank you > shepherd, very helpful! :-) Could you check /var/log/shepherd.log? It will tell you which services, besides sshd, failed to start. =E2=80=98ssh-daemon=E2=80=99 depends only on =E2=80=98syslogd=E2=80=99, so = as long as =E2=80=98syslogd=E2=80=99 is started, =E2=80=98ssh-daemon=E2=80=99 should start. You can view the dependency graph of Shepherd services with: guix system shepherd-graph config.scm | dot -Tpdf > graph.pdf HTH! Ludo=E2=80=99.