boot.apparmor - failed to load..failed
This document (7018745) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
Situation
boot.apparmor[562]: mkstemp: No such file or directory boot.apparmor[562]: /etc/apparmor.d/sbin.klogd failed to load..failedThis is seen on systems with /var on a separate partition.
boot.apparmor[562]: mkstemp: No such file or directory
boot.apparmor[562]: /etc/apparmor.d/sbin.syslog-ng failed to load..failed
Resolution
Instead to symlink to /var/cache/apparmor /var/lib/apparmor/cache is used now and apparmor.service includes an "After=var-lib.mount var.mount" unit.
Cause
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7018745
- Creation Date: 27-Mar-2017
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com