58189f4965
On Debian, haveged fails to start with "haveged: Couldn't open random device: Permission denied". strace shows: openat(AT_FDCWD, "/dev/random", O_RDWR) = -1 EACCES (Permission denied) audit.log has: type=AVC msg=audit(1566048720.132:1338): avc: denied { search } for pid=20235 comm="haveged" name="/" dev="tmpfs" ino=76666 scontext=system_u:system_r:entropyd_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=0 With systemd, /dev is a temporary filesystem (tmpfs_t), so haveged needs the search permission to it in order to open /dev/random. Use the newly-added interface to allow this access. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
flask | ||
modules | ||
support | ||
constraints | ||
context_defaults | ||
global_booleans | ||
global_tunables | ||
mcs | ||
mls | ||
policy_capabilities | ||
users |