Bug #42018
core in CryptoRandom::get_bytes(char*, int)
% Done:
0%
Source:
Tags:
Backport:
mimic, nautilus
Regression:
No
Severity:
3 - minor
Description
```
/root/workspace/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mon. /root/workspace/ceph/build/keyring --cap mon 'allow *'
creating /root/workspace/ceph/build/keyring
terminate called after throwing an instance of 'std::system_error'
what(): Function not implemented
```
the reason is that we use `check_symbol_exists(getentropy "unistd.h" HAVE_GETENTROPY)` to check whether kernel supports `getentropy` function.
actually in some case, `getentropy` function is declared in unistd.h but not implemented!
Related issues
History
#1 Updated by Kefu Chai over 1 year ago
- Status changed from New to Fix Under Review
- Assignee changed from Chang Liu to Kefu Chai
- Backport set to mimic, nautilus
- Pull request ID set to 30544
#2 Updated by Kefu Chai over 1 year ago
- Status changed from Fix Under Review to Pending Backport
#3 Updated by Nathan Cutler over 1 year ago
- Copied to Backport #42134: nautilus: core in CryptoRandom::get_bytes(char*, int) added
#4 Updated by Nathan Cutler over 1 year ago
- Copied to Backport #42135: mimic: core in CryptoRandom::get_bytes(char*, int) added
#5 Updated by Nathan Cutler 28 days ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".