From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Brant Gardner" Subject: bug#34580: Service ssh-daemon could not be started Date: Sat, 12 Oct 2019 07:09:51 -0500 Message-ID: References: <20190219212126.GA2371@jurong> <87pnjqm809.fsf@gnu.org> <6d672221-0e2f-40cd-b129-1f893fe13472@www.fastmail.com> <87o8z6kclh.fsf@gnu.org> <75efee63-c5e4-4d7f-aec2-e1afa3a8ba00@www.fastmail.com> <87pnjkzrca.fsf@gnu.org> <754a6968-2d9e-431d-a545-7580fd81b7db@www.fastmail.com> <87impctss7.fsf@gnu.org> <2dad64c4-a48b-4661-97dc-3804e2aaf03c@www.fastmail.com> <87o8ynpp0r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50744) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJGEh-0003St-TF for bug-guix@gnu.org; Sat, 12 Oct 2019 08:11:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJGEg-00029F-MK for bug-guix@gnu.org; Sat, 12 Oct 2019 08:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52007) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJGEg-000294-Ir for bug-guix@gnu.org; Sat, 12 Oct 2019 08:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJGEg-0001YX-BV for bug-guix@gnu.org; Sat, 12 Oct 2019 08:11:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87o8ynpp0r.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 34580@debbugs.gnu.org Well, now that I actually test it - yes. But I said it had not because = the 'herd status ssh-daemon' message indicated that it isn't running: root@janus ~# herd status ssh-daemon Status of ssh-daemon: It is stopped. It is enabled. Provides (ssh-daemon). Requires (syslogd loopback). Conflicts with (). Will be respawned. Is this maybe a side effect of strace being involved? -- Brant Gardner On Fri, Oct 11, 2019, at 05:14, Ludovic Court=C3=A8s wrote: > Hi Brant, >=20 > Thanks for sending the log! >=20 > "Brant Gardner" skribis: >=20 > > 284 09:31:59 socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) =3D 4 <0.= 000013> > > 284 09:31:59 connect(4, {sa_family=3DAF_UNIX, sun_path=3D"/dev/log= "}, 110) =3D 0 <0.000014> > > 284 09:31:59 sendto(4, "<38>Oct 9 09:31:59 sshd[284]: Server list= ening on 0.0.0.0 port 22.", 67, MSG_NOSIGNAL, NULL, 0) =3D 67 <3.103979>= > > 284 09:32:02 close(4) =3D 0 <0.000016> > > 284 09:32:02 socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP) =3D 4 <0.0= 00024> > > 284 09:32:02 fcntl(4, F_GETFL) =3D 0x2 (flags O_RDWR) <0.00= 0011> > > 284 09:32:02 fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) =3D 0 <0.000011>= > > 284 09:32:02 fcntl(4, F_SETFD, FD_CLOEXEC) =3D 0 <0.000011> > > 284 09:32:02 setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) =3D 0= <0.000011> > > 284 09:32:02 setsockopt(4, SOL_IPV6, IPV6_V6ONLY, [1], 4) =3D 0 <0= .000011> > > 284 09:32:02 bind(4, {sa_family=3DAF_INET6, sin6_port=3Dhtons(22),= sin6_flowinfo=3Dhtonl(0), inet_pton(AF_INET6, "::", &sin6_addr), sin6_s= cope_id=3D0}, 28) =3D 0 <0.000014> > > 284 09:32:02 listen(4, 128) =3D 0 <0.000012> > > 284 09:32:02 getpid() =3D 284 <0.000011> > > 284 09:32:02 socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) =3D 5 <0.= 000013> > > 284 09:32:02 connect(5, {sa_family=3DAF_UNIX, sun_path=3D"/dev/log= "}, 110) =3D 0 <0.000014> > > 284 09:32:02 sendto(5, "<38>Oct 9 09:32:02 sshd[284]: Server list= ening on :: port 22.", 62, MSG_NOSIGNAL, NULL, 0) =3D 62 <4.195488> > > 284 09:32:07 close(5) =3D 0 <0.000019> >=20 > I=E2=80=99m under the impression that sshd successfully start this tim= e, didn=E2=80=99t it? >=20 > Thanks, > Ludo=E2=80=99. >