unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25688: services: ssh-daemon quits too early
@ 2017-02-11 14:17 ng0
  2017-02-11 14:40 ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: ng0 @ 2017-02-11 14:17 UTC (permalink / raw)
  To: 25688

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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-03-04 15:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-11 14:17 bug#25688: services: ssh-daemon quits too early ng0
2017-02-11 14:40 ` 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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).