Pare down the readme by moving most of the usage instructions into the
main documentation. Clean up the results so they render nicely.
Remove the duplicate copy of those instructions by removing
doc/source/readme.rst.
Fix up the documentation and readme titles to make them consistent.
Change-Id: I63f711bb28f3003d7b991d1526fd4b373b530143
explicitely -> explicitly
priviledges -> privileges
for README.rst
Plus some source comment fix.
Change-Id: Ibbe08d01e0cd380604fbd43786c8adb0ac9765f1
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Currently the pypi page for oslo.rootwrap doesn't render correctly,
running this file through `restview` and fixed the only two errors
that were found. This should now allow the README content to be
correctly rendered.
Change-Id: I57dcb6f7f597ca611f66b0e62224c7154ba2772b
It introduced a security issue since these env vars are not filtered by
either sudo or rootwrap. This change reverts changes in common code from
Iace26738f910a18a5d1d3479fad949027e5a3816 (most of them)
and purges ability to specify env in arguments for daemon.
Environment should be provided to callee process using EnvFilter and
/usr/bin/env.
Change-Id: Iafbc493d6158f3ea85b3d74cb37c29e161a1099f
Move the public API out of oslo.rootwrap to oslo_rootwrap. Retain
the ability to import from the old namespace package for backwards
compatibility for this release cycle.
bp/drop-namespace-packages
Change-Id: Ifed1a99e5ea6d999760731867c4294707698d41c
This patch adds ChainingRegExpFilter to filter commands prefixed to other
commands, such as 'nice' and 'ionice'. This filter only checks specified
number of arguments, and remaining arguments are filtered by the other
existing filters.
Change-Id: Ica014c472c7e1376f107a039452b215e5c2c4ee5
Implements: blueprint chaining-regexp-filter
Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Since the rootwrap code was graduated to a separate library,
This change completes one from oslo-incubator:
Backport 'ident' from python 3.3 for Oslo's SysLogHandler
(with commit 79e8a9a08daf563aa8a8d9280c9a6a27dcafc8f2)
To honor RFC5424 add use_syslog_rfc_format config option
(default False, would be deprecated in J after existing
syslog format deprecation) which adds APP-NAME to syslog message
before MSG part to reflect application or service name.
Usable only with use_syslog, otherwise ignored.
During J, the default logging format for syslog should be changed
to always provide APP-NAME, thus use_syslog_rfc_format could be
deprecated in J as well.
Closes-bug: #904307
Change-Id: Icff9db07d543738e092a8826e8a0d2e4b213fc38
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Rootwrap should be used from specific console_scripts calling into
oslo.rootwrap.cmd:main, rather than using the specific oslo-rootwrap
wrapper. This matches how nova and cinder now consume oslo.rootwrap,
and ensures a smooth upgrade path.
This change aligns the documentation and shipped files to match how
oslo.rootwrap should be used now.
Change-Id: If01b8840c971d1c6d5c88c7698f5d6a2bf8fd5f0
Use oslo-rootwrap rather than oslo.rootwrap in directory names
(/etc/oslo-rootwrap and /usr/share/oslo-rootwrap), as suggested by
Chuck. Since this package is actually consumed through its binary
(oslo-rootwrap) rather than its library (oslo.rootwrap), this is
probably more appropriate.
Change-Id: I0e249d70937307b5fe116750923c20d487506c97
Ship default configuration file in etc/oslo.rootwrap to encourage best
packaging practices (packagers should deploy rootwrap.conf in
/etc/oslo.rootwrap rather than /etc/oslo/rootwrap or /etc/oslo).
Also change default filters_path directory from
/etc/oslo.rootwrap/rootwrap.d to /etc/oslo.rootwrap/filters.d
as it avoids redundancy and is more self-explanatory.
Change-Id: Iadf623571283cba1886bb27a5f55c59ba66c522f
Document the use of oslo-rootwrap in README.rst, before cutting
a first release.
This obsoletes https://wiki.openstack.org/wiki/Rootwrap
Change-Id: Ia7046e5a3c4b5ebdbc1a2d978cb6c6a9e4c69514