To allow RGW threads to share possession over process keyring keys the
keyring must be created before a child thread adds keys.
Since we only use the process keyring for KMS cache secrets, only
initialize the keyring if it is enabled on startup.
Signed-off-by: Marcel Lauhoff <marcel.lauhoff@clyso.com>
On-behalf-of: SAP marcel.lauhoff@sap.com
legacy-option-headers
global
cls_rgw_client
+ keyring
rt
ICU::uc
OATH::OATH
#include <boost/intrusive/list.hpp>
#include "common/ceph_argparse.h"
+#include "common/keyring.h"
#include "global/global_init.h"
#include "global/signal_handler.h"
#include "common/config.h"
DoutPrefix dp(cct.get(), dout_subsys, "rgw main: ");
rgw::AppMain main(&dp);
+ LinuxKeyringSecret::initialize_process_keyring();
+
main.init_frontends1(false /* nfs */);
main.init_numa();