yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #88497
[Bug 1965183] [NEW] ovn migration executes scripts from /tmp directory
Public bug reported:
Description of problem:
The /tmp are often mounted with noexec option for security reasons. The migration roles rely that scripts in /tmp/ can be executed.
Version-Release number of selected component (if applicable):
16.1
How reproducible:
Always
Steps to Reproduce:
1. Have /tmp mounted with noexec option
2. Run migration from ovs to ovn
3.
Actual results:
fatal: [tpa-vim-b-computecl-0]: FAILED! => {
"changed": true,
"cmd": "/tmp/clone-br-int.sh",
"delta": "0:00:00.001773",
"end": "2022-03-16 18:51:30.332449",
"invocation": {
"module_args": {
"_raw_params": "/tmp/clone-br-int.sh",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 126,
"start": "2022-03-16 18:51:30.330676",
"stderr": "/bin/sh: /tmp/clone-br-int.sh: Permission denied",
"stderr_lines": [
"/bin/sh: /tmp/clone-br-int.sh: Permission denied"
],
"stdout": "",
"stdout_lines": []
}
** Affects: neutron
Importance: Undecided
Assignee: Jakub Libosvar (libosvar)
Status: New
** Tags: ovn
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1965183
Title:
ovn migration executes scripts from /tmp directory
Status in neutron:
New
Bug description:
Description of problem:
The /tmp are often mounted with noexec option for security reasons. The migration roles rely that scripts in /tmp/ can be executed.
Version-Release number of selected component (if applicable):
16.1
How reproducible:
Always
Steps to Reproduce:
1. Have /tmp mounted with noexec option
2. Run migration from ovs to ovn
3.
Actual results:
fatal: [tpa-vim-b-computecl-0]: FAILED! => {
"changed": true,
"cmd": "/tmp/clone-br-int.sh",
"delta": "0:00:00.001773",
"end": "2022-03-16 18:51:30.332449",
"invocation": {
"module_args": {
"_raw_params": "/tmp/clone-br-int.sh",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 126,
"start": "2022-03-16 18:51:30.330676",
"stderr": "/bin/sh: /tmp/clone-br-int.sh: Permission denied",
"stderr_lines": [
"/bin/sh: /tmp/clone-br-int.sh: Permission denied"
],
"stdout": "",
"stdout_lines": []
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1965183/+subscriptions
Follow ups