Correction:
1) futzing with /lib/systemd/system/haveged.service doesn't help
2) strace -f shows that haveged is indeed failing because it can't write to
/var/run
3) adding the line suggested in the original post to
/etc/apparmor.d/usr.sbin.haveged works
I failed to try the single-line usr.sbin.h
I verified that my 16.04 system has upstart-sysv installed and that
/var/log/syslog contains
haveged: haveged starting up
kernel: [43612.894002] audit: type=1400 audit(1544731842.319:38):
apparmor="DENIED" operation="mknod" profile="/usr/sbin/haveged"
name="/run/haveged.pid" pid=15508 comm="ha
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: haveged (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1708674
Title:
Ha