From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: Changqing Li <changqing.li@windriver.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][PATCH V3] add option -p for mkir command
Date: Sun, 16 Jan 2022 23:00:28 -0500 [thread overview]
Message-ID: <20220117040026.GA16879@gmail.com> (raw)
In-Reply-To: <20220114023911.23763-1-changqing.li@windriver.com>
The shortlog was missing "openvswitch:", so I added that locally and
pushed the change.
Cheers,
Bruce
In message: [meta-virtualization][PATCH V3] add option -p for mkir command
on 14/01/2022 Changqing Li wrote:
> From: Changqing Li <changqing.li@windriver.com>
>
> To avoid "cannot create directory '/var/log/openvswitch': File exists"
> when service is restart
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
> ...01-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch b/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch
> index f7ec3fa..8bda865 100644
> --- a/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch
> +++ b/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch
> @@ -96,7 +96,7 @@ index 74e5acb7f..39698f238 100644
> ExecStartPre=/bin/rm -f /run/openvswitch.useropts
> -ExecStartPre=-/bin/mkdir /var/run/openvswitch /var/log/openvswitch
> -ExecStartPre=-/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch
> -+ExecStartPre=-/bin/mkdir /run/openvswitch /var/log/openvswitch
> ++ExecStartPre=-/bin/mkdir -p /run/openvswitch /var/log/openvswitch
> +ExecStartPre=-/bin/chown ${OVS_USER_ID} /run/openvswitch /var/log/openvswitch
> ExecStartPre=/bin/sh -c '/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts'
> ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi'
> --
> 2.17.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7001): https://lists.yoctoproject.org/g/meta-virtualization/message/7001
> Mute This Topic: https://lists.yoctoproject.org/mt/88413091/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
prev parent reply other threads:[~2022-01-17 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-14 2:39 [meta-virtualization][PATCH V3] add option -p for mkir command changqing.li
2022-01-17 4:00 ` Bruce Ashfield [this message]
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=20220117040026.GA16879@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=changqing.li@windriver.com \
--cc=meta-virtualization@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;
as well as URLs for NNTP newsgroup(s).