From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25688: services: ssh-daemon quits too early Date: Sat, 11 Feb 2017 15:40:38 +0100 Message-ID: <878tpc3i55.fsf@gnu.org> References: <20170211141740.thdgjg5wmyok77kw@wasp> 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]:55144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccYrK-0001Ta-RW for bug-guix@gnu.org; Sat, 11 Feb 2017 09:41:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccYrG-0001td-ST for bug-guix@gnu.org; Sat, 11 Feb 2017 09:41:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37223) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ccYrG-0001tZ-Ot for bug-guix@gnu.org; Sat, 11 Feb 2017 09:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ccYrG-0003k3-G8 for bug-guix@gnu.org; Sat, 11 Feb 2017 09:41:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170211141740.thdgjg5wmyok77kw@wasp> (ng0's message of "Sat, 11 Feb 2017 14:17:40 +0000") 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: ng0 Cc: 25688@debbugs.gnu.org ng0 skribis: > I have my openssh-service configured like this (not exactly, but it > serves an example well enough to not expose too much): > > (service openssh-service-type > (openssh-configuration > (port-number 2200) > (password-authentication? #t) > (permit-root-login 'without-password))) > > Now, when I reconfigure the system, ssh-daemon is started and I can ssh i= n. > When I reboot and try to ssh into the machine again, I see ssh-daemon is > stopped and I can't log in from a remote machine. > > The issue seems to be that network-service is taking too long to come up > and therefore ssh-service is stopped at system boot similar to something > like this: > > * starting ssh-daemon-service > * ssh-daemon depends on networking-service > * stopping ssh-daemon-service Could you send the relevant part of /var/log/shepherd.log, which shows messages corresponding to the startup of the =E2=80=98networking=E2=80=99 a= nd =E2=80=98ssh-daemon=E2=80=99 services? TIA, Ludo=E2=80=99.