From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#25688: services: ssh-daemon quits too early Date: Sat, 11 Feb 2017 14:17:40 +0000 Message-ID: <20170211141740.thdgjg5wmyok77kw@wasp> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccYU6-0003Ik-8s for bug-guix@gnu.org; Sat, 11 Feb 2017 09:17:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccYU3-0005Ff-3f for bug-guix@gnu.org; Sat, 11 Feb 2017 09:17:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ccYU2-0005Fb-Vu for bug-guix@gnu.org; Sat, 11 Feb 2017 09:17:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ccYU2-0002zu-Qp for bug-guix@gnu.org; Sat, 11 Feb 2017 09:17:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccYT3-0002b1-LG for bug-guix@gnu.org; Sat, 11 Feb 2017 09:16:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccYT0-0005Ak-Ej for bug-guix@gnu.org; Sat, 11 Feb 2017 09:16:01 -0500 Received: from perdizione.investici.org ([94.23.50.208]:25326) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ccYT0-0005Ae-4l for bug-guix@gnu.org; Sat, 11 Feb 2017 09:15:58 -0500 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 3C061120F71 for ; Sat, 11 Feb 2017 14:15:56 +0000 (UTC) Content-Disposition: inline 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: 25688@debbugs.gnu.org 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 in. 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 some more services started, networking finally comes up while tor and others have waited for networking to come up, but ssh-daemon is stopped and doesn't wait for networking. This system is currently on commit 883aab6462c49d4f4846a6f22168325e70227663 with no extra additions. -- ng0 -- https://www.inventati.org/patternsinthechaos/