#4 Does not work for me.
My /etc/apparmor.d/sbin.dhclient partly looks like this:
@{PROC}/[0-9]*/net/ r,
@{PROC}/[0-9]*/net/** r,
# @{PROC}/[0-9]*/task/[0-9]*/comm rw,
@{PROC}/@{pids}*/task/[0-9]*/comm rw,
Maybe I'm missing something?
--
You received this bug notification because you are
Public bug reported:
In systemctl a service is waiting for the network to be configured,
which can not be configured because it seems apparmor is blocking this
with DENIED for the dhclient. It apparently needs wr rights.
This is after a fresh install of Ubuntu 21.04 Server.
ProblemType: Bug
Dist