--- Begin Message ---
Subject: |
services: ssh-daemon quits too early |
Date: |
Sat, 11 Feb 2017 14:17:40 +0000 |
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/
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#25688: services: ssh-daemon quits too early |
Date: |
Sun, 12 Feb 2017 14:14:12 +0000 |
Fixed by closing a bug where (locale-libcs) was blocking the locale
generation.
On 17-02-11 22:18:08, Ludovic Courtès wrote:
> ng0 <address@hidden> skribis:
>
> > 2017-02-11 13:55:46 Service dbus-system could not be started.
> > 2017-02-11 13:55:46 Service networking depends on dbus-system.
> > 2017-02-11 13:55:46 Service networking could not be started.
> > 2017-02-11 13:55:46 Service ssh-daemon depends on networking.
> > 2017-02-11 13:55:46 Service ssh-daemon could not be started.
>
> Looks like the root cause is the ‘dbus-system’ service (dbus-daemon)
> failed to start. Could you check if there are relevant messages from
> dbus-daemon in /var/log/messages or in the console?
>
> TIA!
>
> Ludo’.
--
ng0 -- https://www.inventati.org/patternsinthechaos/
--- End Message ---