commit ca3e3bc49aac4f5d55ca81d41efd92e0a03b85e6
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/ +/834609 /opendev. org/openstack/ neutron/ commit/ ca3e3bc49aac4f5 d55ca81d41efd92 e0a03b85e6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit ca3e3bc49aac4f5 d55ca81d41efd92 e0a03b85e6
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