{"action":"opened","issue":{"url":"https://api.github.com/repos/gmiranda23/ntp/issues/103","labels_url":"https://api.github.com/repos/gmiranda23/ntp/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/gmiranda23/ntp/issues/103/comments","events_url":"https://api.github.com/repos/gmiranda23/ntp/issues/103/events","html_url":"https://github.com/gmiranda23/ntp/issues/103","id":70739990,"number":103,"title":"apparmor error every chef run","user":{"login":"pkringle","id":7445551,"avatar_url":"https://avatars.githubusercontent.com/u/7445551?v=3","gravatar_id":"","url":"https://api.github.com/users/pkringle","html_url":"https://github.com/pkringle","followers_url":"https://api.github.com/users/pkringle/followers","following_url":"https://api.github.com/users/pkringle/following{/other_user}","gists_url":"https://api.github.com/users/pkringle/gists{/gist_id}","starred_url":"https://api.github.com/users/pkringle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkringle/subscriptions","organizations_url":"https://api.github.com/users/pkringle/orgs","repos_url":"https://api.github.com/users/pkringle/repos","events_url":"https://api.github.com/users/pkringle/events{/privacy}","received_events_url":"https://api.github.com/users/pkringle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-24T17:02:07Z","updated_at":"2015-04-24T17:02:07Z","closed_at":null,"body":"I have started to notice errors every time chef runs on my nodes\r\n\r\n```\r\nApr 24 16:36:38 vm01 kernel: [772949.881903] type=1400 audit(1429893398.119:810): apparmor=\"DENIED\" operation=\"open\" profile=\"/usr/sbin/ntpd\" name=\"/usr/local/sbin/\" pid=1328 comm=\"ntpd\" requested_mask=\"r\" denied_mask=\"r\" fsuid=0 ouid=0\r\nApr 24 16:36:38 vm01 kernel: [772949.881912] type=1400 audit(1429893398.119:811): apparmor=\"DENIED\" operation=\"open\" profile=\"/usr/sbin/ntpd\" name=\"/usr/local/bin/\" pid=1328 comm=\"ntpd\" requested_mask=\"r\" denied_mask=\"r\" fsuid=0 ouid=0\r\n```\r\n\r\nI am running this on ubuntu 14.04\r\n\r\nWhen I run chef-client, I see no errors, and everything reports as \"up to date\", but syslog show the above errors.  I am still trying to find the root cause of this, but I haven't pin pointed it.  Figured I would post this and see if anyone else has seen this.\r\n\r\nAttributes on the node.\r\n\r\n```\r\nvm01:\r\n  ntp:\r\n    apparmor_enabled:                             true\r\n    conf_group:                                   root\r\n    conf_owner:                                   root\r\n    conf_restart_immediate:                       false\r\n    conffile:                                     /etc/ntp.conf\r\n    disable_tinker_panic_on_virtualization_guest: true\r\n    driftfile:                                    /var/lib/ntp/ntp.drift\r\n    leapfile:                                     /etc/ntp.leapseconds\r\n    listen:                                       \r\n    listen_network:                               \r\n    localhost:\r\n      noquery: false\r\n    monitor:                                      false\r\n    packages:\r\n      ntp\r\n      ntpdate\r\n    peer:\r\n      maxpoll:    10\r\n      minpoll:    6\r\n      use_burst:  false\r\n      use_iburst: true\r\n    peers:\r\n    restrict_default:                             kod notrap nomodify nopeer noquery\r\n    restrictions:\r\n    server:\r\n      maxpoll:    10\r\n      minpoll:    6\r\n      prefer:     \r\n      use_burst:  false\r\n      use_iburst: true\r\n    servers:\r\n      time0\r\n      time1\r\n    service:                                      ntp\r\n    statistics:                                   true\r\n    statsdir:                                     /var/log/ntpstats/\r\n    sync_clock:                                   false\r\n    sync_hw_clock:                                false\r\n    tinker:\r\n      allan:      1500\r\n      dispersion: 15\r\n      panic:      0\r\n      step:       0.128\r\n      stepout:    900\r\n    use_cmos:                                     false\r\n    var_group:                                    ntp\r\n    var_owner:                                    ntp\r\n    varlibdir:                                    /var/lib/ntp\r\n```"}}