I believe I'm having this bug or a similar one in 12.04
Here are lines from my syslog
May 17 13:56:11 escher kernel: [ 27.220217] type=1400
audit(1400352971.120:42): apparmor=DENIED operation=open parent=1
profile=/usr/sbin/ntpd name=/run/samba/gencache.tdb pid=2480 comm=ntpd
Hello - I sat down to fix this bug in Trusty, but it is already fixed.
Here's my reasoning:
* Starting in Trusty, /usr/share/samba/{low,up}case.dat was moved to
/usr/share/samba/codepages/{low,up}case.dat
* The ntpd profile has #include abstractions/nameservice
* The nameservice abstraction has
FWIW, the upstream apparmor commit that fixed this is r2382
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/1135780
Title:
ntp apparmor denied read of /usr/share/samba/upcase.dat
To
Thanks. This is a similiar but different issue to bug 1264548. The
general issue is that custom nss changes require manual tweaking of
apparmor profiles for those that import abstractions/nameservice.
** Changed in: ntp (Ubuntu)
Importance: Undecided = Medium
--
You received this bug
Same issue here (ubuntu 13.10):
dmesg:
[252470.909606] type=1400 audit(1396308938.493:42): apparmor=DENIED
operation=open parent=1 profile=/usr/sbin/ntpd
name=/usr/share/samba/upcase.dat pid=26764 comm=ntpd requested_mask=r
denied_mask=r fsuid=0 ouid=0
[252470.909635] type=1400
[Expired for ntp (Ubuntu) because there has been no activity for 60
days.]
** Changed in: ntp (Ubuntu)
Status: Incomplete = Expired
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
I'm confused as to why ntpd would try to access
/usr/share/samba/{up,low}case.dat in the first place. Are you using
winbind or something like that? Please could you attach
/etc/nsswitch.conf and post the versions