Go to file
Angus Lees eadc1341cc More sophisticated logging on privileged side
Any python logging messages generated on the privileged side (that
exceed the python logging level) are sent to the unprivileged side,
where the actual write to the regular oslo.log logger occurs.

Before, those priv->unpriv logging messages were dumb lines written to
stderr.  This meant the original severity level was lost, and the unpriv
side made the arbitrary/conservative choice to always log them at WARNING.

With this change, those priv->unpriv logging messages are sent down the
regular priv<->unpriv communication channel using a new "out of band"
mechanism.  The messages now include the original severity level, which
the unpriv side now honours.  And there was much rejoicing.

Any lines that *do* end up on stderr (using the exec method) will
continue to be logged at WARNING, since these will most likely be
"privsep-helper command not found" or similarly important.

Change-Id: Ifc63aedbec4ababefd2138cb73b348e2698db4ad
Closes-Bug: #1593743
2016-08-04 09:55:51 +10:00
2015-10-23 18:51:29 +11:00
2015-10-23 18:51:29 +11:00
2015-11-04 13:17:51 +11:00
2015-10-21 05:24:45 +00:00
2015-10-23 18:51:29 +11:00
2015-10-23 18:51:29 +11:00
2015-10-23 18:51:29 +11:00
2015-10-23 18:51:29 +11:00
2015-10-23 18:51:29 +11:00
2015-10-23 18:51:29 +11:00
2016-05-25 15:13:31 +08:00
2015-11-03 04:33:51 +00:00

oslo.privsep

Latest Version

Downloads

OpenStack library for privilege separation

This library helps applications perform actions which require more or less privileges than they were started with in a safe, easy to code and easy to use manner. For more information on why this is generally a good idea please read over the principle of least privilege and the specification which created this library.

Description
RETIRED, further work has moved to Debian project infrastructure
Readme 287 KiB