apparmour denies access to /var/log/ntpstats/protostats
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge |
Bug Description
Jun 28 07:55:29 2013 ubuntu <daemon.err<27>> ntpd[2001]: can't open /var/log/
Jun 28 07:55:29 2013 ubuntu <kern.notice<5>> kernel: [136683.753956] type=1400 audit(137240252
FIX:
vi /etc/apparmor.
#add
/var/log/
# restart
apparmor_parser -r /etc/apparmor.
DATA:
# lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04
# apt-cache policy ntp
ntp:
Installed: 1:4.2.6.
Candidate: 1:4.2.6.
Version table:
*** 1:4.2.6.
500 http://
100 /var/lib/
1:
500 http://
# apt-cache policy apparmor
apparmor:
Installed: 2.7.102-0ubuntu3.8
Candidate: 2.7.102-0ubuntu3.8
Version table:
*** 2.7.102-0ubuntu3.8 0
500 http://
100 /var/lib/
2.
500 http://
500 http://
2.
500 http://
Related branches
Changed in ntp (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
status: | New → In Progress |
tags: |
added: apparmor removed: apparmour |
This bug was fixed in the package ntp - 1:4.2.6. p5+dfsg- 2ubuntu2
--------------- 6.p5+dfsg- 2ubuntu2) saucy; urgency=low
ntp (1:4.2.
* debian/ apparmor- profile: Add /var/log/ ntpstats/ protostats* (LP: #1195898)
-- Jamie Strandboge <email address hidden> Fri, 05 Jul 2013 10:06:47 -0500