sssd/ntpd/postfix + overlayfs startup failure: Could not open file [/var/log/sssd/sssd.log]. Error: [13][Permission denied]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
If an attempt is made to mount an overlay filesystem over the /var/log directory, this causes sssd to refuse to start up.
The startup fails at the point where sssd attempts to write to its logfiles:
sssd: Could not open file [/var/log/
sssd is running as root, and should have no problem writing to logfiles. Removing the -f option from sssd causes sshd to not attempt to write to /var/log/
Running sssd without any flags logs to syslog, and this works correctly, logging to /var/log/syslog on the overlayfs filesystem.
Removing the file /etc/apparmor.
Looks like the apparmour configration for sssd breaks when an overlayfs is present.
Hello and thank you for filing this bug report! This does seem like a real issue. Just to confirm, has sssd ever worked with overlays?