commit 51e64a296ea0633a499ac486be29a4d828b47b4f
Author: Jakub Libosvar <email address hidden>
Date: Wed Mar 16 16:40:21 2022 -0400
ovn migration: Don't use executables in /tmp/
It's a common practice to have /tmp/ mounted separately with noexec
option. This effectively means no scripts can be executed from the
filesystem mounted to /tmp.
This patch explicitly calls sh binary to execute scripts from /tmp and
removes the executable flag from the scripts.
Closes-Bug: #1965183
Change-Id: I2f9cd67979a8a75848fcdd7a8c3bb56dd3590473
Signed-off-by: Jakub Libosvar <email address hidden>
(cherry picked from commit 0529ccdf71dcd093a80180097eeaa5d7cb5e15fb)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/834712 /opendev. org/openstack/ neutron/ commit/ 51e64a296ea0633 a499ac486be29a4 d828b47b4f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 51e64a296ea0633 a499ac486be29a4 d828b47b4f
Author: Jakub Libosvar <email address hidden>
Date: Wed Mar 16 16:40:21 2022 -0400
ovn migration: Don't use executables in /tmp/
It's a common practice to have /tmp/ mounted separately with noexec
option. This effectively means no scripts can be executed from the
filesystem mounted to /tmp.
This patch explicitly calls sh binary to execute scripts from /tmp and
removes the executable flag from the scripts.
Closes-Bug: #1965183
Change-Id: I2f9cd67979a8a7 5848fcdd7a8c3bb 56dd3590473 3a80180097eeaa5 d7cb5e15fb)
Signed-off-by: Jakub Libosvar <email address hidden>
(cherry picked from commit 0529ccdf71dcd09