Aleksa Sarai
e7e4e93352
apparmor: make pkg/aaparser work on read-only root
...
This is necessary because normally `apparmor_parser -r` will try to
create a temporary directory on the host (which is not allowed if the
host has a rootfs). However, the -K option bypasses saving things to the
cache (which avoids this issue).
% apparmor_parser -r /tmp/docker-profile
mkstemp: Read-only file system
% apparmor_parser -Kr /tmp/docker-profile
%
In addition, add extra information to the ensureDefaultAppArmorProfile
errors so that problems like this are easier to debug.
Fixes: 2f7596aaef3a ("apparmor: do not save profile to /etc/apparmor.d")
Signed-off-by: Aleksa Sarai <asarai@suse.de >
Upstream-commit: dd340c52cb37d29d8bae687fdc60e039341b4295
Component: engine
2017-05-18 00:05:13 +10:00
..
2017-05-17 02:39:52 +02:00
2017-05-10 14:16:27 -07:00
2017-03-29 09:00:50 +08:00
2017-05-05 17:02:04 -04:00
2017-05-15 11:08:16 +12:00
2017-03-10 10:24:33 +00:00
2017-05-18 00:05:13 +10:00
2017-04-12 10:33:19 +00:00
2017-04-12 10:33:19 +00:00
2017-04-12 10:33:19 +00:00
2017-03-15 13:31:41 -07:00
2017-03-15 13:31:41 -07:00
2017-05-10 17:58:57 -04:00
2017-05-16 15:11:39 -07:00
2017-05-10 17:59:30 -04:00
2017-05-05 14:50:00 +08:00
2017-05-10 21:16:52 -07:00
2017-05-01 18:36:53 -04:00
2017-05-11 10:08:21 -07:00
2017-05-16 14:25:32 -07:00
2017-05-16 14:25:32 -07:00
2017-05-11 10:08:21 -07:00
2017-05-16 15:11:39 -07:00
2017-05-16 14:25:32 -07:00
2017-04-10 09:13:41 -07:00
2017-04-12 15:45:29 -07:00
2017-04-24 21:29:47 +02:00
2017-05-05 16:15:22 -04:00
2017-04-24 21:29:47 +02:00
2017-05-05 13:45:45 -07:00
2017-04-12 16:54:27 -07:00
2017-05-17 09:27:47 -04:00
2017-04-18 10:30:40 +03:00
2017-05-16 15:09:14 -07:00
2017-05-11 10:08:21 -07:00
2017-04-24 09:11:29 -07:00
2017-03-13 15:20:05 +11:00
2017-05-16 15:11:39 -07:00
2017-04-06 12:35:34 +02:00
2017-04-06 12:35:34 +02:00
2017-05-10 17:58:57 -04:00
2017-05-10 17:58:57 -04:00
2017-03-16 09:21:51 +08:00
2017-05-02 17:38:12 -04:00
2017-04-08 11:28:37 +02:00
2017-04-10 16:54:07 +05:30
2017-05-05 16:15:22 -04:00
2017-05-16 15:11:39 -07:00
2017-05-16 15:11:39 -07:00
2017-03-31 08:57:09 +00:00
2017-04-20 12:27:51 +01:00
2017-05-12 00:30:09 -04:00
2017-05-12 00:30:09 -04:00
2017-05-12 00:30:09 -04:00
2017-05-05 17:02:04 -04:00
2017-05-11 12:31:53 -04:00
2017-05-10 21:16:52 -07:00
2017-05-11 10:08:21 -07:00
2017-05-16 14:25:32 -07:00
2017-05-16 23:37:30 +08:00
2017-05-16 14:36:36 -07:00
2017-05-16 14:36:36 -07:00
2017-05-05 13:45:45 -07:00
2017-05-16 11:30:06 -07:00
2017-05-16 11:30:06 -07:00
2017-05-11 10:08:21 -07:00
2017-04-24 21:29:47 +02:00
2017-05-16 15:11:39 -07:00
2017-03-10 02:50:21 +00:00
2017-03-10 02:50:21 +00:00
2017-04-06 15:40:12 -07:00
2017-05-03 10:59:38 -04:00
2017-05-11 12:31:53 -04:00
2017-05-15 15:49:07 -04:00
2017-05-16 15:11:39 -07:00