drift file blocked by apparmor ntp profile
Bug #456308 reported by
Sergei Genchev
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Fix Released
|
Medium
|
Jamie Strandboge | ||
Karmic |
Fix Released
|
Medium
|
Jamie Strandboge |
Bug Description
Binary package hint: apparmor
ntp cannot create a temp file. In the usr.sbin.ntpd apparmor profile this file set as:
/var/lib/
but ntp is actually trying to create /var/lib/
Log entry from my PC:
Oct 20 08:05:40 sergei-desktop kernel: [568826.000916] type=1503 audit(125604394
summary: |
- apparmor ntp profile needs corrections + drift file blocked by apparmor ntp profile |
Changed in apparmor (Ubuntu Karmic): | |
importance: | High → Medium |
Changed in apparmor (Ubuntu Karmic): | |
status: | Triaged → Fix Committed |
affects: | apparmor (Ubuntu Karmic) → ntp (Ubuntu Karmic) |
To post a comment you must log in.
Thank you for using Ubuntu and taking the time to report a bug. Does adjusting /etc/apparmor. d/usr.sbin. ntpd from:
/var/ lib/ntp/ ntp.drift rw, lib/ntp/ ntp.drift. TEMP rw,
/var/
to:
/var/ lib/ntp/ *drift rw, lib/ntp/ *drift. TEMP rw,
/var/
and running 'sudo apparmor_parser -r /etc/apparmor. d/usr.sbin. ntpd' fix this for you?