From: srijan.nandi@gmail.com
To: yocto@lists.yoctoproject.org
Subject: Re: #yocto systemd not able to start sshd after a reboot
Date: Mon, 21 Sep 2020 05:17:53 -0700 [thread overview]
Message-ID: <13648.1600690673184412823@lists.yoctoproject.org> (raw)
In-Reply-To: <CAGAf8LyoLx45em3it8yAaB7WqDJWZLuBBXvLFLvWRLD-4cFeaw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
>
> Seems that some leftovers from System V still reside in YOCTO...
> Correct???
>
Not sure about that.
The problem I faced was because there was a sshd.socket that had the following line in it. The sshd.socket comes with openssh.
Conflicts=sshd.service
So I had two options. either to add the ExecStartPre in the sshd.service file or to remove the Conflicts line in sshd.socket.
I choose to remove the Conflicts line and add the following in the sshd.socket file.
After=network.target
Before=sshd.service
Thanks and Regards,
-=Srijan Nandi
[-- Attachment #2: Type: text/html, Size: 719 bytes --]
next prev parent reply other threads:[~2020-09-21 12:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-18 15:29 #yocto systemd not able to start sshd after a reboot srijan.nandi
2020-09-18 16:37 ` [yocto] " Khem Raj
2020-09-18 18:04 ` srijan.nandi
2020-09-19 3:10 ` [yocto] " Zoran
2020-09-19 13:12 ` srijan.nandi
2020-09-19 13:49 ` [yocto] " Zoran
2020-09-21 12:17 ` srijan.nandi [this message]
2020-09-22 6:49 ` Khem Raj
2020-09-21 13:22 ` Zoran
2020-09-21 17:09 ` srijan.nandi
2020-09-27 10:00 ` [yocto] " Zoran
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=13648.1600690673184412823@lists.yoctoproject.org \
--to=srijan.nandi@gmail.com \
--cc=yocto@lists.yoctoproject.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox