Apparmor triggers syslog messages when bitcoind attempts to access certain files in /proc
In bitcoind source the following list of files appear to be accessed for entropy collection:
AddFile(hasher, "/proc/diskstats");
AddFile(hasher, "/proc/vmstat");
AddFile(hasher, "/proc/schedstat");
AddFile(hasher, "/proc/zoneinfo");
AddFile(hasher, "/proc/meminfo");
AddFile(hasher, "/proc/softirqs");
AddFile(hasher, "/proc/stat");
AddFile(hasher, "/proc/self/schedstat");
AddFile(hasher, "/proc/self/status");
Snap's apparmor settings for the bitcoin-core package should be updated to permit access to these files.
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
snap version
snap 2.60.4
snapd 2.60.4
series 16
debian 12
kernel 6.1.0-17-amd64
snap info bitcoin-core
name: bitcoin-core
summary: Fully validating Bitcoin peer-to-peer network node, wallet and GUI
publisher: Bitcoin Core
store-url: https://snapcraft.io/bitcoin-core
contact: https://github.com/bitcoin-core/packaging/issues/new?title=snap:
license: unset
description: |
Bitcoin Core connects to the Bitcoin peer-to-peer network to download and
fully validate blocks and transactions. It also includes a wallet and
graphical user interface.
commands:
Apparmor triggers syslog messages when bitcoind attempts to access certain files in /proc In bitcoind source the following list of files appear to be accessed for entropy collection: AddFile(hasher, "/proc/diskstats"); AddFile(hasher, "/proc/vmstat"); AddFile(hasher, "/proc/schedstat"); AddFile(hasher, "/proc/zoneinfo"); AddFile(hasher, "/proc/meminfo"); AddFile(hasher, "/proc/softirqs"); AddFile(hasher, "/proc/stat"); AddFile(hasher, "/proc/self/schedstat"); AddFile(hasher, "/proc/self/status");
Snap's apparmor settings for the bitcoin-core package should be updated to permit access to these files.
lsb_release -a
No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
snap version
snap 2.60.4 snapd 2.60.4 series 16 debian 12 kernel 6.1.0-17-amd64
snap info bitcoin-core
name: bitcoin-core summary: Fully validating Bitcoin peer-to-peer network node, wallet and GUI publisher: Bitcoin Core store-url: https://snapcraft.io/bitcoin-core contact: https://github.com/bitcoin-core/packaging/issues/new?title=snap: license: unset description: | Bitcoin Core connects to the Bitcoin peer-to-peer network to download and fully validate blocks and transactions. It also includes a wallet and graphical user interface. commands: