[apparmor] [patch] Add the attach_disconnected flag to the ntpd profile

Seth Arnold seth.arnold at canonical.com
Mon May 18 21:12:50 UTC 2015


On Sun, May 17, 2015 at 01:31:03AM +0200, Christian Boltz wrote:
> Hello,
> 
> this patch adds the attach_disconnected flag to the ntpd profile.
> 
> I noticed "disconnected path" (run/nscd/*) events for ntpd while
> updating to the latest openSUSE Tumbleweed.
> 
> 
> I propose this patch for trunk and 2.9.

Acked-by: Seth Arnold <seth.arnold at canonical.com>

Acked for both trunk and 2.9.

Thanks

> 
> [ ntpd-attach-disconnected.diff ]
> 
> === modified file 'profiles/apparmor.d/usr.sbin.ntpd'
> --- profiles/apparmor.d/usr.sbin.ntpd   2014-10-06 17:57:46 +0000
> +++ profiles/apparmor.d/usr.sbin.ntpd   2015-05-16 23:25:35 +0000
> @@ -11,7 +11,7 @@
>  
>  #include <tunables/global>
>  #include <tunables/ntpd>
> -/usr/sbin/ntpd {
> +/usr/sbin/ntpd flags=(attach_disconnected) {
>    #include <abstractions/base>
>    #include <abstractions/nameservice>
>    #include <abstractions/openssl>
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150518/6ef733a7/attachment.pgp>


More information about the AppArmor mailing list