From: Uladzimir Bely <ubely@ilbers.de>
To: "Bezdeka, Florian" <florian.bezdeka@siemens.com>,
"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: Re: [PATCH] meta-test: Disable sshd socket activation for CI purpose
Date: Thu, 06 Jul 2023 07:13:33 +0300 [thread overview]
Message-ID: <bf9bd3015d62e2eb661884a7a1e5a9802487e650.camel@ilbers.de> (raw)
In-Reply-To: <be59e90fa25237cad5e9f8c55a48c26262fe2cd4.camel@siemens.com>
On Wed, 2023-07-05 at 09:13 +0000, Bezdeka, Florian wrote:
> On Wed, 2023-07-05 at 06:48 +0200, Uladzimir Bely wrote:
> > +
> > + # Disable socket activation for ssh server
> > + install -D -m 644 ${WORKDIR}/99-disable-ssh-socket.preset
> > ${D}/lib/systemd/system-preset/99-disable-ssh-socket.preset
>
>
> Two questions:
>
> a) Why ${D}/lib, I would have used ${D}/usr/lib, but
>
When look at openssh-server package file list (e.g.
https://packages.debian.org/ru/sid/armhf/openssh-server/filelist ) we
can see it installs .service and .socket files to /lib/systemd. I find
it reasonable to install .preset file to the similar location.
> b) Isn't that something "device" specific or a
> "customization"?Shouldn't go it to /etc/systemd instead?
>
It may be placed to /etc/systemd. But in this case I'm not sure that
preset would be removed together with "isar-ci-ssh-setup" package, if
user wants to do it.
I'm not sure if this is really something device-specific, but at least
we quite often observed this on qemu targets in CI.
> Florian
next prev parent reply other threads:[~2023-07-06 4:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-05 4:48 Uladzimir Bely
2023-07-05 9:13 ` Bezdeka, Florian
2023-07-06 4:13 ` Uladzimir Bely [this message]
2023-07-11 6:40 ` Uladzimir Bely
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=bf9bd3015d62e2eb661884a7a1e5a9802487e650.camel@ilbers.de \
--to=ubely@ilbers.de \
--cc=florian.bezdeka@siemens.com \
--cc=isar-users@googlegroups.com \
/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