Repository navigation
crypto: Set libdevmapper logging in crypto plugin too - #1215
vojtechtrefny wants to merge 1 commit into
Conversation
The plugin doesn't use libdevmapper directly, but libcryptsetup uses it and with recent changes around logging and threads in libdevmapper, it is possible that libcryptsetup will fail to set up logging on their site (libdevmapper allows logging set up only from the main thread and in udisks all libcryptsetup calls run from separate threads) so we want to make sure that someone sets logging. We prefix all log messages so this shouldn't cause any confusion.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
The plugin doesn't use libdevmapper directly, but libcryptsetup uses it and with recent changes around logging and threads in libdevmapper, it is possible that libcryptsetup will fail to set up logging on their site (libdevmapper allows logging set up only from the main thread and in udisks all libcryptsetup calls run from separate threads) so we want to make sure that someone sets logging. We prefix all log messages so this shouldn't cause any confusion.
Summary by CodeRabbit