[pkg-apparmor] Bug#909523: cachefilesd broken by apparmor
Anthony DeRobertis
anthony at derobert.net
Mon Sep 24 19:20:07 BST 2018
Package: cachefilesd
Version: 0.10.10-0.1
Severity: important
Important since Apparmor is on by default now.
I rebooted after enabling Apparmor, and cachefilesd wouldn't start:
Sep 24 13:53:17 Zia cachefilesd[1105]: About to bind cache
Sep 24 13:53:17 Zia kernel: CacheFiles: Security denies permission to nominate security context: error -2
Sep 24 13:53:17 Zia cachefilesd[1105]: CacheFiles bind failed: errno 2 (No such file or directory)
Sep 24 13:53:17 Zia cachefilesd[1052]: Starting FilesCache daemon : cachefilesd failed!
Sep 24 13:53:17 Zia systemd[1]: cachefilesd.service: Control process exited, code=exited status=1
Sep 24 13:53:17 Zia systemd[1]: cachefilesd.service: Failed with result 'exit-code'.
Sep 24 13:53:17 Zia systemd[1]: Failed to start LSB: CacheFiles daemon.
Trying a few more times (after the system booted) also produced the same error each time:
Sep 24 13:57:12 Zia systemd[1]: Starting LSB: CacheFiles daemon...
Sep 24 13:57:13 Zia cachefilesd[6213]: About to bind cache
Sep 24 13:57:13 Zia cachefilesd[6213]: CacheFiles bind failed: errno 2 (No such file or directory)
Sep 24 13:57:13 Zia kernel: CacheFiles: Security denies permission to nominate security context: error -2
Sep 24 13:57:13 Zia cachefilesd[6208]: Starting FilesCache daemon : cachefilesd failed!
Sep 24 13:57:13 Zia systemd[1]: cachefilesd.service: Control process exited, code=exited status=1
Sep 24 13:57:13 Zia systemd[1]: cachefilesd.service: Failed with result 'exit-code'.
Sep 24 13:57:13 Zia systemd[1]: Failed to start LSB: CacheFiles daemon.
Rebooting with apparmor=0 on the kernel command line makes it work
again.
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (200, 'unstable'), (150, 'stable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cachefilesd depends on:
ii libc6 2.27-6
cachefilesd recommends no packages.
cachefilesd suggests no packages.
-- Configuration Files:
/etc/cachefilesd.conf changed [not included]
/etc/default/cachefilesd changed [not included]
/etc/init.d/cachefilesd changed [not included]
/etc/logcheck/ignore.d.workstation/cachefilesd [Errno 13] Permission denied: '/etc/logcheck/ignore.d.workstation/cachefilesd'
-- no debconf information
More information about the pkg-apparmor-team
mailing list