Your message dated Sun, 12 Jan 2025 01:43:55 +0000
with message-id <[email protected]>
and subject line Bug#1039350: fixed in rng-tools-debian 2.5
has caused the Debian Bug report #1039350,
regarding rng-tools-debian: figure out how to best start this
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 [email protected]
immediately.)
--
1039350: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039350
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rng-tools
Version: 2-unofficial-mt.14-1
X-Debbugs-CC: [email protected],
[email protected]
rng-tools does not perform as expected on a Beaglebone Black. The
dev-board has a built-in rng, and the kernel driver loads as expected.
/dev/hwrng is full, but /dev/random is suffering depletion. After
draining /dev/random, it takes 646 seconds to read 10 bytes in
blocking mode.
The problem seems to be the wrapper script of systemd around the old
sysinit script. Or maybe the wrapper is OK but systemd is the problem.
I don't know what the problem is at the moment.
Manually running '/etc/init.d/rng-tools start' and things work as
expected. /dev/random has a bountiful stream of bits.
A related question where I tried to troubleshoot it is at
https://unix.stackexchange.com/q/475489/56041. Unfortunately, I don't
know enough about the system components and they way they are supposed
to interact.
This report may be related:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776597 .
This may be CVE worthy. It is effectively a security related DoS due
to a configuration problem.
At this point I think it would be wise to provide a proper systemd
service file for rng-tools.
I am happy to manually install and test an updated *.deb package for
rng-tools. Just point me to a download.
-------------------------
Some hardware information.
$ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 996.14
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : Generic AM33XX (Flattened Device Tree)
Revision : 0000
Serial : 0000000000000000
-------------------------
$ apt-cache show rng-tools
Package: rng-tools
Version: 2-unofficial-mt.14-1
Installed-Size: 148
Maintainer: Henrique de Moraes Holschuh <[email protected]>
Architecture: armhf
Replaces: intel-rng-tools
Provides: intel-rng-tools
Depends: libc6 (>= 2.4), udev (>= 0.053) | makedev (>= 2.3.1-77)
Conflicts: intel-rng-tools
Description: Daemon to use a Hardware TRNG
Description-md5: 6da2aca3dd07b55b609d9cf3d5d7cd57
Tag: interface::daemon, network::server, role::program
Section: utils
Priority: optional
Filename: pool/main/r/rng-tools/rng-tools_2-unofficial-mt.14-1_armhf.deb
Size: 47364
MD5sum: eb9bde7feaec413754e4b1f255865c8d
SHA1: 4ab63f0ec0f84499decbfe916c248580f51ab560
SHA256: a017aa416bda627a20cf5fdcf51f2a46471b800225a3b3abb5c6774b3cd94c6e
-------------------------
$ apt-cache show systemd
Package: systemd
Version: 230-7~bpo8+2
Architecture: armhf
Maintainer: Debian systemd Maintainers
<[email protected]>
Installed-Size: 6490
Pre-Depends: libc6 (>= 2.8), libgcc1 (>= 1:4.4.0)
Depends: libacl1 (>= 2.2.51-8), libapparmor1 (>= 2.9.0-3+exp2),
libaudit1 (>= 1:2.2.1), libblkid1 (>= 2.19.1), libc6 (>= 2.17),
libcap2 (>= 1:2.10), libcryptsetup4 (>= 2:1.4.3), libgcrypt20 (>=
1.6.1), libgpg-error0 (>= 1.14), libidn11 (>=1.13), libkmod2 (>= 5~),
liblzma5 (>= 5.1.1alpha+20120614), libmount1 (>= 2.20.1), libpam0g (>=
0.99.7.1), libseccomp2 (>= 2.1.0), libselinux1 (>= 2.1.9), libsystemd0
(= 230-7~bpo8+2), util-linux (>= 2.25.2-6), mount (>= 2.25.2-6),
adduser, libcap2-bin
Recommends: libpam-systemd, dbus
Suggests: systemd-ui, systemd-container, policykit-1
Conflicts: klogd
Breaks: apparmor (<< 2.9.2-1), ifupdown (<< 0.8.5~), laptop-mode-tools
(<< 1.68~), lsb-base (<< 4.1+Debian4), lvm2 (<< 2.02.104-1),
systemd-shim (<< 8-2), udev(<< 228-5)
Replaces: udev (<< 228-5)
Multi-Arch: foreign
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Priority: important
Section: admin
Filename: pool/main/s/systemd/systemd_230-7~bpo8+2_armhf.deb
Size: 2146126
SHA256: b8ad0cd78f01d14980fa728baa841a2a59d85c706e6a3843930a8d932d289d04
SHA1: cf280cd4acccc7564a50404b95c04967be9ba468
MD5sum: bb29e98702695017bc9241c6b81d600f
Description: system and service manager
systemd is a system and service manager for Linux. It provides aggressive
parallelization capabilities, uses socket and D-Bus activation for starting
services, offers on-demand starting of daemons, keeps track of processes
using Linux control groups, supports snapshotting and restoring of the system
state, maintains mount and automount points and implements an elaborate
transactional dependency-based service control logic.
.
systemd is compatible with SysV and LSB init scripts and can work as a
drop-in replacement for sysvinit.
.
Installing the systemd package will not switch your init system unless you
boot with init=/bin/systemd or install systemd-sysv in addition.
Description-md5: daa2c3e0044c2c2f5adc47475a3d6969
Package: systemd
Version: 215-17+deb8u7
Installed-Size: 7977
Maintainer: Debian systemd Maintainers
<[email protected]>
Architecture: armhf
Depends: libacl1 (>= 2.2.51-8), libaudit1 (>= 1:2.2.1), libblkid1 (>=
2.19.1), libcap2 (>= 1:2.10), libcryptsetup4 (>= 2:1.4.3), libkmod2
(>= 5~), libpam0g (>=0.99.7.1), libselinux1 (>= 2.1.9), libsystemd0 (=
215-17+deb8u7), util-linux (>= 2.19.1-2), mount (>= 2.21), initscripts
(>= 2.88dsf-53.2), sysv-rc, udev (>= 208-8), acl, adduser, libcap2-bin
Pre-Depends: libc6 (>= 2.17), libgcrypt20 (>= 1.6.1), liblzma5 (>=
5.1.1alpha+20120614), libselinux1 (>= 1.32)
Recommends: libpam-systemd, dbus
Suggests: systemd-ui
Conflicts: klogd
Breaks: lsb-base (<< 4.1+Debian4), lvm2 (<< 2.02.104-1), systemd-shim (<< 8-2)
Description: system and service manager
Description-md5: b7cab5335af47ff49cf666299f5ca607
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Section: admin
Priority: important
Filename: pool/main/s/systemd/systemd_215-17+deb8u7_armhf.deb
Size: 2315660
MD5sum: fdd888dba6bca71c11df702e3943d49a
SHA1: 4df59c5ecbdb0202a8df1199e0dc0537c05945b3
SHA256: 16f38b4beb42020e28cd53f3e6be5bbb0af85605420389a46e6a6b94fc5de699
--- End Message ---
--- Begin Message ---
Source: rng-tools-debian
Source-Version: 2.5
Done: Thorsten Glaser <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rng-tools-debian, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thorsten Glaser <[email protected]> (supplier of updated rng-tools-debian package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384
Format: 1.8
Date: Sun, 12 Jan 2025 01:39:39 +0100
Source: rng-tools-debian
Architecture: source
Version: 2.5
Distribution: unstable
Urgency: low
Maintainer: Thorsten Glaser <[email protected]>
Changed-By: Thorsten Glaser <[email protected]>
Closes: 1039350
Changes:
rng-tools-debian (2.5) unstable; urgency=low
.
[ Sven Geuer ]
* Add a system unit to the package (Closes: #1039350)
- d/init-system-common: New file, gather functions from the sysv-init
script also useful with a systemd unit
- d/rng-tools-debian.init: Update the sysv-init script to use the
common functions
- d/systemd-helper: Add a helper script for starting rngd from
a systemd unit
- d/rng-tools-debian.service: Add the actual systemd unit
- d/rng-tools-debian.install: Install the common functions and the
systemd helper script
* d/t/*: Add autopkgtest to verify the service starts and stops as expected
* configure.ac: Bump the package's version to 2.5
.
[ Thorsten Glaser ]
* Put hwrng last in HRNGDEVICE autodetection and don’t start the dæmon
if it’s found since Linux now polls them automatically; add appropriate
NEWS.Debian entry and README sections for this
* Update lintian overrides
* Bump Policy
Checksums-Sha1:
ec0e56d0716377367f81c6813ff33597b78477e0 1761 rng-tools-debian_2.5.dsc
a66266005aeaba1d590a435dff058355f38929b4 55776 rng-tools-debian_2.5.tar.xz
Checksums-Sha256:
5ad941d241a9bf533a17797ae92df2ab96a9868f28a8e609b226664c5e111d8b 1761
rng-tools-debian_2.5.dsc
505cbce9e9f22e649ea8cb645052a5a9c0a00bea9a3d8750097e2a527852beb9 55776
rng-tools-debian_2.5.tar.xz
Files:
5ba50f07528ad8a37d2167778228389e 1761 utils optional rng-tools-debian_2.5.dsc
e0719c0dae3ea70d6920a2f5591c46a3 55776 utils optional
rng-tools-debian_2.5.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (MirBSD)
iQIcBAEBCQAGBQJngxXUAAoJEHa1NLLpkAfgfZsP/iZdoATMyd2uCvQAG0JrI/eK
uPyBdlGb2TZJnY7d528ESdAitEhceEuRZTJNNbFp8rc4hYXUyb9U0MXHXyVPwn/U
3d4EOaEcLXg4CNN7gnZERP+SEVUHHytTXNtRkp8l7J4VdKuVtIo/eKfO4KFOYpv4
83KogruaSeOkmAb9Cc5jqItXNhLlDanESIHjSmzhdeCqXsB5NONoFTww1ZfFD9F/
dBVUp8OLSca5iDp0w9de3dXxtWNoXUSVW4d1sWsQzHCaXSoaf88qS++W5T3Htymx
3f0zWrJ2yl51PJ1u9vnyPCSgCYPEnAnw69D+5YDNZFQ4a+8ussIG6gQ0vI9xV4hd
clAb9xgDIxiuktceLk9v2oE2uX6dZXs4dt5rMH1PAM2Aw90iEL6kuUcgJr9k1XJV
tOSv4sl2my2NcqTxUc5Y8mP+H5NqK3949FABqeAVrsQwR/KjhkJ8eol13tkYm/UF
P9w29J9rM0yvIeWknTuLcll9ehBBQFmMYZx0tMpceD61Km6lfuPIaw81NwQk509J
82s691fzWLHD8cbZwmlc3ElH6d33eQZDUcCRDm5LFoRdfUQ8n8do4gSyxHZTeDtF
4v2ZR2EEAOItO2u4XBf8e2tF4GwjP1xcvPdDcjoO+at9G9eyaplvEEX0RwlRQRDD
1kHkRvp7PYo2CADzYCcd
=oqoF
-----END PGP SIGNATURE-----
pgpL4HjdZRcOI.pgp
Description: PGP signature
--- End Message ---