Files
docker-cli/components/engine/daemon
Aleksa Sarai 2613b94bd4 daemon: switch to 'ensure' workflow for AppArmor profiles
In certain cases (unattended upgrades), system services can disable
loaded AppArmor profiles. However, since /etc being read-only is a
supported setup we cannot just write a copy of the profile to
/etc/apparmor.d.

Instead, dynamically load the docker-default AppArmor profile if a
container is started with that profile set. This code will short-cut if
the profile is already loaded.

Fixes: 2f7596aaef3a ("apparmor: do not save profile to /etc/apparmor.d")
Signed-off-by: Aleksa Sarai <asarai@suse.de>
Upstream-commit: 567ef8e7858ca4f282f598ba1f5a951cbad39e83
Component: engine
2016-12-07 08:47:28 +11:00
..
2016-11-14 15:15:09 -05:00
2016-09-16 12:27:13 -04:00
2016-09-07 11:05:58 -07:00
2016-10-28 11:06:54 -07:00
2016-10-25 06:43:54 +00:00
2016-11-22 12:49:38 +00:00
2016-11-22 12:49:38 +00:00
2016-11-16 13:38:45 -08:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-17 13:10:48 -05:00
2016-11-22 12:49:38 +00:00
2016-09-16 12:27:13 -04:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-11-08 17:41:56 -08:00
2016-11-22 12:49:38 +00:00
2016-10-27 10:34:38 -07:00
2016-10-27 10:34:38 -07:00
2016-11-18 18:32:02 -08:00
2016-09-07 11:05:58 -07:00
2016-10-06 17:12:17 -07:00
2016-09-07 11:05:58 -07:00
2016-10-20 17:06:11 +02:00
2016-06-27 10:23:37 -07:00
2016-06-27 10:23:37 -07:00
2016-12-01 09:38:08 -08:00
2016-12-01 09:38:08 -08:00
2016-12-01 09:38:08 -08:00
2016-12-01 09:38:08 -08:00
2016-10-06 22:48:53 -03:00
2016-09-07 11:05:58 -07:00
2016-11-23 09:28:13 +08:00
2016-10-27 10:34:38 -07:00
2016-11-14 15:15:09 -05:00
2016-09-13 09:55:35 -04:00
2016-11-28 16:54:56 -08:00
2016-11-04 13:38:50 -07:00
2016-10-25 06:43:54 +00:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-09-16 11:56:15 -07:00
2016-09-16 11:56:15 -07:00
2016-09-21 12:36:52 +02:00
2016-09-16 11:56:15 -07:00
2016-11-22 12:49:38 +00:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-11-21 19:56:01 +08:00
2016-11-22 12:49:38 +00:00