Your message dated Thu, 20 Feb 2025 12:15:02 +0100 (CET)
with message-id <20250220111502.65a83be2...@eldamar.lan>
and subject line Closing this bug (BTS maintenance for src:linux bugs)
has caused the Debian Bug report #907060,
regarding linux: ratelimiting hides warnings about uninitialized crng usage
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
907060: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907060
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: linux-image-4.17.0-3-amd64
Version: 4.17.17-1
Severity: normal

A minute or so after booting this kernel within a kvm guest that has
some userspace crypto working in it, i see a message about ratelimited
reports in the kernel ring buffer, but i never get any of the
full messages:

root@test:~# head -v /proc/sys/kernel/printk*
==> /proc/sys/kernel/printk <==
7       4       1       7

==> /proc/sys/kernel/printk_delay <==
0

==> /proc/sys/kernel/printk_devkmsg <==
ratelimit

==> /proc/sys/kernel/printk_ratelimit <==
10

==> /proc/sys/kernel/printk_ratelimit_burst <==
10
root@test:~# cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-4.17.0-3-amd64 
root=UUID=44659876-4a68-4a3a-b3fa-0403eeb0c6ca
 ro console=ttyS0,115200n8
root@test:~# dmesg | tail -n 3
[    2.880287] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on 
minor 0
[  107.680402] random: crng init done
[  107.681132] random: 7 urandom warning(s) missed due to ratelimiting
root@test:~# 

given the timing, i presume the urandom warnings have to do with some
process accessing /dev/urandom before the crng is initialized, but
none of them is displayed (not even one, let alone the 10 i'd expect
from the sysctl values).

This is a problem because it makes it harder to figure out which
processes are actually doing the dangerous urandom reads.

This system doesn't have plymouth or anything graphical installed
(it's using a virtualized serial console) so i don't think #897572 is
related.

          --dkg


-- System Information:
Debian Release: sid
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

--- End Message ---

Reply via email to