all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: 25688@debbugs.gnu.org
Subject: bug#25688: services: ssh-daemon quits too early
Date: Sat, 11 Feb 2017 14:17:40 +0000	[thread overview]
Message-ID: <20170211141740.thdgjg5wmyok77kw@wasp> (raw)

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/

             reply	other threads:[~2017-02-11 14:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-11 14:17 ng0 [this message]
2017-02-11 14:40 ` bug#25688: services: ssh-daemon quits too early Ludovic Courtès
2017-02-11 15:00   ` ng0
2017-02-11 21:18     ` Ludovic Courtès
2017-02-12 14:14       ` ng0
2017-02-12 16:17         ` Ludovic Courtès
2017-02-12 16:23           ` ng0
2017-03-02 21:58     ` Leo Famulari
2017-03-02 22:20       ` ng0
2017-03-03 11:36         ` ng0
2017-03-04 16:47           ` ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170211141740.thdgjg5wmyok77kw@wasp \
    --to=contact.ng0@cryptolab.net \
    --cc=25688@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.