From: ng0 <contact.ng0@cryptolab.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 25688@debbugs.gnu.org
Subject: bug#25688: services: ssh-daemon quits too early
Date: Sat, 11 Feb 2017 15:00:13 +0000 [thread overview]
Message-ID: <20170211150013.6jrpkrh5how4k2e6@wasp> (raw)
In-Reply-To: <878tpc3i55.fsf@gnu.org>
On 17-02-11 15:40:38, Ludovic Courtès wrote:
> ng0 <contact.ng0@cryptolab.net> 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 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
>
> Could you send the relevant part of /var/log/shepherd.log, which shows
> messages corresponding to the startup of the ‘networking’ and
> ‘ssh-daemon’ services?
>
> TIA,
> Ludo’.
This is the ~120 lines of today. It reminded me of the real issue, which
is dbus could not be started, which very likely could be the reason for
the GNOME session crashing bug I reported.
2017-02-11 10:41:48 Service root has been started.
2017-02-11 10:41:50 starting services...
2017-02-11 10:41:50 Service root-file-system has been started.
2017-02-11 10:41:50 waiting for udevd...
2017-02-11 10:41:51 Service udev has been started.
2017-02-11 10:41:51 Service swap-/dev/sda3 has been started.
2017-02-11 10:41:51 Service user-file-systems has been started.
2017-02-11 10:41:53 Service file-system-/boot has been started.
2017-02-11 10:41:55 Service file-system-/media/pub has been started.
2017-02-11 10:41:55 Service file-system-/dev/pts has been started.
2017-02-11 10:41:55 Service file-system-/dev/shm has been started.
2017-02-11 10:41:55 Service file-system-/gnu/store has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/cpuset has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/cpu has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/cpuacct has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/memory has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/devices has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/freezer has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/blkio has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/perf_event has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/hugetlb has been started.
2017-02-11 10:41:55 Service file-system-/run/systemd has been started.
2017-02-11 10:41:55 Service file-system-/run/user has been started.
2017-02-11 10:41:55 Service file-system-/sys/fs/cgroup/elogind has been started.
2017-02-11 10:41:55 Service file-systems has been started.
2017-02-11 10:41:55 Service user-processes has been started.
2017-02-11 10:41:55 Service host-name has been started.
2017-02-11 10:41:55 Service user-homes could not be started.
2017-02-11 10:41:56 Service nscd has been started.
2017-02-11 10:41:56 Service guix-daemon has been started.
2017-02-11 10:41:57 Service urandom-seed has been started.
2017-02-11 10:41:57 Service syslogd has been started.
2017-02-11 10:41:58 Service loopback has been started.
2017-02-11 10:41:58 Service term-tty6 has been started.
2017-02-11 10:41:58 Service term-tty5 has been started.
2017-02-11 10:41:58 Service term-tty4 has been started.
2017-02-11 10:41:58 Service term-tty3 has been started.
2017-02-11 10:41:58 Service term-tty2 has been started.
2017-02-11 10:41:58 Service term-tty1 has been started.
2017-02-11 10:42:04 Service console-font-tty1 has been started.
2017-02-11 10:42:05 Service console-font-tty2 has been started.
2017-02-11 10:42:05 Service console-font-tty3 has been started.
2017-02-11 10:42:05 Service console-font-tty4 has been started.
2017-02-11 10:42:05 Service console-font-tty5 has been started.
2017-02-11 10:42:05 Service console-font-tty6 has been started.
2017-02-11 10:42:10 Service dbus-system could not be started.
2017-02-11 10:42:10 Service networking depends on dbus-system.
2017-02-11 10:42:10 Service networking could not be started.
2017-02-11 10:42:10 Service ssh-daemon depends on networking.
2017-02-11 10:42:10 Service ssh-daemon could not be started.
2017-02-11 10:42:11 Service console-keymap has been started.
2017-02-11 10:42:11 Service tor has been started.
2017-02-11 10:42:12 Service dbus-system has been started.
2017-02-11 10:42:12 Service upower-daemon has been started.
2017-02-11 10:42:12 Service networking has been started.
2017-02-11 10:42:13 Service avahi-daemon has been started.
2017-02-11 10:42:13 Service display-manager has been started.
2017-02-11 13:50:08 Respawning term-tty2.
2017-02-11 13:50:08 Service term-tty2 has been started.
2017-02-11 13:51:21 Service ssh-daemon has been started.
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@2017-02-11 13:55:25 Service root has been started.
2017-02-11 13:55:27 starting services...
2017-02-11 13:55:27 Service root-file-system has been started.
2017-02-11 13:55:27 waiting for udevd...
2017-02-11 13:55:27 Service udev has been started.
2017-02-11 13:55:27 Service swap-/dev/sda3 has been started.
2017-02-11 13:55:27 Service user-file-systems has been started.
2017-02-11 13:55:30 Service file-system-/boot has been started.
2017-02-11 13:55:31 Service file-system-/media/pub has been started.
2017-02-11 13:55:31 Service file-system-/dev/pts has been started.
2017-02-11 13:55:31 Service file-system-/dev/shm has been started.
2017-02-11 13:55:31 Service file-system-/gnu/store has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/cpuset has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/cpu has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/cpuacct has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/memory has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/devices has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/freezer has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/blkio has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/perf_event has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/hugetlb has been started.
2017-02-11 13:55:32 Service file-system-/run/systemd has been started.
2017-02-11 13:55:32 Service file-system-/run/user has been started.
2017-02-11 13:55:32 Service file-system-/sys/fs/cgroup/elogind has been started.
2017-02-11 13:55:32 Service file-systems has been started.
2017-02-11 13:55:32 Service user-processes has been started.
2017-02-11 13:55:32 Service host-name has been started.
2017-02-11 13:55:32 Service user-homes could not be started.
2017-02-11 13:55:33 Service nscd has been started.
2017-02-11 13:55:33 Service guix-daemon has been started.
2017-02-11 13:55:33 Service urandom-seed has been started.
2017-02-11 13:55:34 Service syslogd has been started.
2017-02-11 13:55:34 Service loopback has been started.
2017-02-11 13:55:34 Service term-tty6 has been started.
2017-02-11 13:55:34 Service term-tty5 has been started.
2017-02-11 13:55:34 Service term-tty4 has been started.
2017-02-11 13:55:34 Service term-tty3 has been started.
2017-02-11 13:55:34 Service term-tty2 has been started.
2017-02-11 13:55:34 Service term-tty1 has been started.
2017-02-11 13:55:39 Service console-font-tty1 has been started.
2017-02-11 13:55:41 Service console-font-tty2 has been started.
2017-02-11 13:55:41 Service console-font-tty3 has been started.
2017-02-11 13:55:41 Service console-font-tty4 has been started.
2017-02-11 13:55:41 Service console-font-tty5 has been started.
2017-02-11 13:55:41 Service console-font-tty6 has been started.
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.
2017-02-11 13:55:46 Service console-keymap has been started.
2017-02-11 13:55:46 Service tor has been started.
2017-02-11 13:55:47 Service dbus-system has been started.
2017-02-11 13:55:47 Service upower-daemon has been started.
2017-02-11 13:55:47 Service networking has been started.
2017-02-11 13:55:49 Service avahi-daemon has been started.
2017-02-11 13:55:49 Service display-manager has been started.
2017-02-11 14:02:47 Service ssh-daemon is not running.
2017-02-11 14:02:48 Service ssh-daemon has been started.
The last 2 lines above is when I issued locally 'sudo herd restart
ssh-daemon'.
--
ng0 -- https://www.inventati.org/patternsinthechaos/
next prev parent reply other threads:[~2017-02-11 14:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=20170211150013.6jrpkrh5how4k2e6@wasp \
--to=contact.ng0@cryptolab.net \
--cc=25688@debbugs.gnu.org \
--cc=ludo@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.