Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2015 00:20:11 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   save-entropy race in -CURRENT?
Message-ID:  <55429C8B.4000904@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


 I have newly installed 10-STABLE server which sometimes (every second
dat on average) sends me messages like this (TWO AT SAME TIME!):

====
From: Cron Daemon
Subject: Cron <operator@host> /usr/libexec/save-entropy

unlink: saved-entropy.8: No such file or directory
mv: saved-entropy.7: No such file or directory
====

and

====
From: Cron Daemon
Subject: Cron <operator@host> /usr/libexec/save-entropy

mv: rename saved-entropy.6 to saved-entropy.7: No such file or directory
mv: saved-entropy.5: No such file or directory
mv: rename saved-entropy.4 to saved-entropy.5: No such file or directory
mv: saved-entropy.3: No such file or directory
mv: saved-entropy.2: No such file or directory
mv: saved-entropy.1: No such file or directory
====


 All these files present:

% sudo ls -l /var/db/entropy
- -r--------  1 operator  operator  2048  1 May 00:11 saved-entropy.1
- -r--------  1 operator  operator  2048  1 May 00:00 saved-entropy.2
- -r--------  1 operator  operator  2048 30 Apr 23:55 saved-entropy.3
- -r--------  1 operator  operator  2048 30 Apr 23:44 saved-entropy.4
- -r--------  1 operator  operator  2048 30 Apr 23:33 saved-entropy.5
- -r--------  1 operator  operator  2048 30 Apr 23:22 saved-entropy.6
- -r--------  1 operator  operator  2048 30 Apr 23:11 saved-entropy.7
- -r--------  1 operator  operator  2048 30 Apr 23:00 saved-entropy.8
%

 What's wrong?

- -- 
// Lev Serebryakov AKA Black Lion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQJ8BAEBCgBmBQJVQpyLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePcSAP/RLLJYc67zrVGEXVGL3csVlM
PZhkWW/c69ppdWjEXT8IE2FlhGGuaMnRr7B5m9Q7m7l+8wfJQ1/hSiVeLEaCfnUb
eq2kq7PTjbeeoSMAjegdxNklz4XWJiLhMifpFCBRNh0IdlkeA/wTUYQrm8NuZ5QY
fC6oZEMGnuCFhO5TgM6KgXblHcsjeiHRweMt7rJ1o9leJWB3Hxd2HvPdiPSRAqnZ
3Fs0zwHF5YnKHMyF1D0/+NB5kZer9cr9+LRQqh8hhtWDGDF0Dhblx+lY9vatttRU
bA5HwTP1y/+jrPfZyGnxSqtWW14NrVczt4Z/9yCJ/6YtSywa9EnA6xui6JECMeg0
AJInge8nLlHoszRWxr0c2uJOQ+z1dgF7F6EK+A45n2/+gTBNSMVOJoDw6c4rqxMh
tUYoIIIyKEm5V8B+GRq+Bcq4o5tFBxaZQw3ORiL378cJp5EK0KNEErkFak8QXn82
Utj5LT/A/WXcqJ0VX2/MNGn3wy2AA/2FfOTUx8emzRR9WvseMa+lpwXM9pTbjZXE
l8lDw7BaCXnC4kC4mFquwLTdyDDg1U4nMGXT7Lo1XR0lI6IY/067FluHpt8N/Qd3
H2bJTBzN0G2l9Lcgq8WMdVCy9p5iJa+l+l/BUP9j7uVTy+5ghjtzTl/Y7jqvc1ua
B+KqTOy1wtm0lmbIWj7a
=cUdc
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55429C8B.4000904>