| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
H404 - multi line docstring should start with a summary.
Change-Id: I2099e1ee81ff9657f7a07401b8e8f3327d03bdbd
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Python's readlink() implementation doesn't stop at '\0' when reading
file path. Thus after dnsmasq upgrade, it may return something like
'/usr/sbin/dnsmasq\03453 (deleted)', while C's or Shell's readlink()
return '/usr/sbin/dnsmasq'. This patch fixes this problem by cutting
the readlink() results with '\0', so that KillFilter could get correct
path.
Bug 1179793
Change-Id: I7354941e0508e019c8c9b63b87ad39f52ccb51ca
|
|
|
|
|
|
|
|
|
|
|
|
| |
As part of the convergence effort between oslo-rootwrap and
quantum-rootwrap, import stylistic improvements introduced
in quantum-rootwrap, like:
- HACKING-compliant docstrings
- More elegant return construct from match_filter in filters.py
- Remove overridden use of filters in wrapper.py
Change-Id: I49a97271b1c385feb25adf4f62add5c71962b5dd
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Revert recent plug of common logging into rootwrap, as it breaks
rootwrap logging. Rootwrap does not make use of oslo logging and oslo
config in order to reduce the surface of code run as root.
See https://review.openstack.org/#/c/26468/ for discussion.
Change-Id: I276ade164a902d091f9aafab79bbd4cc189588eb
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rather than continuing to use the old print statement, use the actual
print function introduced in python 2.6. See:
http://docs.python.org/2/whatsnew/2.6.html#pep-3105-print-as-a-function
Change-Id: I059d982d60e13f13e1caf49509c0fe0b18eda723
|
|/
|
|
|
|
|
| |
Mechanical translation of deprecated constructs
to 3.x compatible variants.
Change-Id: I4988d0ac656903e0d0320aaa8361d4eeb774a0f9
|
|
|
|
|
|
|
| |
Common modules can now safely import other common modules
since update.py will automatically install dependencies.
Change-Id: I0ad12d7e6e623657c40659aca4148439cd03d3fa
|
|
|
|
|
|
|
| |
Instead of propogating more bin scripts, migrate these to be things
that can be consumed as entrypoints.
Change-Id: Ic01e0f16fe9e7634708fbb51499ccea3f4f40d63
|
|
|
|
|
|
|
|
|
|
| |
PathFilter is a type of filter that allows to check
if path arguments of a command resolve to file system
paths within given directories.
Fixes bug 1098568.
Change-Id: Ie2686ad2ff114075c6d8d804031b6e3fa60a43ca
|
|
|
|
|
|
|
|
|
|
| |
fixes bug 1154745
The previous update (https://review.openstack.org/#/c/24103/) missed
header files that contained "OpenStack, LLC". This change corrects the
missed files to reflect the OpenStack Foundation.
Change-Id: I9c6de265267485ef2c82ea7e6d8643e82134d102
|
|
|
|
|
|
| |
Caesar's wife must be above reproach.
Change-Id: Iac85a57e71d403360f1567c07c8699057f0772fb
|
|
Copies current nova-rootwrap code to openstack.common, so that it
can be reused by Cinder and Quantum.
Implements blueprint common-rootwrap.
Before it can be used in projects, update.py needs to grow the
capability to deploy files in bin/ and etc/, as well as replacing
a placeholder text by the destination project name in source files
and binary names.
In this proposed version, the placeholder text is "oslo".
Change-Id: I8655d5b3cccacd1cc2225aa539339fb478615422
|