[systemd] dhclient causes apparmor warnings against /run/systemd/journal/dev-log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
High
|
Unassigned | ||
apparmor (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
When running a system with systemd, the logs get filled with dhclient getting denied access to the below.
Example dmesg output:
[ 28.037120] audit: type=1400 audit(142184627
[ 45.367871] audit: type=1400 audit(142184629
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: isc-dhcp-client 4.3.1-5ubuntu2
ProcVersionSign
Uname: Linux 3.18.0-9-generic x86_64
NonfreeKernelMo
ApportVersion: 2.15.1-0ubuntu2
Architecture: amd64
Date: Wed Jan 21 09:26:16 2015
DhclientLeases:
InstallationDate: Installed on 2015-01-08 (12 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150108)
ProcEnviron:
LANGUAGE=en_US
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: isc-dhcp
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
Just adding systemd/ journal/ dev-log w, d/sbin. dhclient makes it work not.
/run/
to /etc/apparmor.
I noticed after that it wasn't actually logging an dhclient messages before enabling write access there.